mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#9279 fix Netscape password_expired control
This commit is contained in:
parent
63d6f680ba
commit
8849d83f75
1 changed files with 1 additions and 1 deletions
|
|
@ -1773,7 +1773,7 @@ locked:
|
|||
}
|
||||
ctrl = create_passcontrol( op, warn, ngut, ppb->pErr );
|
||||
} else if ( pi->send_netscape_controls ) {
|
||||
if ( ppb->pErr != PP_noError || ngut > 0 ) {
|
||||
if ( ppb->pErr != PP_noError || pwExpired ) {
|
||||
ctrl = create_passexpiry( op, 1, 0 );
|
||||
} else if ( warn > 0 ) {
|
||||
ctrl = create_passexpiry( op, 0, warn );
|
||||
|
|
|
|||
Loading…
Reference in a new issue