diff options
author | Andreas Schneider <asn@samba.org> | 2015-08-19 16:24:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-08-31 10:18:15 +0200 |
commit | f5c6c894ce2b88c0a4a38377d0ebd3a14ff0e213 (patch) | |
tree | 145efb3c08c2a5fc9e4b60193e52d6f7d70c1eae | |
parent | 3271b5b14033896bf0d750965236de72e5a8b6d6 (diff) | |
download | samba-f5c6c894ce2b88c0a4a38377d0ebd3a14ff0e213.tar.gz |
s3-auth: Pass nt_username to check_account()
We set nt_username above but do not use it in this function.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9862
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit e8c76932e4ac192a00afa3b9731f5921c4b37da6)
-rw-r--r-- | source3/auth/auth_util.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 593ecfb5bbe..fd498fadb33 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -1392,9 +1392,12 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx, /* this call will try to create the user if necessary */ - nt_status = check_account(mem_ctx, nt_domain, sent_nt_username, - &found_username, &pwd, - &username_was_mapped); + nt_status = check_account(mem_ctx, + nt_domain, + nt_username, + &found_username, + &pwd, + &username_was_mapped); if (!NT_STATUS_IS_OK(nt_status)) { /* Handle 'map to guest = Bad Uid */ |