s4-provision: set 'dcerpc endpoint servers' but not 'vfs objects'
authorAndrew Bartlett <abartlet@samba.org>
Tue, 1 May 2012 23:38:39 +0000 (09:38 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 May 2012 00:53:50 +0000 (10:53 +1000)
The VFS objects are now set in the fileserver.conf, but this is only read by smbd, so
the provision-time smb.conf needs to turn off the extra Samba4 DCE/RPC services.

Andrew Bartlett

source4/scripting/python/samba/provision/__init__.py

index 04cafa9c97665a30fe16d45019e980fd4730165f..db202eff4798f56721c4ba5327940d4267a30db7 100644 (file)
@@ -1654,7 +1654,7 @@ def provision(logger, session_info, credentials, smbconf=None,
     if not use_ntvfs:
         server_services.append("-smb")
         server_services.append("+s3fs")
-        global_param["vfs objects"] = ["acl_xattr"]
+        global_param["dcerpc endpoint servers"] = ["-winreg", "-srvsvc"]
 
     if len(server_services) > 0:
         global_param["server services"] = server_services