Lines Matching refs:pdn
108 char *pdn, *domain = NULL;
124 pdn = (char *)malloc(len + 1);
125 if (pdn == NULL) {
130 *pdn = '\0';
132 (void) strcat(pdn, rdns[0]);
135 (void) strcat(pdn, rdns[nrdns]);
136 (void) strcat(pdn, ",");
139 pdn[strlen(pdn) - 1] = '\0';
142 (void) __ns_ldap_dn2domain(pdn, &domain, cred, &error);
145 free(pdn);