r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
authorDerrell Lipman <derrell@samba.org>
Sat, 28 Jan 2006 22:53:04 +0000 (22:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:18 +0000 (11:06 -0500)
commitf2a24de769d1b2266e576597c57a8e3b1e2a2b51
tree7fec57191368a498282d032819b76fc9dbd97bbe
parent0e24c701ce3755d71de7fdccb9f4564b381bf996
r13212:  r12414@cabra:  derrell | 2006-01-28 17:52:17 -0500
 lp_load() could not be called multiple times to modify parameter settings based
 on reading from multiple configuration settings.  Each time, it initialized all
 of the settings back to their defaults before reading the specified
 configuration file.

 This patch adds a parameter to lp_load() specifying whether the settings should
 be initialized.  It does, however, still force the settings to be initialized
 the first time, even if the request was to not initialize them.  (Not doing so
 could wreak havoc due to uninitialized values.)
41 files changed:
source/client/client.c
source/client/smbctool.c
source/client/smbmount.c
source/client/smbspool.c
source/libsmb/libsmbclient.c
source/nmbd/nmbd.c
source/nsswitch/wbinfo.c
source/nsswitch/winbindd.c
source/nsswitch/wins.c
source/pam_smbpass/support.c
source/param/loadparm.c
source/python/py_common.c
source/rpcclient/rpcclient.c
source/smbd/server.c
source/smbwrapper/smbw.c
source/torture/locktest.c
source/torture/locktest2.c
source/torture/masktest.c
source/torture/msgtest.c
source/torture/rpctorture.c
source/torture/t_push_ucs2.c
source/torture/t_strcmp.c
source/torture/t_strstr.c
source/torture/torture.c
source/torture/vfstest.c
source/utils/eventlogadm.c
source/utils/net.c
source/utils/nmblookup.c
source/utils/ntlm_auth.c
source/utils/pdbedit.c
source/utils/smbcacls.c
source/utils/smbcontrol.c
source/utils/smbcquotas.c
source/utils/smbfilter.c
source/utils/smbpasswd.c
source/utils/smbtree.c
source/utils/smbw_sample.c
source/utils/status.c
source/utils/testparm.c
source/web/swat.c
source/wrepld/server.c