diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_access_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_access_check.c b/source3/rpc_server/srv_access_check.c index 878e38b1923..737c6d28521 100644 --- a/source3/rpc_server/srv_access_check.c +++ b/source3/rpc_server/srv_access_check.c @@ -134,7 +134,7 @@ void map_max_allowed_access(const struct security_token *nt_token, *pacc_requested &= ~MAXIMUM_ALLOWED_ACCESS; /* At least try for generic read|execute - Everyone gets that. */ - *pacc_requested = GENERIC_READ_ACCESS|GENERIC_EXECUTE_ACCESS; + *pacc_requested |= GENERIC_READ_ACCESS|GENERIC_EXECUTE_ACCESS; /* root gets anything. */ if (unix_token->uid == sec_initial_uid()) { |