summaryrefslogtreecommitdiff
path: root/source4/lib/policy
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-18 10:58:10 +1000
committerAndrew Tridgell <tridge@samba.org>2010-10-14 02:35:05 +0000
commit353d9bc3e42bc051119c205ac981fc819c6877b4 (patch)
tree6bcaf5daf50383e1b5f97c2575ee4ad917afbcdf /source4/lib/policy
parent058daa1cf5742fc95fc15141bbd5fad96d02dee6 (diff)
downloadsamba-353d9bc3e42bc051119c205ac981fc819c6877b4.tar.gz
samba-353d9bc3e42bc051119c205ac981fc819c6877b4.tar.bz2
samba-353d9bc3e42bc051119c205ac981fc819c6877b4.zip
s4-acl Merge sec_access_check() with se_access_check() from source3/
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/lib/policy')
-rw-r--r--source4/lib/policy/gp_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/policy/gp_ldap.c b/source4/lib/policy/gp_ldap.c
index bbb2eec4e9..271188353c 100644
--- a/source4/lib/policy/gp_ldap.c
+++ b/source4/lib/policy/gp_ldap.c
@@ -540,7 +540,7 @@ NTSTATUS gp_list_gpos(struct gp_context *gp_ctx, struct security_token *token, c
/* If the account does not have read access, this GPO does not apply
* to this account */
- status = sec_access_check(gpo->security_descriptor,
+ status = se_access_check(gpo->security_descriptor,
token,
(SEC_STD_READ_CONTROL | SEC_ADS_LIST | SEC_ADS_READ_PROP),
&access_granted);