Lines Matching refs:entry
54 get_autofs_entry_attr(struct sysdb_attrs *entry, struct sdap_options *opts,
60 ret = sysdb_attrs_get_el(entry,
66 "Expected one entry got %d\n", el->num_values);
74 get_autofs_entry_key(struct sysdb_attrs *entry, struct sdap_options *opts)
76 return get_autofs_entry_attr(entry, opts, SDAP_AT_AUTOFS_ENTRY_KEY);
80 get_autofs_entry_value(struct sysdb_attrs *entry, struct sdap_options *opts)
82 return get_autofs_entry_attr(entry, opts, SDAP_AT_AUTOFS_ENTRY_VALUE);
89 struct sysdb_attrs *entry)
94 key = get_autofs_entry_key(entry, opts);
96 DEBUG(SSSDBG_OP_FAILURE, "Could not get autofs entry key\n");
100 value = get_autofs_entry_value(entry, opts);
102 DEBUG(SSSDBG_OP_FAILURE, "Could not get autofs entry value\n");
121 struct sysdb_attrs *entry;
134 "Cannot retrieve entry [%s] from hash\n", add_dn_list[i]);
138 entry = talloc_get_type(value.ptr, struct sysdb_attrs);
139 if (!entry) {
141 "Cannot retrieve entry [%s] from ptr\n", add_dn_list[i]);
146 "Saving autofs entry [%s]\n", add_dn_list[i]);
147 ret = add_autofs_entry(domain, map, opts, entry);
150 "Cannot save entry [%s] to cache\n", add_dn_list[i]);
154 DEBUG(SSSDBG_TRACE_FUNC, "Saved entry [%s]\n", add_dn_list[i]);
170 "Removing autofs entry [%s]\n", del_dn_list[i]);
175 "Cannot delete entry %s\n", del_dn_list[i]);
817 DEBUG(SSSDBG_MINOR_FAILURE, "Malformed entry, skipping\n");
843 /* terminate array with NULL after the last retrieved entry */
899 "Cannot save autofs map entry [%d]: %s\n",