]> git.sur5r.net Git - openldap/commitdiff
fix confused comment
authorKurt Zeilenga <kurt@openldap.org>
Thu, 17 Aug 2006 00:26:25 +0000 (00:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 17 Aug 2006 00:26:25 +0000 (00:26 +0000)
clients/tools/common.c
clients/tools/ldappasswd.c

index cb0135e909d46195837253435b7c74e38b7df924..271a1338693b6b45f55619290bdfbcd1c273734f 100644 (file)
@@ -1079,8 +1079,7 @@ tool_bind( LDAP *ld )
                {
                        /* simple bind */
                        rc = ldap_sasl_bind( ld, binddn, LDAP_SASL_SIMPLE, &passwd,
-                               sctrlsp,
-                               NULL, &msgid );
+                               sctrlsp, NULL, &msgid );
                        if ( msgid == -1 ) {
                                tool_perror( "ldap_sasl_bind(SIMPLE)", rc,
                                        NULL, NULL, NULL, NULL );
index 4390caaba264cd729d56af36bd0a27910885b775..b8ce5e899a6862e58097077686ff8f86ca857132 100644 (file)
@@ -265,7 +265,7 @@ main( int argc, char *argv[] )
        }
 
        if( user != NULL || oldpw.bv_val != NULL || newpw.bv_val != NULL ) {
-               /* build change password control */
+               /* build the password modify request data */
                ber = ber_alloc_t( LBER_USE_DER );
 
                if( ber == NULL ) {