What is lp_load_ex() in source3/param/loadparm.c?

Andrew Bartlett abartlet at samba.org
Thu Sep 9 18:17:50 MDT 2010

On Mon, 2010-08-23 at 08:15 +1000, Andrew Bartlett wrote:
> On Sun, 2010-08-22 at 23:31 +0200, Michael Adam wrote:

> > I would like to hold off pushing the introduction of the
> > wrappers until I have gone over the callers in detail, if
> > that's ok for you.
> I very much agree.  The call change to lp_load_initial_only() in
> libsmbclient is indeed a bug - sorry about that.  In the first
> generation of this patch I had incorrectly assumed it was equivalent to
> what I later added as lp_load_for_client(), before I re-read your mail. 
> I've just pushed 'loadparm-changes-lp-set-cmdline' to my git repo, in
> case you want to work from there.  I agree it's really hard to stare
> more than a dozen simple replacements and remain convinced that there
> isn't a typo or behaviour change in there, or on the other hand to find
> it!

> In looking over all the callers, I strongly suspect a lot of copy and
> paste here - for example, winbindd loads the smb.conf with the shares,
> and with IPC$ added.  I can't see any reason why it would need either. 


What do you want me to do here?  Do you need the lp_load_for_client()
renamed, and do you have any remaining objections to the changes?


Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100910/024f42bb/attachment.pgp>

More information about the samba-technical mailing list