From: Pierangelo Masarati Date: Fri, 13 May 2005 19:29:38 +0000 (+0000) Subject: fix ACL_PRIV_MASK for manage X-Git-Tag: OPENLDAP_AC_BP~638 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6868323e170ab5ac278363b01dff70b02bd7ce46;p=openldap fix ACL_PRIV_MASK for manage --- diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 474c446073..acae00f25f 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -1299,7 +1299,7 @@ typedef struct slap_access { #define ACL_PRIV_MANAGE ACL_ACCESS2PRIV( ACL_MANAGE ) /* NOTE: always use the highest level; current: 0x00ffUL */ -#define ACL_PRIV_MASK ((ACL_PRIV_MANAGE - 1) | ACL_QUALIFIER_MASK) +#define ACL_PRIV_MASK (ACL_PRIV_MANAGE | ACL_QUALIFIER_MASK) /* priv flags */ #define ACL_PRIV_LEVEL 0x1000UL