summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-21 12:10:11 +0200
committerGünther Deschner <gd@samba.org>2009-04-21 12:11:15 +0200
commit9b044be82906b651a70085898809bac0e77d832a (patch)
tree6123533a7936355b3e5d3e2b9596897acb9530cd /libgpo
parent922f836b82543f3c5537109363ac92e20425d65e (diff)
downloadsamba-9b044be82906b651a70085898809bac0e77d832a.tar.gz
samba-9b044be82906b651a70085898809bac0e77d832a.tar.bz2
samba-9b044be82906b651a70085898809bac0e77d832a.zip
libgpo: use shared access bits in gpo_sd_check_agp_object().
Guenther
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/gpo_sec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgpo/gpo_sec.c b/libgpo/gpo_sec.c
index 5547f1e0cb..f20746422c 100644
--- a/libgpo/gpo_sec.c
+++ b/libgpo/gpo_sec.c
@@ -80,11 +80,7 @@ static bool gpo_sd_check_agp_object(const struct security_ace *ace)
static bool gpo_sd_check_agp_access_bits(uint32_t access_mask)
{
-#if _SAMBA_BUILD_ == 4
return (access_mask & SEC_ADS_CONTROL_ACCESS);
-#else
- return (access_mask & SEC_RIGHTS_EXTENDED);
-#endif
}
#if 0