mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Fix EXPIRE/GRACE tags in control value
This commit is contained in:
parent
4d894c7d24
commit
449188fb73
1 changed files with 5 additions and 4 deletions
|
|
@ -259,11 +259,12 @@ account_locked( Operation *op, Entry *e,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#define PPOLICY_WARNING 0xa0L
|
||||
#define PPOLICY_ERROR 0xa1L
|
||||
/* IMPLICIT TAGS, all context-specific */
|
||||
#define PPOLICY_WARNING 0xa0L /* constructed + 0 */
|
||||
#define PPOLICY_ERROR 0xa1L /* constructed + 1 */
|
||||
|
||||
#define PPOLICY_EXPIRE 0xa0L
|
||||
#define PPOLICY_GRACE 0xa1L
|
||||
#define PPOLICY_EXPIRE 0x80L /* primitive + 0 */
|
||||
#define PPOLICY_GRACE 0x81L /* primitive + 1 */
|
||||
|
||||
static LDAPControl *
|
||||
create_passcontrol( int exptime, int grace, LDAPPasswordPolicyError err )
|
||||
|
|
|
|||
Loading…
Reference in a new issue