summaryrefslogtreecommitdiff
path: root/file_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-17 12:56:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-03 08:13:01 +1000
commit603a9bcd2ec3e471db3fb500cdf4ca365add896b (patch)
treeba10f88775a907de5837810b7cfb343f1419b1fc /file_server
parent993e809b5afde135edb191e964edf83e578e6827 (diff)
downloadsamba-603a9bcd2ec3e471db3fb500cdf4ca365add896b.tar.gz
samba-603a9bcd2ec3e471db3fb500cdf4ca365add896b.tar.bz2
samba-603a9bcd2ec3e471db3fb500cdf4ca365add896b.zip
file_server: add [globals] to generated smb.conf
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 46969f3920..2b9e48a38b 100644
--- a/file_server/file_server.c
+++ b/file_server/file_server.c
@@ -48,6 +48,7 @@ static const char *generate_smb_conf(struct task_server *task)
return NULL;
}
+ fdprintf(fd, "[globals]\n");
fdprintf(fd, "# auto-generated config for fileserver\n");
fdprintf(fd, "passdb backend = samba4\n");
fdprintf(fd, "rpc_server:default = external\n");