Lines Matching defs:pdn
107 char *pdn, *domain = NULL;
123 pdn = (char *)malloc(len + 1);
124 if (pdn == NULL) {
129 *pdn = '\0';
131 (void) strcat(pdn, rdns[0]);
134 (void) strcat(pdn, rdns[nrdns]);
135 (void) strcat(pdn, ",");
138 pdn[strlen(pdn) - 1] = '\0';
141 (void) __ns_ldap_dn2domain(pdn, &domain, cred, &error);
144 free(pdn);