summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-10-20 17:51:13 -0700
committerJeremy Allison <jra@samba.org>2010-10-21 01:35:00 +0000
commit94dc63056a83168c605f14a8ce47b9b75a96fa2f (patch)
treee87ec94f0b64cac0f295b1fa0044a9da9dba005b /libcli/security
parente00c2b3cdf6faa03b6ffcf87dc677fdbdd381fe3 (diff)
downloadsamba-94dc63056a83168c605f14a8ce47b9b75a96fa2f.tar.gz
samba-94dc63056a83168c605f14a8ce47b9b75a96fa2f.tar.bz2
samba-94dc63056a83168c605f14a8ce47b9b75a96fa2f.zip
Now we have SeSystemSecurity, remove the source3-only #ifdef.
Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 21 01:35:00 UTC 2010 on sn-devel-104
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/access_check.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcli/security/access_check.c b/libcli/security/access_check.c
index a00e42b520..b0d4f4a1a7 100644
--- a/libcli/security/access_check.c
+++ b/libcli/security/access_check.c
@@ -179,7 +179,6 @@ NTSTATUS se_access_check(const struct security_descriptor *sd,
bits_remaining));
}
-#if (_SAMBA_BUILD_ >= 4)
/* s3 had this with #if 0 previously. To be sure the merge
doesn't change any behaviour, we have the above #if check
on _SAMBA_BUILD_. */
@@ -190,7 +189,6 @@ NTSTATUS se_access_check(const struct security_descriptor *sd,
return NT_STATUS_PRIVILEGE_NOT_HELD;
}
}
-#endif
/* a NULL dacl allows access */
if ((sd->type & SEC_DESC_DACL_PRESENT) && sd->dacl == NULL) {