mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cannot ignore old password when setting sasl password
This commit is contained in:
parent
68ae7408dc
commit
741029dc87
@ -109,6 +109,12 @@ int passwd_extop(
|
||||
}
|
||||
|
||||
if( op->o_bd == NULL ) {
|
||||
if ( qpw->rs_old.bv_val != NULL ) {
|
||||
rs->sr_text = "unwilling to verify old password";
|
||||
rc = LDAP_UNWILLING_TO_PERFORM;
|
||||
goto error_return;
|
||||
}
|
||||
|
||||
#ifdef HAVE_CYRUS_SASL
|
||||
rc = slap_sasl_setpass( op, rs );
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user