s3-param: Move the options needed for running smbd in the AD DC to loadparm
authorAndrew Bartlett <abartlet@samba.org>
Thu, 1 Nov 2012 00:26:16 +0000 (11:26 +1100)
committerMichael Adam <obnox@samba.org>
Thu, 1 Nov 2012 10:47:22 +0000 (11:47 +0100)
commit75c51d6561f6f39dd02fd942709039b871957f44
tree54c9dea9034e5a0a2ae0f8f7b046c5c30714ca33
parentfc5caffbc139d63cab1ec105884863f73772586f
s3-param: Move the options needed for running smbd in the AD DC to loadparm

This avoids the whole fileserver.conf thing, and simply handles everything in C.

The main challenge is that if s3fs is enabled in a member server
configuration (unlikely) then these options will not be set, and it
overrides any other attempt to set these as globals.  (The previous
approach essentially just changed defaults, because the include =
of smb.conf was after the values were set in fileserver.conf).

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Nov  1 11:47:22 CET 2012 on sn-devel-104
file_server/file_server.c
source3/param/loadparm.c