Lines Matching defs:domain
121 read_from_dit(char *map, char *domain, datum *key, datum *value)
134 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) {
146 if (TRUE == singleReadFromDIT(map, domain, key, value, &res))
184 * Pointer to domain name
197 write_to_dit(char *map, char *domain, datum key, datum value,
211 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) {
223 res = singleWriteToDIT(map, domain, &key, &value, replace);
282 /* Get the mapping structure corresponding to `map.domain' */
283 table_map = mappingFromMap(map->map_name, map->domain, &res);
287 "Get TTL request could not access map %s in domain %s "
288 "(error %d)", map->map_name, map->domain, res);
325 * DESCRIPTION: Gets a list of domain names specified, by nisLDAPdomainContext
346 * DESCRIPTION: Gets a list of domain names specified, by the
402 get_passwd_list(bool_t adjunct, char *domain)
431 domain_len = strlen(domain);
445 /* Check right domain (minus trailing dot) */
446 if (strlen(domain) >= strlen(it->name))
449 strlen(domain) - 1;
452 if (0 != strncmp(end_ptr, domain, strlen(domain)))
551 /* Add domain name */
552 addpair(db, yp_domain_name, map->domain);
558 /* Get the mapping structure corresponding to `map.domain' */
559 table_map = mappingFromMap(map->map_name, map->domain, &res);
626 if (!map || !map->map_name || !map->domain) {
642 if ((t = mappingFromMap(map->map_name, map->domain, &statP)) == 0) {
646 myself, map->map_name, map->domain);
685 if (0 == strcasecmp(map->domain, ypDomains.domainLabels[i])) {
691 if (!(objname = getFullMapName(map->map_name, map->domain))) {
796 map->domain);
906 temp_map.domain = map->domain;
923 map->domain);
930 "for %s,%s", myself, map->map_name, map->domain);
960 * DESCRIPTION: Gets a list of nis maps for a given domain specified in the
970 get_mapping_map_list(char *domain)
1001 /* Check right domain (minus trailing dot) */
1002 if (strlen(domain) >= strlen(it->name))
1005 strlen(domain) - 1;
1008 if (0 != strncmp(end_ptr, domain, strlen(domain)))
1055 end_ptr = it->name + strlen(it->name) - strlen(domain) - 1;
1077 * The domain name.
1084 make_nis_container(char *map_name, char *domain, bool_t init_containers) {
1090 if (!map_name || !domain)
1108 if ((t = mappingFromMap(map_name, domain, &statP)) == 0) {
1112 myself, NIL(map_name), NIL(domain));
1125 myself, map_name, domain);
1136 "for %s,%s", myself, dn, map_name, domain);
1148 * GIVEN: Name of the domain
1149 * Flag indicating if domain should be create or possibly just
1153 make_nis_domain(char *domain, bool_t init_containers) {
1159 * existing domain and return failure if it does not exist.
1169 /* Create the domain */
1170 return (makeNISObject(domain, 0));
1265 /* Unmake the netgroup file in same domain as map */
1276 /* Create temp file file in same domain as map */
1368 temp_map.domain = map->domain;
1388 map->domain);