summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-06 17:26:49 +0200
committerVolker Lendecke <vl@samba.org>2008-05-10 11:16:59 +0200
commit0283e95a7c20bb0aeedbdd0b657a1293e449a62d (patch)
tree2f0a49b6fb4810796da4142ce782895a74ef239b /source3/smbd
parent505205b1cba38eed14d6a2d4b9c80a82b5ae8b1f (diff)
downloadsamba-0283e95a7c20bb0aeedbdd0b657a1293e449a62d.tar.gz
samba-0283e95a7c20bb0aeedbdd0b657a1293e449a62d.tar.bz2
samba-0283e95a7c20bb0aeedbdd0b657a1293e449a62d.zip
Add a mem_ctx argument to make_server_info_guest()
(This used to be commit e4a9492967f3d2b64f27943f99414608e0c03d21)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 9076949a81..0f0a0d5f31 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -45,7 +45,7 @@ static NTSTATUS do_map_to_guest(NTSTATUS status,
(lp_map_to_guest() == MAP_TO_GUEST_ON_BAD_PASSWORD)) {
DEBUG(3,("No such user %s [%s] - using guest account\n",
user, domain));
- status = make_server_info_guest(server_info);
+ status = make_server_info_guest(NULL, server_info);
}
}
@@ -53,7 +53,7 @@ static NTSTATUS do_map_to_guest(NTSTATUS status,
if (lp_map_to_guest() == MAP_TO_GUEST_ON_BAD_PASSWORD) {
DEBUG(3,("Registered username %s for guest access\n",
user));
- status = make_server_info_guest(server_info);
+ status = make_server_info_guest(NULL, server_info);
}
}
@@ -488,7 +488,7 @@ static void reply_spnego_kerberos(struct smb_request *req,
reload_services(True);
if ( map_domainuser_to_guest ) {
- make_server_info_guest(&server_info);
+ make_server_info_guest(NULL, &server_info);
} else if (logon_info) {
/* pass the unmapped username here since map_username()
will be called again from inside make_server_info_info3() */