瀏覽代碼

Ticket #47553 - Enhance ACIs to have more control over MODRDN operations

Description: Macro SLAPI_ACL_ALL does not contain SLAPI_ACL_MODDN.
Thus, even though all operations are allowed by "allow (all)", just
modrdn fails with "Insufficient access (50)".

https://fedorahosted.org/389/ticket/47553

Reviewed by [email protected] (Thank you, Thierry!!)
Noriko Hosoi 11 年之前
父節點
當前提交
4aafe7444d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldap/servers/slapd/slapi-plugin.h

+ 1 - 1
ldap/servers/slapd/slapi-plugin.h

@@ -237,12 +237,12 @@ NSPR_API(PRUint32) PR_fprintf(struct PRFileDesc* fd, const char *fmt, ...)
 #define SLAPI_ACL_ADD		0x20
 #define SLAPI_ACL_SELF		0x40
 #define SLAPI_ACL_PROXY		0x80
-#define SLAPI_ACL_ALL		0x7f
 /* Values 0x200 and 0x400 are booked (acl.h) by
  * ACLPB_SLAPI_ACL_WRITE_ADD
  * ACLPB_SLAPI_ACL_WRITE_DEL
  */
 #define SLAPI_ACL_MODDN         0x0800
+#define SLAPI_ACL_ALL           0x087f
         
 
 /*