diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-10 16:19:17 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-10 18:48:34 +0100 |
commit | 16b007c2232cc8432fa9e93409e16367d72b149e (patch) | |
tree | d153e075fecbc79bf255d1f30aa3662942c965aa /source3/auth | |
parent | 8d0e2415309ee15fbf509d44caf3e1df5b900620 (diff) | |
download | samba-16b007c2232cc8432fa9e93409e16367d72b149e.tar.gz samba-16b007c2232cc8432fa9e93409e16367d72b149e.tar.xz samba-16b007c2232cc8432fa9e93409e16367d72b149e.zip |
Quite some callers of sid_split_rid do not care about the rid
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/token_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c index 4f617c42014..4942740ed06 100644 --- a/source3/auth/token_util.c +++ b/source3/auth/token_util.c @@ -849,8 +849,6 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username, * correct info. AD might prohibit winbind looking up that * information. */ - uint32 dummy; - /* We must always assign the *uid. */ if (!sid_to_uid(&user_sid, uid)) { DEBUG(1, ("winbindd case, sid_to_uid for %s (%s) failed\n", @@ -868,7 +866,7 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username, } sid_copy(&group_sids[0], &user_sid); - sid_split_rid(&group_sids[0], &dummy); + sid_split_rid(&group_sids[0], NULL); sid_append_rid(&group_sids[0], DOMAIN_RID_USERS); if (!sid_to_gid(&group_sids[0], gid)) { |