Lines Matching refs:dn

887  * is to search for the dn and then do ldap_get_dn() on the result. This should
888 * match the initial dn, since it would have been also retrieved with
895 const char *url, const char *dn,
924 if (strcmp(dn, reqdn)) {
1004 if (strcmp(dn, searchdn) != 0) {
1014 newnode.dn = (char *)dn;
1019 || (strcmp(dn, node->dn) != 0))
1042 const char *url, const char *dn,
1071 the_compare_node.dn = (char *)dn;
1128 (char *)dn,
1170 || (strcmp(the_compare_node.dn, compare_nodep->dn) != 0)
1209 const char *dn,
1248 result = ldap_search_ext_s(ldc->ldap, (char *)dn, LDAP_SCOPE_BASE,
1390 const char *url, const char *dn,
1429 result = uldap_cache_compare(r, ldc, url, dn, "objectClass",
1454 the_compare_node.dn = (char *)dn;
1476 dn, (char *)sgc_ents[base_sgcIndex].name);
1500 "no cached SGL for %s, retrieving from LDAP", dn);
1501 tmp_local_sgl = uldap_get_subgroups(r, ldc, url, dn, subgroupAttrs,
1506 dn);
1515 the_compare_node.dn = (char *)dn;
1533 "Cache entry for %s doesn't exist", dn);
1542 dn);
1562 tmp_local_sgl->len, dn);
1642 char *dn;
1690 *binddn = apr_pstrdup(r->pool, search_nodep->dn);
1775 /* Grab the dn, copy it into the pool, and free it again */
1776 dn = ldap_get_dn(ldc->ldap, entry);
1777 *binddn = apr_pstrdup(r->pool, dn);
1778 ldap_memfree(dn);
1794 * Attempt to bind with the retrieved dn and the password. If the bind
1795 * fails, it means that the password is wrong (the dn obviously
1865 the_search_node.dn = *binddn;
1878 (strcmp(*binddn, search_nodep->dn) != 0)) {
1918 char *dn;
1960 *binddn = apr_pstrdup(r->pool, search_nodep->dn);
2036 /* Grab the dn, copy it into the pool, and free it again */
2037 dn = ldap_get_dn(ldc->ldap, entry);
2038 *binddn = apr_pstrdup(r->pool, dn);
2039 ldap_memfree(dn);
2074 the_search_node.dn = *binddn;
2087 (strcmp(*binddn, search_nodep->dn) != 0)) {