version 1.41, 2005/01/25 15:11:26
|
version 1.42, 2005/01/27 22:56:48
|
Line 1
|
Line 1
|
/* common.c - common routines for the ldap client tools */ |
/* common.c - common routines for the ldap client tools */ |
/* $OpenLDAP: pkg/ldap/clients/tools/common.c,v 1.40 2005/01/01 19:49:38 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/clients/tools/common.c,v 1.41 2005/01/25 15:11:26 ando Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2005 The OpenLDAP Foundation. |
* Copyright 1998-2005 The OpenLDAP Foundation. |
Line 114 N_(" [!]noop\n")
|
Line 114 N_(" [!]noop\n")
|
N_(" ppolicy\n") |
N_(" ppolicy\n") |
#endif |
#endif |
#ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR |
#ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR |
N_(" [!]chaining[=<resolveBehavior>[,<continuationBehavior>]]\n") |
N_(" [!]chaining[=<resolveBehavior>[/<continuationBehavior>]]\n") |
N_(" one of \"chainingPreferred\", \"chainingRequired\",\n") |
N_(" one of \"chainingPreferred\", \"chainingRequired\",\n") |
N_(" \"referralsPreferred\", \"referralsRequired\"\n") |
N_(" \"referralsPreferred\", \"referralsRequired\"\n") |
#endif /* LDAP_CONTROL_X_CHAINING_BEHAVIOR */ |
#endif /* LDAP_CONTROL_X_CHAINING_BEHAVIOR */ |
Line 304 tool_args( int argc, char **argv )
|
Line 304 tool_args( int argc, char **argv )
|
if ( cvalue != NULL ) { |
if ( cvalue != NULL ) { |
char *continuation; |
char *continuation; |
|
|
continuation = strchr( cvalue, ',' ); |
continuation = strchr( cvalue, '/' ); |
if ( continuation ) { |
if ( continuation ) { |
/* FIXME: this makes sense only in searches */ |
/* FIXME: this makes sense only in searches */ |
*continuation++ = '\0'; |
*continuation++ = '\0'; |