s3-param: Move the options needed for running smbd in the AD DC to loadparm
commit6b94f5b765d76ffd798631c31c4251ff8ceee96a
authorAndrew Bartlett <abartlet@samba.org>
Thu, 1 Nov 2012 00:26:16 +0000 (1 11:26 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Nov 2012 10:27:33 +0000 (5 11:27 +0100)
tree3c784ccb1a97ce3f2a1629cef017d6d42ad1ab10
parent4d7ea03ec6a0e3b3db1a90b8e4dc2a26a459f06b
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
(cherry picked from commit 75c51d6561f6f39dd02fd942709039b871957f44)

The last 2 patches address bug #9355 - set mask values to 0777 and use
fileserver.conf.
file_server/file_server.c
source3/param/loadparm.c