New configuration backends for Samba 3 SoC project
Gerald (Jerry) Carter
jerry at samba.org
Thu Jun 1 03:40:50 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
> On Wed, 2006-05-31 at 10:33 -0300, Avi Alkalay wrote:
>> Some time ago I started to look inside Samba's source to see how to
>> inject the Elektra patch.
>> This is what I mean when I say Samba has a spread configuration system.
>> I don't know why it is so spread and being recalled so many times. I
>> guess maybe because Samba's programs want to be aware of configuration
>> changes. If so, the Elektra way of doing that is to setup some
>> notifications with callbacks that will retrieve the modifications, and
>> modify the internal C structs.
> Some of the parameters need to be tracked for changes some others need
The lp_XXX() is more from convience I think. Remember that smb.conf is
parsed into memory and we only reload if the mtime changes. So
repeatedly calling lp_foo() will not change unless the config
file is reparsed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical