loadparm patch

Don Watson dwwatson at us.ibm.com
Tue Aug 23 11:25:24 GMT 2005


Hi,

Attached is a small patch to append_ldap_suffix (param/loadparm.c) to handle 
the case in smb.conf where the user has appended the ldap suffix to other 
ldap suffixes such as ldap user suffix.  In this case the fix in the patch 
prevent the ldap suffix from appearing twice in the other suffixes.

For example, without the fix, if the ldap suffix in smb.conf is:
	dc=example,dc=com
and the ldap user suffix is:
	ou=users,dc=example,dc=com
after the call to append_ldap_suffix the ldap user suffix would be:
	ou=users,dc=example,dc=com,dc=example,dc=com

The fix also accounts for case differences in the user's entries.
-- 
Don Watson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loadparm.c.patch
Type: text/x-diff
Size: 968 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050823/d018702d/loadparm.c.bin


More information about the samba-technical mailing list