Home
last modified time | relevance | path

Searched refs:ypDomains (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_yp_util.c118 __yp_domain_context_t *ypDomains) in initialize_yp_parse_structs() argument
120 ypDomains->numDomains = 0; in initialize_yp_parse_structs()
121 ypDomains->domainLabels = NULL; in initialize_yp_parse_structs()
122 ypDomains->domains = NULL; in initialize_yp_parse_structs()
123 ypDomains->numYppasswdd = 0; in initialize_yp_parse_structs()
124 ypDomains->yppasswddDomainLabels = NULL; in initialize_yp_parse_structs()
730 __yp_domain_context_t *ypDomains) in final_parser_pass() argument
741 if (ypDomains) { in final_parser_pass()
742 if (!ypDomains->numDomains) { in final_parser_pass()
778 i = ypDomains->numDomains; in final_parser_pass()
[all …]
H A Dnis_parse_ldap_map.c73 extern __yp_domain_context_t ypDomains;
134 attrib_num, *table_mapping, &ypDomains); in add_mapping_attribute()
376 __yp_domain_context_t *ypDomains) in add_ypdomains_attribute() argument
396 if (ypDomains == NULL) { in add_ypdomains_attribute()
408 numDomains = ypDomains->numDomains; in add_ypdomains_attribute()
409 ypDomains->domainLabels = in add_ypdomains_attribute()
410 (char **)s_realloc(ypDomains->domainLabels, in add_ypdomains_attribute()
412 sizeof (ypDomains->domainLabels[0])); in add_ypdomains_attribute()
413 if (ypDomains->domainLabels == NULL) { in add_ypdomains_attribute()
415 free_yp_domain_context(ypDomains); in add_ypdomains_attribute()
[all …]
H A Dnis_parse_ldap_conf.h569 extern void initialize_yp_parse_structs(__yp_domain_context_t *ypDomains);
591 __yp_domain_context_t *ypDomains);
608 __yp_domain_context_t *ypDomains);
H A Dnis_parse_ldap_conf.c51 __yp_domain_context_t ypDomains; variable
145 initialize_yp_parse_structs(&ypDomains); in parse_ldap_migration()
184 &ldapDBTableMapping, &ypDomains); in parse_ldap_migration()
210 rc = final_parser_pass(&ldapTableMapping, &ypDomains); in parse_ldap_migration()
644 __yp_domain_context_t *ypDomains) in yp_parse_ldap_config_file() argument
678 attr_val, len, ypDomains); in yp_parse_ldap_config_file()
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c130 for (count = 0; count < ypDomains.numDomains; count++) { in read_from_dit()
131 if (0 == ypDomains.domainLabels[count]) in read_from_dit()
133 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) { in read_from_dit()
135 ypDomains.domains[count]; in read_from_dit()
207 for (count = 0; count < ypDomains.numDomains; count++) { in write_to_dit()
208 if (0 == ypDomains.domainLabels[count]) in write_to_dit()
210 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) { in write_to_dit()
212 ypDomains.domains[count]; in write_to_dit()
339 *ptr = ypDomains.domainLabels; in get_mapping_domain_list()
340 return (ypDomains.numDomains); in get_mapping_domain_list()
[all …]
H A Ddit_access_utils.h48 extern __yp_domain_context_t ypDomains;
H A Ddit_access_utils.c1621 for (i = 0; i < ypDomains.numDomains; i++) { in makeNISObject()
1622 if (ypDomains.domainLabels[i] == 0) in makeNISObject()
1624 if (strcasecmp(domain, ypDomains.domainLabels[i]) in makeNISObject()
1626 dn = ypDomains.domains[i]; in makeNISObject()