summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-06 15:46:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:52 -0500
commit83e4ea7e852e4ae9a4ba6fd187787c76f2d54ef6 (patch)
treea2feec8ce24102dcd1d553016be77ab6b382c5dc /source3
parent18250bc299b824ce1b0e53e0a99432d4d1412eeb (diff)
downloadsamba-83e4ea7e852e4ae9a4ba6fd187787c76f2d54ef6.tar.gz
samba-83e4ea7e852e4ae9a4ba6fd187787c76f2d54ef6.tar.bz2
samba-83e4ea7e852e4ae9a4ba6fd187787c76f2d54ef6.zip
r15472: Remove an unused function parameter
(This used to be commit d2f39ae7fe79fd31846c555849655023a2d1cbc7)
Diffstat (limited to 'source3')
-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",