]> git.sur5r.net Git - openldap/commitdiff
Allow all common controls (namely for ppolicy)
authorQuanah Gibson-Mount <quanah@openldap.org>
Sun, 12 Dec 2010 03:30:49 +0000 (03:30 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Sun, 12 Dec 2010 03:30:49 +0000 (03:30 +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 );