From d9cffc01be58184312a6a7b55bd523cf8daefa78 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 27 May 2010 03:41:56 -0400 Subject: s3:auth use info3 in auth_serversupplied_info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/smbd/smb2_sesssetup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd/smb2_sesssetup.c') diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c index 92e77a5ff2..7ac003fad6 100644 --- a/source3/smbd/smb2_sesssetup.c +++ b/source3/smbd/smb2_sesssetup.c @@ -371,9 +371,9 @@ static NTSTATUS smbd_smb2_session_setup_krb5(struct smbd_smb2_session *session, * we end up with the local netbios name in substitutions for * %D. */ - if (session->server_info->sam_account != NULL) { - pdb_set_domain(session->server_info->sam_account, - domain, PDB_SET); + if (session->server_info->info3 != NULL) { + session->server_info->info3->base.domain.string = + talloc_strdup(session->server_info->info3, domain); } } @@ -979,7 +979,7 @@ NTSTATUS smbd_smb2_request_check_session(struct smbd_smb2_request *req) set_current_user_info(session->server_info->sanitized_username, session->server_info->unix_name, - pdb_get_domain(session->server_info->sam_account)); + session->server_info->info3->base.domain.string); req->session = session; -- cgit