Thoughts on lp_* in Samba4
jelmer at samba.org
Thu Sep 6 12:36:52 GMT 2007
As discussed on IRC yesterday, here are some comments on the reliance on
lp_*() that make it harder to use the python bindings.
The python bindings aren't the only place where the fact that our client
libraries depend on smb.conf is problematic. It is also makes things
harder for OpenChange and Samba-GTK, for example.
Eventually, I would like to see us not rely on smb.conf for the client
libraries at all. I've already started removing lp_*() calls from
several of them. The following client libraries still use lp_*:
Just paths to keys required for the server side, maybe split into a
server-side and a client-side part?
Does all the current loading of smb.conf, paths, etc.
Uses default paths to find databases.
Uses lp_* for NetBIOS name, some protocol defaults (xmit, etc) and auth.
the hardest one, uses a lot of lp_*() calls for allowing/disallowing
different authentication mechanisms
Uses some parametric options for tweaking its behaviour.
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 307 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.samba.org/archive/samba-technical/attachments/20070906/c78601db/attachment.bin
More information about the samba-technical