search for: lp_ldap_user_suffix

Displaying 1 result from an estimated 1 matches for "lp_ldap_user_suffix".

2006 Jul 26
1
ldapsam ignores "ldap user suffix" when doing username lookup
...urn calls smbldap_search_suffix() in smbldap.c. smbldap_search_suffix() then invokes smbldap_search() with scope set to lp_ldap_suffix(), which corresponds to the full "ldap suffix" context. I wonder why ldapsam_getsampwnam() doesn't invoke an LDAP search call that is limited to the lp_ldap_user_suffix scope. Or do this first and then another search in the lp_ldap_machine_suffix scope after that, if for some reason the machine scope needs to be covered too. As I'm sure you'll agree, the large-scope search is a non-issue if your LDAP directory isn't huge, or if you have just one LDAP...