From 9b044be82906b651a70085898809bac0e77d832a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 21 Apr 2009 12:10:11 +0200 Subject: libgpo: use shared access bits in gpo_sd_check_agp_object(). Guenther --- libgpo/gpo_sec.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libgpo') 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 -- cgit