[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri May 25 14:01:03 UTC 2018


The branch, master has been updated
       via  33d1ac8 smbd: Call smbXsrv_client_global_init in the parent smbd
       via  ae196c5 vfs_time_audit: Fix a log message
      from  e9b638c autobuild: cover the Gentoo case with python disabled all down the stack

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 33d1ac8546e54a3f1eb30ed9ee0ac8f405ecc80e
Author: Volker Lendecke <vl at samba.org>
Date:   Thu May 24 11:37:43 2018 +0200

    smbd: Call smbXsrv_client_global_init in the parent smbd
    
    Otherwise we're missing the clear-if-first optimization for
    smbXsrv_client_global.tdb.
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Fri May 25 16:00:08 CEST 2018 on sn-devel-144

commit ae196c5063c9b55fd5991da585fb01b5a95d96ed
Author: Volker Lendecke <vl at samba.org>
Date:   Tue May 22 10:57:47 2018 +0200

    vfs_time_audit: Fix a log message
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 source3/modules/vfs_time_audit.c | 2 +-
 source3/smbd/server.c            | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c
index 084c209..92ebcd8 100644
--- a/source3/modules/vfs_time_audit.c
+++ b/source3/modules/vfs_time_audit.c
@@ -300,7 +300,7 @@ static NTSTATUS smb_time_audit_get_dfs_referrals(
 	timediff = nsec_time_diff(&ts2,&ts1)*1.0e-9;
 
 	if (timediff > audit_timeout) {
-		smb_time_audit_log("get_dfs_referrals(", timediff);
+		smb_time_audit_log("get_dfs_referrals", timediff);
 	}
 
 	return result;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 07d7136..b73ac2b 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1940,6 +1940,11 @@ extern void build_options(bool screen);
 		exit_daemon("Samba cannot init server context", EACCES);
 	}
 
+	status = smbXsrv_client_global_init();
+	if (!NT_STATUS_IS_OK(status)) {
+		exit_daemon("Samba cannot init clients context", EACCES);
+	}
+
 	status = smbXsrv_session_global_init(msg_ctx);
 	if (!NT_STATUS_IS_OK(status)) {
 		exit_daemon("Samba cannot init session context", EACCES);


-- 
Samba Shared Repository



More information about the samba-cvs mailing list