[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Wed Jan 25 00:40:04 MST 2012
The branch, master has been updated
via da8e8e5 s3:smb2_sessetup: call set_current_user_info() and reload_services() on success
from 34e7d96 ldbedit: prevent a transaction warning on failure
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit da8e8e5fa5574eab635b9b7b7bb4ccd898889e85
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 25 05:22:38 2012 +0100
s3:smb2_sessetup: call set_current_user_info() and reload_services() on success
This matches the smb1 code.
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Jan 25 08:39:35 CET 2012 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/smb2_sesssetup.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index 0cd24c9..3163ac0 100644
--- a/source3/smbd/smb2_sesssetup.c
+++ b/source3/smbd/smb2_sesssetup.c
@@ -261,6 +261,12 @@ static NTSTATUS smbd_smb2_session_setup_krb5(struct smbd_smb2_session *session,
goto fail;
}
+ set_current_user_info(session->session_info->unix_info->sanitized_username,
+ session->session_info->unix_info->unix_name,
+ session->session_info->info->domain_name);
+
+ reload_services(smb2req->sconn, conn_snum_used, true);
+
session->status = NT_STATUS_OK;
/*
@@ -473,6 +479,11 @@ static NTSTATUS smbd_smb2_common_ntlmssp_auth_return(struct smbd_smb2_session *s
return NT_STATUS_LOGON_FAILURE;
}
+ set_current_user_info(session->session_info->unix_info->sanitized_username,
+ session->session_info->unix_info->unix_name,
+ session->session_info->info->domain_name);
+
+ reload_services(smb2req->sconn, conn_snum_used, true);
session->status = NT_STATUS_OK;
--
Samba Shared Repository
More information about the samba-cvs
mailing list