mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
forgot one commit
This commit is contained in:
parent
ece1c226a1
commit
a90d052775
@ -1378,8 +1378,8 @@ tool_bind( LDAP *ld )
|
|||||||
int expire, grace, len = 0;
|
int expire, grace, len = 0;
|
||||||
LDAPPasswordPolicyError pErr = -1;
|
LDAPPasswordPolicyError pErr = -1;
|
||||||
|
|
||||||
ctrl = ldap_find_control( LDAP_CONTROL_PASSWORDPOLICYRESPONSE,
|
ctrl = ldap_control_find( LDAP_CONTROL_PASSWORDPOLICYRESPONSE,
|
||||||
ctrls );
|
ctrls, NULL );
|
||||||
|
|
||||||
if ( ctrl && ldap_parse_passwordpolicy_control( ld, ctrl,
|
if ( ctrl && ldap_parse_passwordpolicy_control( ld, ctrl,
|
||||||
&expire, &grace, &pErr ) == LDAP_SUCCESS )
|
&expire, &grace, &pErr ) == LDAP_SUCCESS )
|
||||||
|
Loading…
Reference in New Issue
Block a user