Searched refs:CTX2LP (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | ad.c | 54 #define CTX2LP(context) ((LDAP *)((context)->ldap_conn)) macro 232 LDAP *lp = CTX2LP(context); in check_ldap() 364 ret = ldap_search_s(CTX2LP(context), "", LDAP_SCOPE_BASE, in _kadm5_ad_connect() 370 if (ldap_count_entries(CTX2LP(context), m) > 0) { in _kadm5_ad_connect() 371 m0 = ldap_first_entry(CTX2LP(context), m); in _kadm5_ad_connect() 378 vals = ldap_get_values(CTX2LP(context), in _kadm5_ad_connect() 403 ldap_unbind(CTX2LP(context)); in _kadm5_ad_connect() 455 ret = ldap_search_s(CTX2LP(context), CTX2BASE(context), in ad_find_entry() 462 if (ldap_count_entries(CTX2LP(context), m) > 0) { in ad_find_entry() 464 m0 = ldap_first_entry(CTX2LP(context), m); in ad_find_entry() [all …]
|