mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 03:44:58 -05:00
fix confused comment
This commit is contained in:
parent
ccd1273cfe
commit
8e5699e60f
2 changed files with 2 additions and 3 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue