dsdb-acl: Pass the structural objectClass into acl_check_access_on_attribute
authorAndrew Bartlett <abartlet@samba.org>
Wed, 2 Jan 2013 04:01:00 +0000 (15:01 +1100)
committerStefan Metzmacher <metze@samba.org>
Mon, 21 Jan 2013 15:12:45 +0000 (16:12 +0100)
commite8cc59eb781006c6193249128a1ffc4bcba8f28a
tree19fe37d014192be8ca3bc8ce45892434384d286a
parent93944ea90069df5379993f5c186ffd68e166f1c4
dsdb-acl: Pass the structural objectClass into acl_check_access_on_attribute

This will, when the GUID is entered into the object tree (not in this
commit) ensure that access rights assigned to the structural
objectClass are also available, as well as rights assigned to the
attribute property groups.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/acl.c
source4/dsdb/samdb/ldb_modules/acl_read.c
source4/dsdb/samdb/ldb_modules/acl_util.c