Lines Matching refs:map_name
436 char *map_name;
457 if (NULL == (map_name = am(myself, map_name_len))) {
466 strcpy(map_name, YPDBPATH);
467 add_separator(map_name);
468 strcat(map_name, domain);
469 add_separator(map_name);
470 strcat(map_name, NTOL_PREFIX);
471 strcat(map_name, map_list[index]);
473 if (0 != (ans = update_single_map(map_name, pwd, adjunct_flag)))
478 sfree(map_name);
495 for (index = 0; (map_name = map_list[index]) != NULL;
503 strcat(cmdbuf, map_name);
534 update_single_map(char *map_name, struct passwd_entry *pwd, bool_t adjunct_flag)
549 if (strend(map_name, BYNAME))
551 if (strend(map_name, BYUID))
553 if (strend(map_name, BYGID))
558 "Unrecognized map type %s", map_name);
564 map = shim_dbm_open(map_name, O_RDWR, 0600);
566 logmsg(MSG_NOTIMECHECK, LOG_ERR, "Could not open %s", map_name);
573 "Could not lock map %s for update", map_name);
592 map_name);
607 "Could not update map %s", map_name);