summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-16 12:54:12 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-16 08:18:10 +0200
commit39766b75a40fbab73fc23dd947de44f8349ed466 (patch)
tree7d655aa7731e3897673245dc3b3e6f8cfb551c57 /source4/scripting/python
parentb58dc1826e69c61a30d38b05e7f451404670baef (diff)
downloadsamba-39766b75a40fbab73fc23dd947de44f8349ed466.tar.gz
samba-39766b75a40fbab73fc23dd947de44f8349ed466.tar.bz2
samba-39766b75a40fbab73fc23dd947de44f8349ed466.zip
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
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/provision/__init__.py8
1 files changed, 4 insertions, 4 deletions
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