diff options
author | Jeremy Allison <jra@samba.org> | 2009-05-18 14:26:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-05-18 14:26:37 -0700 |
commit | ada1af41ea6a62ee89d43ffe5fa3ff415ea1129b (patch) | |
tree | 870c42a3b7487ccd14dd4857baf3a0f10dce3b9e /source3/rpc_server | |
parent | 6ab0c83570b2e60e0cd3bd5f5bfb1923fd359994 (diff) | |
download | samba-ada1af41ea6a62ee89d43ffe5fa3ff415ea1129b.tar.gz samba-ada1af41ea6a62ee89d43ffe5fa3ff415ea1129b.tar.bz2 samba-ada1af41ea6a62ee89d43ffe5fa3ff415ea1129b.zip |
Fix SAMR server for winbindd access. Ensure we allow
MAX_ACCESS to be mapped to what we're giving Everyone.
Jeremy.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index dabdc964c5..09b97b2b39 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -243,8 +243,8 @@ static void map_max_allowed_access(const NT_USER_TOKEN *token, } *pacc_requested &= ~MAXIMUM_ALLOWED_ACCESS; - /* At least try for generic read. */ - *pacc_requested = GENERIC_READ_ACCESS; + /* At least try for generic read|execute - Everyone gets that. */ + *pacc_requested = GENERIC_READ_ACCESS|GENERIC_EXECUTE_ACCESS; /* root gets anything. */ if (geteuid() == sec_initial_uid()) { |