diff options
author | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2009-12-15 12:02:20 +0200 |
---|---|---|
committer | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2009-12-15 12:02:20 +0200 |
commit | 4deaa84ce4a425bfba4b2612d79cc6fa1e00cca5 (patch) | |
tree | ee19276386889add1aeeba6547373853416d4018 /source4/dsdb/samdb | |
parent | ef5508bc7864dcd7128cf91017407efede7572d2 (diff) | |
download | samba-4deaa84ce4a425bfba4b2612d79cc6fa1e00cca5.tar.gz samba-4deaa84ce4a425bfba4b2612d79cc6fa1e00cca5.tar.bz2 samba-4deaa84ce4a425bfba4b2612d79cc6fa1e00cca5.zip |
Fixed a problem with duplicate values of allowedAttributesEffective.
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/acl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c index 45aa294667..dcd015b2a5 100644 --- a/source4/dsdb/samdb/ldb_modules/acl.c +++ b/source4/dsdb/samdb/ldb_modules/acl.c @@ -431,7 +431,9 @@ static int acl_allowedAttributes(struct ldb_module *module, return LDB_ERR_OPERATIONS_ERROR; } /* remove constructed attributes */ - if (attr->systemFlags & DS_FLAG_ATTR_IS_CONSTRUCTED) { + if (attr->systemFlags & DS_FLAG_ATTR_IS_CONSTRUCTED + || attr->systemOnly + || (attr->linkID != 0 && attr->linkID % 2 != 0 )) { continue; } ret = acl_check_access_on_attribute(module, |