diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-27 03:41:56 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-28 00:55:53 +0200 |
commit | d9cffc01be58184312a6a7b55bd523cf8daefa78 (patch) | |
tree | a7037d21510273479d752c9c7964264ac12524a1 /source3/smbd/smb2_sesssetup.c | |
parent | 6713f3d945f09a732e620641771d9ff403aca9ef (diff) | |
download | samba-d9cffc01be58184312a6a7b55bd523cf8daefa78.tar.gz samba-d9cffc01be58184312a6a7b55bd523cf8daefa78.tar.bz2 samba-d9cffc01be58184312a6a7b55bd523cf8daefa78.zip |
s3:auth use info3 in auth_serversupplied_info
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
-rw-r--r-- | source3/smbd/smb2_sesssetup.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |