N_(" -C chase referrals (anonymously)\n"),
N_(" -d level set LDAP debugging level to `level'\n"),
N_(" -D binddn bind DN\n"),
-N_(" -e [!]<ctrl>[=<ctrlparam>] general controls (! indicates criticality)\n")
+N_(" -e [!]<ext>[=<extparam>] general extensions (! indicates criticality)\n")
N_(" [!]assert=<filter> (an RFC 2254 Filter)\n")
N_(" [!]authzid=<authzid> (\"dn:<dn>\" or \"u:<user>\")\n")
N_(" [!]manageDSAit\n")
}
binddn = ber_strdup( optarg );
break;
- case 'e': /* general controls */
+ case 'e': /* general extensions (controls and such) */
/* should be extended to support comma separated list of
* [!]key[=value] parameters, e.g. -e !foo,bar=567
*/
#if 0
char *control, *cvalue;
int crit;
- case 'E': /* compare controls */
+ case 'E': /* compare extensions */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
prog, protocol );
if ( (cvalue = strchr( control, '=' )) != NULL ) {
*cvalue++ = '\0';
}
- fprintf( stderr, _("Invalid compare control name: %s\n"), control );
+ fprintf( stderr, _("Invalid compare extension name: %s\n"), control );
usage();
#endif
#if 0
int crit;
char *control, *cvalue;
- case 'E': /* delete controls */
+ case 'E': /* delete extensions */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
prog, protocol );
if ( (cvalue = strchr( control, '=' )) != NULL ) {
*cvalue++ = '\0';
}
- fprintf( stderr, _("Invalid delete control name: %s\n"), control );
+ fprintf( stderr, _("Invalid delete extension name: %s\n"), control );
usage();
#endif
#if 0
char *control, *cvalue;
int crit;
- case 'E': /* modify controls */
+ case 'E': /* modify extensions */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
prog, protocol );
if ( (cvalue = strchr( control, '=' )) != NULL ) {
*cvalue++ = '\0';
}
- fprintf( stderr, _("Invalid modify control name: %s\n"), control );
+
+ fprintf( stderr, _("Invalid modify extension name: %s\n"), control );
usage();
#endif
#if 0
int crit;
char *control, *cvalue;
- case 'E': /* modrdn controls */
+ case 'E': /* modrdn extensions */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
prog, version );
if ( (cvalue = strchr( control, '=' )) != NULL ) {
*cvalue++ = '\0';
}
- fprintf( stderr, _("Invalid modrdn control name: %s\n"), control );
+ fprintf( stderr, _("Invalid modrdn extension name: %s\n"), control );
usage();
#endif
{
switch ( i ) {
#if 0
- case 'E': /* passwd controls */ {
+ case 'E': /* passwd extensions */ {
int crit;
char *control, *cvalue;
if( protocol == LDAP_VERSION2 ) {
if ( (cvalue = strchr( control, '=' )) != NULL ) {
*cvalue++ = '\0';
}
- fprintf( stderr, _("Invalid passwd control name: %s\n"), control );
+ fprintf( stderr, _("Invalid passwd extension name: %s\n"), control );
usage();
}
#endif
fprintf( stderr, _(" -a deref one of never (default), always, search, or find\n"));
fprintf( stderr, _(" -A retrieve attribute names only (no values)\n"));
fprintf( stderr, _(" -b basedn base dn for search\n"));
- fprintf( stderr, _(" -E [!]<ctrl>[=<ctrlparam>] search controls (! indicates criticality)\n"));
+ fprintf( stderr, _(" -E [!]<ctrl>[=<ctrlparam>] search extensions (! indicates criticality)\n"));
#ifdef LDAP_CONTROL_X_DOMAIN_SCOPE
fprintf( stderr, _(" [!]domainScope (domain scope)\n"));
#endif
case 'b': /* search base */
base = strdup( optarg );
break;
- case 'E': /* search controls */
+ case 'E': /* search extensions */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
prog, protocol );
if ( crit ) ldapsync *= -1;
} else {
- fprintf( stderr, _("Invalid control name: %s\n"), control );
+ fprintf( stderr, _("Invalid search extension name: %s\n"), control );
usage();
}
break;
#if 0
char *control, *cvalue;
int crit;
- case 'E': /* whoami controls */
+ case 'E': /* whoami extension */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
prog, protocol );
if ( (cvalue = strchr( control, '=' )) != NULL ) {
*cvalue++ = '\0';
}
- fprintf( stderr, _("Invalid whoami control name: %s\n"), control );
+
+ fprintf( stderr, _("Invalid whoami extension name: %s\n"), control );
usage();
#endif