summaryrefslogtreecommitdiff
path: root/file_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-22 21:01:16 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-23 15:02:26 +0200
commit8c71dc3505ab83ce95ab40a56f77313c4448be16 (patch)
tree2b05134a58d1f78afde52fdc81a95c69b5691135 /file_server
parent332efe1539d83c0971f151f902f234e5a8bf0690 (diff)
downloadsamba-8c71dc3505ab83ce95ab40a56f77313c4448be16.tar.gz
samba-8c71dc3505ab83ce95ab40a56f77313c4448be16.tar.bz2
samba-8c71dc3505ab83ce95ab40a56f77313c4448be16.zip
param: Add startup checks for valid server role/binary combinations
This should eliminate confusion from our users about what they can expect to successfully run. Andrew Bartlett
Diffstat (limited to 'file_server')
-rw-r--r--file_server/file_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file_server/file_server.c b/file_server/file_server.c
index 448894ecbd..b6f73824f6 100644
--- a/file_server/file_server.c
+++ b/file_server/file_server.c
@@ -50,6 +50,7 @@ static const char *generate_smb_conf(struct task_server *task)
fdprintf(fd, "[globals]\n");
fdprintf(fd, "# auto-generated config for fileserver\n");
+ fdprintf(fd, "server role check:inhibit=yes\n");
fdprintf(fd, "passdb backend = samba4\n");
fdprintf(fd, "rpc_server:default = external\n");
fdprintf(fd, "rpc_server:svcctl = embedded\n");