diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-21 18:05:48 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-21 18:05:48 -0700 |
commit | 4e9db0b1004aedf9eef69b9361ed6d9e69897a1e (patch) | |
tree | 9b6a40d9ca106e176b91a123f5892fe73a1d3bfc /source3/utils/net_rpc.c | |
parent | f36e51617c7bd316f3ef393532bbc169895d6a66 (diff) | |
download | samba-4e9db0b1004aedf9eef69b9361ed6d9e69897a1e.tar.gz samba-4e9db0b1004aedf9eef69b9361ed6d9e69897a1e.tar.bz2 samba-4e9db0b1004aedf9eef69b9361ed6d9e69897a1e.zip |
Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.
Jeremy.
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r-- | source3/utils/net_rpc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 5f5a21dfbb..94feeafa69 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -3956,17 +3956,6 @@ static void free_user_token(NT_USER_TOKEN *token) SAFE_FREE(token->user_sids); } -static bool is_sid_in_token(NT_USER_TOKEN *token, DOM_SID *sid) -{ - int i; - - for (i=0; i<token->num_sids; i++) { - if (sid_compare(sid, &token->user_sids[i]) == 0) - return true; - } - return false; -} - static void add_sid_to_token(NT_USER_TOKEN *token, DOM_SID *sid) { if (is_sid_in_token(token, sid)) |