mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Fix prev commit
This commit is contained in:
parent
8f56be2ce8
commit
18db111c6b
1 changed files with 1 additions and 1 deletions
|
|
@ -1572,7 +1572,7 @@ ppolicy_modify( Operation *op, SlapReply *rs )
|
|||
*/
|
||||
assert( ml->sml_values != NULL );
|
||||
assert( !BER_BVISNULL( &ml->sml_values[ 0 ] ) );
|
||||
if ( !BER_BVISNULL( addmod || &ml->sml_values[ 1 ] ) ) {
|
||||
if ( addmod || !BER_BVISNULL( &ml->sml_values[ 1 ] ) ) {
|
||||
rs->sr_err = LDAP_CONSTRAINT_VIOLATION;
|
||||
rs->sr_text = "Password policy only allows one password value";
|
||||
goto return_results;
|
||||
|
|
|
|||
Loading…
Reference in a new issue