s3-param: Handle setting default AD DC per-share settings in init_locals()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Nov 2012 23:30:44 +0000 (10:30 +1100)
committerMichael Adam <obnox@samba.org>
Fri, 16 Nov 2012 00:52:28 +0000 (01:52 +0100)
commit3fc2c03ea3dcc36778e92115a0dbca42531bd4dd
treebd9ca5b2f3a22887188423a6ef7f9adad5877000
parentace0909b88739338e948b9c1e98307f324bb7503
s3-param: Handle setting default AD DC per-share settings in init_locals()

This function is helpfully called between when we finish processing
the globals and when we start processing the individual shares.  This
means that the "vfs objects" and other per-share settings we specify
here become the defaults for (eg) [netlogon] and [sysvol] but the
admin can override these on a per-share basis or (as we must in make
test) for the whole server.

This broke setting and fetching of group policy objects from Windows
clients, since this setting was moved from fileserver.conf in
8518dd6406c0132dfd8c44e084c2b39792974f2c, and wasn't found in 'make
test' because we have to override the vfs objects to insert the
xattr_tdb and fake_acl modules.

Andrew Bartlett

Reviewed-by: Michael Adam <obnox@samba.org>
source3/param/loadparm.c