Lines Matching defs:map
39 get_autofs_map_name(struct sysdb_attrs *map, struct sdap_options *opts)
44 ret = sysdb_attrs_get_el(map,
87 const char *map,
106 return sysdb_save_autofsentry(domain, map, key, value, NULL);
112 const char *map,
147 ret = add_autofs_entry(domain, map, opts, entry);
187 struct sysdb_attrs *map)
193 mapname = get_autofs_map_name(map, opts);
221 struct sysdb_attrs *map;
240 struct sysdb_attrs *map)
256 state->map = map;
272 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to build attributes from map\n");
278 ret = sysdb_attrs_get_string(state->map, SYSDB_ORIG_DN, &state->orig_dn);
285 "Examining autofs map [%s]\n", state->orig_dn);
321 "Searching for automount map entries with base [%s]\n",
430 struct sysdb_attrs **map;
469 state->map = NULL;
532 &state->count, &state->map);
558 "The search yielded more than one autofs map\n");
568 state->map[0]);
595 DEBUG(SSSDBG_TRACE_FUNC, "automount map members received\n");
603 struct sysdb_attrs **map,
612 if (map) {
613 *map = talloc_steal(mem_ctx, state->map[0]);
637 struct sysdb_attrs *map;
668 DEBUG(SSSDBG_CRIT_FAILURE, "No map name given\n");
700 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to build attributes from map\n");
738 ret = sdap_get_automntmap_recv(subreq, state, &state->map,
743 DEBUG(SSSDBG_MINOR_FAILURE, "Could not find automount map\n");
755 DEBUG(SSSDBG_OP_FAILURE, "Could not save automount map\n");
792 "Got %zu map entries from LDAP\n", state->entries_count);
794 /* No entries for this map in LDAP.
812 /* Get a list of the map members by DN */
851 "cache lookup for the map failed [%d]: %s\n",
856 DEBUG(SSSDBG_TRACE_LIBS, "Got %zu map entries from sysdb\n", count);
858 /* No map members for this map in sysdb currently */
867 /* Get a list of the map members by DN */
895 /* Save the map itself */
896 ret = save_autofs_map(state->dom, state->opts, state->map);
899 "Cannot save autofs map entry [%d]: %s\n",