This is a discussion on Re: [Samba] large smb.conf file within the Samba forums, part of the Networking and Network Related category; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nathan Vidican wrote: > I don't personally know of a way myself, but ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Nathan Vidican wrote: > I don't personally know of a way myself, but I think it would be of > great value to be able to remove the share definition from the main > smb.conf file, and maintain them in some sort of database. > > It would at the very least minimize the startup time in reading the > configuration file but perhaps complicate smbd process startups by > requiring a db connection of some sort; this is admittedly above and > beyond my abilities to start/debug/design/debate, so I thought I might > just pass on the idea to the list. We've considered having the parent smbd re-parse the configuration file into a tdb and the send a message to all the children that it the configuration changed. At this point we could maintain a timestamp on a per service basis. Or maybe even remove the need for the in memory services array altogether. The main design hurdle is variable substitution. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDQaGnIR7qMdg1EfYRAnJkAKCyocA0Tp0efwJVIEnJXs y7DpHdUACdF28c xVRE436URKl1PzUPi0H4f5k= =j+BI -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |