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-----
Hash: SHA1

simo wrote:
> 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
> not.

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.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEfmHBIR7qMdg1EfYRAtdMAJ9haLLVQdlF4ukr6sOtu6Cg0JjfpQCeIS5z
h3bZcal7t9AQiiDCcc3sSe8=
=V8nS
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list