Lines Matching refs:basedn
303 if (ptr->basedn)
304 free(ptr->basedn);
375 /* No basedn */
376 ptr->basedn = strdup("");
377 if (!ptr->basedn) {
386 ptr->basedn = strdup("");
387 if (!ptr->basedn) {
396 ptr->basedn = dptr = (char *)calloc(i, sizeof (char));
397 if (!ptr->basedn) {
543 /* end of basedn goto scope */
587 if (empty || strlen(ptr->basedn) == 0) {
588 if (ptr->basedn)
589 free(ptr->basedn);
602 ptr->basedn = strdup(dns[0]);
714 ret->basedn = strdup(*sdl);
715 if (ret->basedn == NULL) {