svn commit: samba r13213 - in trunk/source: client libsmb nmbd nsswitch pam_smbpass param python rpcclient smbd smbwrapper torture utils web wrepld

derrell at samba.org derrell at samba.org
Sat Jan 28 22:54:27 GMT 2006


Author: derrell
Date: 2006-01-28 22:54:18 +0000 (Sat, 28 Jan 2006)
New Revision: 13213

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13213

Log:
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.)

Modified:
   trunk/source/client/client.c
   trunk/source/client/smbctool.c
   trunk/source/client/smbmount.c
   trunk/source/client/smbspool.c
   trunk/source/libsmb/libsmbclient.c
   trunk/source/nmbd/nmbd.c
   trunk/source/nsswitch/wbinfo.c
   trunk/source/nsswitch/winbindd.c
   trunk/source/nsswitch/wins.c
   trunk/source/pam_smbpass/support.c
   trunk/source/param/loadparm.c
   trunk/source/python/py_common.c
   trunk/source/rpcclient/rpcclient.c
   trunk/source/smbd/server.c
   trunk/source/smbwrapper/smbw.c
   trunk/source/torture/locktest.c
   trunk/source/torture/locktest2.c
   trunk/source/torture/masktest.c
   trunk/source/torture/msgtest.c
   trunk/source/torture/rpctorture.c
   trunk/source/torture/t_push_ucs2.c
   trunk/source/torture/t_strcmp.c
   trunk/source/torture/t_strstr.c
   trunk/source/torture/torture.c
   trunk/source/torture/vfstest.c
   trunk/source/utils/eventlogadm.c
   trunk/source/utils/net.c
   trunk/source/utils/nmblookup.c
   trunk/source/utils/ntlm_auth.c
   trunk/source/utils/pdbedit.c
   trunk/source/utils/smbcacls.c
   trunk/source/utils/smbcontrol.c
   trunk/source/utils/smbcquotas.c
   trunk/source/utils/smbfilter.c
   trunk/source/utils/smbpasswd.c
   trunk/source/utils/smbtree.c
   trunk/source/utils/smbw_sample.c
   trunk/source/utils/status.c
   trunk/source/utils/testparm.c
   trunk/source/web/swat.c
   trunk/source/wrepld/server.c


Changeset:
Sorry, the patch is too large (633 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13213


More information about the samba-cvs mailing list