]> git.sur5r.net Git - openldap/commitdiff
fix ACL_PRIV_MASK for manage
authorPierangelo Masarati <ando@openldap.org>
Fri, 13 May 2005 19:29:38 +0000 (19:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 13 May 2005 19:29:38 +0000 (19:29 +0000)
servers/slapd/slap.h

index 474c446073b0fd97d842f71db8531f320a48e457..acae00f25f3ccf566a567fae7d37e054e6fc3e81 100644 (file)
@@ -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