From 99912c586fea3098174af48f94a0eabc3e04cc17 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 24 Aug 2002 06:29:06 +0000 Subject: [PATCH] Remove cruft --- clients/tools/ldapwhoami.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/clients/tools/ldapwhoami.c b/clients/tools/ldapwhoami.c index 1107a84342..3a894ceb4e 100644 --- a/clients/tools/ldapwhoami.c +++ b/clients/tools/ldapwhoami.c @@ -79,7 +79,6 @@ main( int argc, char *argv[] ) int debug = 0; int version = -1; int authmethod = -1; - int manageDSAit = 0; #ifdef HAVE_CYRUS_SASL unsigned sasl_flags = LDAP_SASL_AUTOMATIC; char *sasl_realm = NULL; @@ -205,16 +204,6 @@ main( int argc, char *argv[] ) return( EXIT_FAILURE ); #endif 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 */ ++not; break; -- 2.39.5