summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
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