Home
last modified time | relevance | path

Searched refs:basedn (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/lib/libsldap/common/
H A Dns_mapping.c303 if (ptr->basedn) in __ns_ldap_freeASearchDesc()
304 free(ptr->basedn); in __ns_ldap_freeASearchDesc()
376 ptr->basedn = strdup(""); in __s_api_parseASearchDesc()
377 if (!ptr->basedn) { in __s_api_parseASearchDesc()
386 ptr->basedn = strdup(""); in __s_api_parseASearchDesc()
387 if (!ptr->basedn) { in __s_api_parseASearchDesc()
396 ptr->basedn = dptr = (char *)calloc(i, sizeof (char)); in __s_api_parseASearchDesc()
397 if (!ptr->basedn) { in __s_api_parseASearchDesc()
587 if (empty || strlen(ptr->basedn) == 0) { in __s_api_parseASearchDesc()
588 if (ptr->basedn) in __s_api_parseASearchDesc()
[all …]
H A Dns_reads.c1045 if (cookie->basedn) in delete_search_cookie()
1046 free(cookie->basedn); in delete_search_cookie()
1545 baselen = strlen(dptr->basedn); in setup_next_search()
1546 if (baselen > 0 && dptr->basedn[baselen-1] == COMMATOK) { in setup_next_search()
1555 if (cookie->basedn) in setup_next_search()
1556 free(cookie->basedn); in setup_next_search()
1557 cookie->basedn = (char *)malloc(baselen); in setup_next_search()
1558 if (cookie->basedn == NULL) { in setup_next_search()
1562 (void) strcpy(cookie->basedn, dptr->basedn); in setup_next_search()
1563 (void) strcat(cookie->basedn, str); in setup_next_search()
[all …]
H A Dllib-lsldap99 const char *basedn,
194 char **basedn,
H A Dns_sldap.h493 char *basedn; /* search base dn */ member
768 const char *basedn,
H A Dns_internal.h671 char *basedn; member
886 char **basedn,
H A Dns_writes.c3787 const char *basedn, in __ns_ldap_addTypedEntry() argument
3846 if (basedn == NULL) { in __ns_ldap_addTypedEntry()
3867 if (sdlist[0]->basedn) { in __ns_ldap_addTypedEntry()
3869 rdn, sdlist[0]->basedn); in __ns_ldap_addTypedEntry()
3901 i = strlen(rdn) + strlen(basedn) + 2; in __ns_ldap_addTypedEntry()
3907 (void) snprintf(fulldn, i, "%s,%s", rdn, basedn); in __ns_ldap_addTypedEntry()
H A Dns_common.c1909 service, &ssdlist[i]->basedn, errorp); in __s_api_prepend_automountmapname()
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c190 static void memcache_trim_basedn_spaces(char *basedn);
191 static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn);
208 const char *basedn);
736 ldap_memcache_new(LDAP *ld, int msgid, unsigned long key, const char *basedn) in ldap_memcache_new() argument
752 nRes = memcache_add(ld, key, msgid, basedn); in ldap_memcache_new()
835 memcache_trim_basedn_spaces(char *basedn) in memcache_trim_basedn_spaces() argument
839 if (!basedn) in memcache_trim_basedn_spaces()
842 for (pWrite = pRead = basedn; *pRead; ) { in memcache_trim_basedn_spaces()
858 memcache_validate_basedn(LDAPMemCache *cache, const char *basedn) in memcache_validate_basedn() argument
867 if (basedn == NULL) { in memcache_validate_basedn()
[all …]
H A Dldap-int.h874 const char *basedn );
/titanic_41/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c829 char *basedn = NULL; local
841 retval = krb5_ldap_list_policy(util_context, basedn, &list);
860 if (basedn)
861 free (basedn);
H A Dkdb5_ldap_services.c1362 char *basedn = NULL; local
1380 basedn = strdup(argv[2]);
1381 if (basedn == NULL) {
1388 retval = krb5_ldap_list_services(util_context, basedn, &list);
1409 if (basedn)
1410 free (basedn);
/titanic_41/usr/src/lib/libadutils/common/
H A Dadutils_impl.h74 char *basedn; member
H A Dadutils.c514 ad->basedn = adutils_dns2dn(domain_name); in adutils_ad_alloc()
517 ad->basedn = strdup(""); in adutils_ad_alloc()
519 if (ad->basedn == NULL) in adutils_ad_alloc()
528 free(ad->basedn); in adutils_ad_alloc()
573 free((*ad)->basedn); in adutils_ad_free()
1631 state->qadh->owner->basedn, in adutils_lookup_batch_add()
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c77 static int get_basedn(char *service, char **basedn);
4625 static int get_basedn(char *service, char **basedn) { in get_basedn() argument
4642 if (desc[0] != NULL && desc[0]->basedn != NULL) { in get_basedn()
4643 dn = strdup(desc[0]->basedn); in get_basedn()
4664 if (desc[0] != NULL && desc[0]->basedn != NULL) { in get_basedn()
4665 dn = strdup(desc[0]->basedn); in get_basedn()
4718 *basedn = dn; in get_basedn()