mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Remove cruft
This commit is contained in:
parent
18e4362b07
commit
99912c586f
@ -79,7 +79,6 @@ main( int argc, char *argv[] )
|
|||||||
int debug = 0;
|
int debug = 0;
|
||||||
int version = -1;
|
int version = -1;
|
||||||
int authmethod = -1;
|
int authmethod = -1;
|
||||||
int manageDSAit = 0;
|
|
||||||
#ifdef HAVE_CYRUS_SASL
|
#ifdef HAVE_CYRUS_SASL
|
||||||
unsigned sasl_flags = LDAP_SASL_AUTOMATIC;
|
unsigned sasl_flags = LDAP_SASL_AUTOMATIC;
|
||||||
char *sasl_realm = NULL;
|
char *sasl_realm = NULL;
|
||||||
@ -205,16 +204,6 @@ main( int argc, char *argv[] )
|
|||||||
return( EXIT_FAILURE );
|
return( EXIT_FAILURE );
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 'M':
|
|
||||||
/* enable Manage DSA IT */
|
|
||||||
if( version == LDAP_VERSION2 ) {
|
|
||||||
fprintf( stderr, "%s: -M incompatible with LDAPv%d\n",
|
|
||||||
prog, version );
|
|
||||||
return EXIT_FAILURE;
|
|
||||||
}
|
|
||||||
manageDSAit++;
|
|
||||||
version = LDAP_VERSION3;
|
|
||||||
break;
|
|
||||||
case 'n': /* print deletes, don't actually do them */
|
case 'n': /* print deletes, don't actually do them */
|
||||||
++not;
|
++not;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user