mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
cannot ignore old password when setting sasl password
This commit is contained in:
parent
68ae7408dc
commit
741029dc87
1 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue