Lines Matching defs:map_name
430 char *map_name;
452 if (NULL == (map_name = am(myself, map_name_len))) {
461 strcpy(map_name, YPDBPATH);
462 add_separator(map_name);
463 strcat(map_name, domain);
464 add_separator(map_name);
465 strcat(map_name, NTOL_PREFIX);
466 strcat(map_name, map_list[index]);
468 if (0 != (ans = update_single_map(map_name, pwd, adjunct_flag)))
473 sfree(map_name);
490 for (index = 0; (map_name = map_list[index]) != NULL;
498 strcat(cmdbuf, map_name);
529 update_single_map(char *map_name, struct passwd_entry *pwd, bool_t adjunct_flag)
544 if (strend(map_name, BYNAME))
546 if (strend(map_name, BYUID))
548 if (strend(map_name, BYGID))
553 "Unrecognized map type %s", map_name);
559 map = shim_dbm_open(map_name, O_RDWR, 0600);
561 logmsg(MSG_NOTIMECHECK, LOG_ERR, "Could not open %s", map_name);
568 "Could not lock map %s for update", map_name);
587 map_name);
602 "Could not update map %s", map_name);