Lines Matching refs:domain
90 * DESCRIPTION: Dumps all maps in one domain into the DIT
92 * GIVEN : Name of the domain
95 * RETURNS : SUCCESS = domain completely dumped
96 * FAILURE = domain not completely dumped
105 /* Set up nis domain object */
140 * Name of domain
147 dump_map_to_dit(char *map_name, char *domain, bool_t init_containers)
157 printf("Copying map \"%s\", domain \"%s\", to LDAP.\n",
158 map_name, domain);
161 if (SUCCESS != make_nis_container(map_name, domain, init_containers)) {
165 map_name, domain);
169 map_name, domain);
175 map_path = (char *)am(myself, strlen(domain) + strlen(map_name) +
179 "Could not alloc memory for %s %s", map_name, domain);
184 strcat(map_path, domain);
214 "Zero length key ignored in %s %s", map_name, domain);
226 if (SUCCESS != write_to_dit(map_name, domain, key, value,
266 /* For all domain objects in DIT */
277 /* If necessary create domain directory */
292 "Could not make create domain directory %s",
300 /* Get list of maps for this domain */
303 /* No problem. Just no maps in this domain */
307 /* For all maps in domain */
353 dump_dit_to_map(char *map_name, char *domain)
359 printf("Copying LDAP data to map \"%s\", domain \"%s\".\n",
360 map_name, domain);
368 strlen(domain) + strlen(NTOL_PREFIX) + 3);
374 strcat(map_path, domain);