mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
This commit is contained in:
parent
1dc6c053c1
commit
75325beefe
1 changed files with 4 additions and 1 deletions
|
|
@ -1937,9 +1937,10 @@ ldap_passwd_s LDAP_P((
|
|||
LDAPControl **sctrls,
|
||||
LDAPControl **cctrls ));
|
||||
|
||||
#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
|
||||
/*
|
||||
* LDAP Password Policy controls
|
||||
* in ppcontrol.c
|
||||
* in ppolicy.c
|
||||
*/
|
||||
#define LDAP_API_FEATURE_PASSWORD_POLICY 1000
|
||||
|
||||
|
|
@ -1972,5 +1973,7 @@ ldap_parse_passwordpolicy_control LDAP_P((
|
|||
LDAP_F( const char * )
|
||||
ldap_passwordpolicy_err2txt LDAP_P(( LDAPPasswordPolicyError ));
|
||||
|
||||
#endif /* LDAP_CONTROL_PASSWORDPOLICYREQUEST */
|
||||
|
||||
LDAP_END_DECL
|
||||
#endif /* _LDAP_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue