Lines Matching defs:map
75 getmapent_nis(key, map, ml, stack, stkptr, iswildcard, isrestricted)
76 char *key, *map;
91 nserr = yp_match(nis_mydomain, map, key, strlen(key),
94 my_map = strdup(map);
111 nserr = yp_match(nis_mydomain, map, "*", 1,
121 map, yperr_string(nserr));
175 char dir[256], map[256], qbuff[256];
209 "can't read nis map %s: %s - retrying",
218 "nis map %s: read OK.", my_mapname);
247 "%s in NIS map %s: entry too long (max %d chars)",
251 (void) strncpy(map, val, vl);
252 map[vl] = '\0';
253 if (macro_expand(dir, map, qbuff, sizeof (map))) {
255 "%s in NIS map %s: entry too long (max %d chars)",
256 map, my_mapname, sizeof (map) - 1);
259 pmap = map;
261 pmap++; /* skip blanks in front of map */
283 pr_msg("Warning: invalid entry for %s in NIS map %s ignored.\n", dir, mapname);
291 * In the context of a master map, if no entry is
301 * This case will happen if map is empty
344 "can't read nis map %s: %s - retrying",
353 "nis map %s: read OK.", my_nismap);
393 replace_undscr_by_dot(map)
394 char *map;
398 while (*map) {
399 if (*map == '_') {
401 *map = '.';
403 map++;
451 * the map is not present
468 * map not found