Home
last modified time | relevance | path

Searched refs:rdns (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c160 char **rdns; in ldap_explode_dns() local
169 if ( (rdns = (char **)NSLDAPI_MALLOC( 8 * sizeof(char *) )) == NULL ) { in ldap_explode_dns()
180 if ( (rdns = (char **)NSLDAPI_REALLOC( rdns, maxcomps * in ldap_explode_dns()
186 rdns[ncomps++] = nsldapi_strdup( s ); in ldap_explode_dns()
188 rdns[ncomps] = NULL; in ldap_explode_dns()
191 return( rdns ); in ldap_explode_dns()
200 char *p, *q, *rdnstart, **rdns = NULL; in ldap_explode() local
251 ldap_charray_free( rdns ); in ldap_explode()
258 ldap_charray_free( rdns ); in ldap_explode()
263 if ( rdns == NULL ) { in ldap_explode()
[all …]
/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dldap_utils.c106 char **rdns; in _get_domain_name() local
114 rdns = ldap_explode_dn(cdn, 0); in _get_domain_name()
115 if (rdns == NULL || *rdns == NULL) in _get_domain_name()
119 for (nrdns = 1; rdns[nrdns]; nrdns++) in _get_domain_name()
120 len += strlen(rdns[nrdns]) + 1; in _get_domain_name()
122 len = strlen(rdns[0]); in _get_domain_name()
125 ldap_value_free(rdns); in _get_domain_name()
131 (void) strcat(pdn, rdns[0]); in _get_domain_name()
133 for (nrdns = 1; rdns[nrdns]; nrdns++) { in _get_domain_name()
134 (void) strcat(pdn, rdns[nrdns]); in _get_domain_name()
[all …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.c62 char **rdns=NULL, *strval[2]={NULL}, *policy_dn; local
79 rdns = ldap_explode_dn(policy_dn, 1);
80 if (rdns == NULL) {
86 strval[0] = rdns[0];
113 if (rdns)
114 ldap_value_free(rdns);
H A Dldap_services.c56 char **rdns=NULL, *realmattr=NULL, *strval[3]={NULL}; local
92 rdns = ldap_explode_dn(service->servicedn, 1);
93 if (rdns == NULL) {
98 strval[0] = rdns[0];
166 if (rdns)
167 ldap_value_free (rdns);
H A Dldap_realm.c786 char *strval[2]={NULL}, *kerberoscontdn=NULL, **rdns=NULL; local
820 rdns = ldap_explode_dn(kerberoscontdn, 1);
821 if (rdns == NULL) {
827 strval[0] = rdns[0];
893 if (rdns)
894 ldap_value_free (rdns);
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_reads.c221 char **rdns, *new_rdn, *new_dn = NULL; in _cvtDN() local
227 if ((rdns = ldap_explode_dn(dn, 0)) == NULL) in _cvtDN()
230 for (nRdn = 0; rdns[nRdn] != NULL; nRdn++); in _cvtDN()
233 ldap_value_free(rdns); in _cvtDN()
240 if ((new_rdn = _cvtRDN(service, rdns[i])) != NULL) { in _cvtDN()
261 len += strlen(rdns[i]); in _cvtDN()
276 (void) strlcat(new_dn, rdns[i], len); in _cvtDN()
281 ldap_value_free(rdns); in _cvtDN()
4320 char *newdn, **rdns = NULL; in __ns_ldap_dn2domain() local
4339 rdns = ldap_explode_dn(dn1, 0); in __ns_ldap_dn2domain()
[all …]