git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922f836
)
libgpo: use shared access bits in gpo_sd_check_agp_object().
author
Günther Deschner
<gd@samba.org>
Tue, 21 Apr 2009 10:10:11 +0000
(12:10 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 21 Apr 2009 10:11:15 +0000
(12:11 +0200)
Guenther
libgpo/gpo_sec.c
patch
|
blob
|
history
diff --git
a/libgpo/gpo_sec.c
b/libgpo/gpo_sec.c
index 5547f1e0cb9433191aed9af64567dc9276d1693d..f20746422ce07bc4c1762d82440b66fd40a405a2 100644
(file)
--- 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