]> git.sur5r.net Git - openldap/commitdiff
Remove cruft
authorKurt Zeilenga <kurt@openldap.org>
Sat, 24 Aug 2002 06:29:06 +0000 (06:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 24 Aug 2002 06:29:06 +0000 (06:29 +0000)
clients/tools/ldapwhoami.c

index 1107a8434277af0e28bc96d3d75ee1723fdeb24b..3a894ceb4ee81f1e980c85e0f3ff14440ed11673 100644 (file)
@@ -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;