[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Sun Aug 12 15:41:02 MDT 2012


The branch, master has been updated
       via  f7403d8 s3: skip loading vfs modules for printer connections
      from  4631723 s4-dsdb: Take more care in handling of global schema memory

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


- Log -----------------------------------------------------------------
commit f7403d838f37f1d06a23d7ca573ebf6b0d692421
Author: Björn Jacke <bj at sernet.de>
Date:   Sun Aug 12 15:51:30 2012 +0200

    s3: skip loading vfs modules for printer connections
    
    Autobuild-User(master): Björn Jacke <bj at sernet.de>
    Autobuild-Date(master): Sun Aug 12 23:40:23 CEST 2012 on sn-devel-104

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

Summary of changes:
 source3/smbd/vfs.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 474e476..1438f68 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -328,6 +328,12 @@ bool smbd_vfs_init(connection_struct *conn)
 
 	/* Normal share - initialise with disk access functions */
 	vfs_init_default(conn);
+
+	/* No need to load vfs modules for printer connections */
+	if (conn->printer) {
+		return True;
+	}
+
 	vfs_objects = lp_vfs_objects(SNUM(conn));
 
 	/* Override VFS functions if 'vfs object' was not specified*/


-- 
Samba Shared Repository


More information about the samba-cvs mailing list