s3: Make run_rpc_command take strings instead of a ndr_interface_table
[sfrench/samba-autobuild/.git] / libgpo / gpo_sec.c
index 5547f1e0cb9433191aed9af64567dc9276d1693d..f20746422ce07bc4c1762d82440b66fd40a405a2 100644 (file)
@@ -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