search for: ldapsam_search_suffix_by_nam

Displaying 2 results from an estimated 2 matches for "ldapsam_search_suffix_by_nam".

2005 Oct 11
2
Samba segment faulting - unknown cause
.../lib/libldap_r.so.2 #21 0x40030c7c in ldap_simple_bind_s () from /usr/lib/libldap_r.so.2 #22 0x08261b7d in smbldap_make_mod () #23 0x08261ebe in smbldap_make_mod () #24 0x08262214 in smbldap_make_mod () #25 0x0826240a in smbldap_search () #26 0x08262b04 in smbldap_search_suffix () #27 0x081ba9d8 in ldapsam_search_suffix_by_name () #28 0x081be181 in ldapsam_search_suffix_by_name () #29 0x081b4ac5 in smb_register_passdb () #30 0x081b6b88 in pdb_getsampwnam () #31 0x08225f3c in auth_rhosts_init () #32 0x082265b1 in auth_rhosts_init () #33 0x082239ff in smb_register_auth () #34 0x0822d809 in password_ok () #35 0x0810fad1 in...
2006 Jul 26
1
ldapsam ignores "ldap user suffix" when doing username lookup
...at the source provided some insight. Mind you, I suck at C, so unfortunately I couldn't ever fix this issue (if it is one) myself, no matter how much I'd love to. :-) Here's the situation from my perspective: When looking up a user account, in pdb_ldap.c, ldapsam_getsampwnam() invokes ldapsam_search_suffix_by_name(), which in turn 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...