From 39766b75a40fbab73fc23dd947de44f8349ed466 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 16 Jun 2012 12:54:12 +1000 Subject: s4-lib/param: FLAG DAY for the default FILE SERVER This commit changes the default file server to be s3fs. Existing installs wishing to keep the ntvfs file server need to set this in their smb.conf: server services = +smb -s3fs dcerpc endpoint services = +winreg +srvsvc Andrew Bartlett --- source4/scripting/python/samba/provision/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index 26d20d97b6..0ec072c392 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -1658,10 +1658,10 @@ def provision(logger, session_info, credentials, smbconf=None, if dns_backend == "SAMBA_INTERNAL": server_services.append("+dns") - if not use_ntvfs: - server_services.append("-smb") - server_services.append("+s3fs") - global_param["dcerpc endpoint servers"] = ["-winreg", "-srvsvc"] + if use_ntvfs: + server_services.append("+smb") + server_services.append("-s3fs") + global_param["dcerpc endpoint servers"] = ["+winreg", "+srvsvc"] if len(server_services) > 0: global_param["server services"] = server_services -- cgit