mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Just set ppolicy control in tool_bind()
This commit is contained in:
parent
ecd5089453
commit
dfd400df24
1 changed files with 0 additions and 11 deletions
|
|
@ -914,17 +914,6 @@ tool_server_controls( LDAP *ld, LDAPControl *extra_c, int count )
|
|||
i++;
|
||||
}
|
||||
|
||||
#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
|
||||
if ( ppolicy ) {
|
||||
c[i].ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST;
|
||||
c[i].ldctl_value.bv_val = NULL;
|
||||
c[i].ldctl_value.bv_len = 0;
|
||||
c[i].ldctl_iscritical = 0;
|
||||
ctrls[i] = &c[i];
|
||||
i++;
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( preread ) {
|
||||
char berbuf[LBER_ELEMENT_SIZEOF];
|
||||
BerElement *ber = (BerElement *)berbuf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue