Lines Matching defs:dn
100 adutils_dn2dns(const char *dn)
102 return (DN_to_DNS(dn));
1067 } else if (strcasecmp(ap->attr_name, "dn") == 0) {
1143 char *attr = NULL, *dn = NULL, *domain = NULL;
1151 if ((dn = ldap_get_dn(adh->ld, search_res)) == NULL)
1153 if ((domain = adutils_dn2dns(dn)) == NULL) {
1154 ldap_memfree(dn);
1159 ldap_memfree(dn);
1170 /* For 'dn' */
1190 /* For dn */
1192 if ((ap->attr_name = strdup("dn")) == NULL)
1200 ap->attr_values[0] = dn;
1201 dn = NULL;
1253 ldap_memfree(dn);