]> git.sur5r.net Git - openldap/commitdiff
Allow all common controls (namely for ppolicy)
authorKurt Zeilenga <kurt@openldap.org>
Wed, 27 Oct 2010 01:00:47 +0000 (01:00 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 27 Oct 2010 01:00:47 +0000 (01:00 +0000)
clients/tools/ldappasswd.c

index d526d7677b5c3725ccc0fd526a0ace01a6ebde72..2d539ad6213fc1c63f708b8cf3cb71f76eb7327d 100644 (file)
@@ -249,10 +249,6 @@ main( int argc, char *argv[] )
 
        tool_bind( ld );
 
-       if ( assertion || authzid || manageDSAit || noop ) {
-               tool_server_controls( ld, NULL, 0 );
-       }
-
        if( user != NULL || oldpw.bv_val != NULL || newpw.bv_val != NULL ) {
                /* build the password modify request data */
                ber = ber_alloc_t( LBER_USE_DER );