From 478ae2346e6f6a1e2e67413d360e11e8d346388f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 22 Apr 2006 00:23:44 +0000 Subject: [PATCH] PPOLICY_ERROR is primitive, not constructed --- libraries/libldap/ppolicy.c | 2 +- servers/slapd/overlays/ppolicy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/ppolicy.c b/libraries/libldap/ppolicy.c index 0de4e20abc..2551fb5876 100644 --- a/libraries/libldap/ppolicy.c +++ b/libraries/libldap/ppolicy.c @@ -33,7 +33,7 @@ /* IMPLICIT TAGS, all context-specific */ #define PPOLICY_WARNING 0xa0L /* constructed + 0 */ -#define PPOLICY_ERROR 0xa1L /* constructed + 1 */ +#define PPOLICY_ERROR 0x81L /* primitive + 1 */ #define PPOLICY_EXPIRE 0x80L /* primitive + 0 */ #define PPOLICY_GRACE 0x81L /* primitive + 1 */ diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 57dfbe13c8..958348e939 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -261,7 +261,7 @@ account_locked( Operation *op, Entry *e, /* IMPLICIT TAGS, all context-specific */ #define PPOLICY_WARNING 0xa0L /* constructed + 0 */ -#define PPOLICY_ERROR 0xa1L /* constructed + 1 */ +#define PPOLICY_ERROR 0x81L /* primitive + 1 */ #define PPOLICY_EXPIRE 0x80L /* primitive + 0 */ #define PPOLICY_GRACE 0x81L /* primitive + 1 */ -- 2.39.5