mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-19 14:30:57 +08:00
Remove -P 3 option.
This commit is contained in:
parent
03167506bc
commit
620c1c40fe
@ -343,7 +343,6 @@ usage (char *s)
|
||||
#endif
|
||||
fprintf (stderr, " -l time\ttime limit\n");
|
||||
fprintf (stderr, " -n\t\tmake no modifications\n");
|
||||
fprintf (stderr, " -P version\tprotocol version (2 or 3)\n");
|
||||
fprintf (stderr, " -p port\tldap port\n");
|
||||
fprintf (stderr, " -s scope\tsearch scope: base, one, sub (default: sub)\n");
|
||||
fprintf (stderr, " -t targetdn\tdn to change password\n");
|
||||
@ -375,7 +374,6 @@ main (int argc, char *argv[])
|
||||
int scope = LDAP_SCOPE_SUBTREE;
|
||||
int sizelimit = -1;
|
||||
int timelimit = -1;
|
||||
int version = -1;
|
||||
int want_bindpw = 0;
|
||||
int want_newpw = 0;
|
||||
LDAP *ld;
|
||||
@ -468,18 +466,6 @@ main (int argc, char *argv[])
|
||||
noupdates++;
|
||||
break;
|
||||
|
||||
case 'P':
|
||||
switch(optarg[0])
|
||||
{
|
||||
case '2':
|
||||
version = LDAP_VERSION2;
|
||||
break;
|
||||
case '3':
|
||||
version = LDAP_VERSION3;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'p': /* ldap port */
|
||||
ldapport = strtol (optarg, NULL, 10);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user