summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_domain.c1
-rw-r--r--source3/auth/auth_util.c1
-rw-r--r--source3/auth/auth_winbind.c1
-rw-r--r--source3/smbd/sesssetup.c2
4 files changed, 1 insertions, 4 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index c91cbf7af1..9360d28fac 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -251,7 +251,6 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
}
} else {
nt_status = make_server_info_info3(mem_ctx,
- user_info->internal_username,
user_info->smb_name,
domain,
server_info,
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index c6d7b44d4e..8822d3358c 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1496,7 +1496,6 @@ struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, char *domuser,
***************************************************************************/
NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
- const char *internal_username,
const char *sent_nt_username,
const char *domain,
auth_serversupplied_info **server_info,
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 4836d62ef9..2c584f54c2 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -128,7 +128,6 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
if (NT_STATUS_IS_OK(nt_status)) {
if (NT_STATUS_IS_OK(nt_status = get_info3_from_ndr(mem_ctx, &response, &info3))) {
nt_status = make_server_info_info3(mem_ctx,
- user_info->internal_username,
user_info->smb_name, user_info->domain,
server_info, &info3);
}
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 295d3875e4..b13042074a 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -322,7 +322,7 @@ static int reply_spnego_kerberos(connection_struct *conn,
if ( map_domainuser_to_guest ) {
make_server_info_guest(&server_info);
} else if (logon_info) {
- ret = make_server_info_info3(mem_ctx, real_username, real_username, domain,
+ ret = make_server_info_info3(mem_ctx, real_username, domain,
&server_info, &logon_info->info3);
if ( !NT_STATUS_IS_OK(ret) ) {
DEBUG(1,("make_server_info_info3 failed: %s!\n",