Lines Matching defs:dn
63 #define ATTR_DN "dn"
175 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp,
534 uchar_t *dn = NULL;
572 if ((dn = malloc(size)) != NULL)
573 (void) snprintf((char *)dn, size, "%s=%s,%s,%s",
587 if ((dn = malloc(size)) != NULL)
588 (void) snprintf((char *)dn, size, "%s=%s,%s,%s",
601 return (dn); /* caller must free this memory */
1779 * compare. Problems with the dn etc., return a good compare
1881 #define DNID "dn: "
1897 cp += strlen(DNID); /* increment past "dn: " label */
2411 * Input/Output: char **dn - returns DN to bind to on master
2419 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp,
2434 if ((dn != NULL) && (*dn != NULL))
2436 free(*dn);
2447 (dn != NULL) && (credp != NULL) && (methodp != NULL))
2453 *dn = strdup(sDN);
2462 sDN = *dn;