Making more use of LDAP

David Collier-Brown -- Customer Engineering David.Collier-Brown at Sun.COM
Mon Jun 23 14:52:43 GMT 2003

> On Thu, Jun 19, 2003 at 02:17:45PM +1000, Andrew Bartlett wrote:
>> - We need to store *smb.conf* values in LDAP, where those values
>>   must be consistant across all hosts.  Things like the 'idmap uid/gid'
>>settings come to mind here.

Tim Potter wrote:
> I'm not sure this is such a good idea.  You would have to be very
> careful with caching and so on [...]

	Novell LDAP had a feature that would allow the content
	of a file to be stored in LDAP, and exported when the
	content changed.

	A colleague, Dimitre Todorov, wrote a perl program which
	read the LDAP comitt log, and whenever it saw an update
	of data it was interested in, did a query and wrote out
	the data in a specified format.  It was to make a non-LDAP-
	aware program behave as if it were storing its config in LDAP.

	This might make it practical to keep smb.conf data in LDAP.

David Collier-Brown,           | Always do right. This will gratify
Sun Microsystems DCMO          | some people and astonish the rest.
Toronto, Ontario               |
(905) 415-2849 or x52849       | davecb at

More information about the samba-technical mailing list