Searched defs:value (Results 1 - 25 of 74) sorted by relevance

123

/sssd-io/src/sss_client/autofs/
H A Dautofs_test_client.c45 char *value = NULL; local
80 ret = _sss_getautomntent_r(&key, &value, ctx);
82 if (!key || !value) {
88 printf("key: %s\t\tvalue: %s\n", key, value);
91 free(value);
92 value = NULL;
102 ret = _sss_getautomntbyname_r(pc_key, &value, ctx);
110 if (!value) {
116 printf("key: %s\t\tvalue: %s\n", pc_key, value);
117 free(value);
[all...]
/sssd-io/src/sss_client/idmap/
H A Dsss_nss_idmap.h45 char *value; member in struct:sss_nss_kv
112 * @param[out] kv_list A NULL terminate list of key-value pairs where the key
160 * @brief Free key-value list returned by sss_nss_getorigbyname()
162 * @param[in] kv_list Key-value list returned by sss_nss_getorigbyname().
287 * user belongs to. With a return value of 0 the
378 * @param[out] kv_list A NULL terminate list of key-value pairs where the key
/sssd-io/src/tests/cmocka/
H A Dtest_find_uid.c70 hash_value_t value; local
82 ret = hash_lookup(table, &key, &value);
90 ret = hash_lookup(table, &key, &value);
/sssd-io/src/tests/
H A Dfind_uid-tests.c72 hash_value_t value; local
84 ret = hash_lookup(table, &key, &value);
92 ret = hash_lookup(table, &key, &value);
H A Dcommon.h82 const char *value; member in struct:sss_test_conf_param
/sssd-io/src/tools/common/
H A Dsss_process.c30 long value; local
34 value = strtol(strpid, &endptr, 10);
40 return value;
H A Dsss_colondb.c33 char *value; local
38 value = NULL;
43 /* Special case for empty value. */
46 value = NULL;
51 value = line;
70 *_value = value;
/sssd-io/src/lib/sifp/
H A Dsss_sifp_attrs.c170 const char *value = NULL; local
172 GET_ATTR(attrs, name, SSS_SIFP_ATTR_TYPE_STRING, str, value, ret);
179 *_value = value;
307 char **value; local
310 *_num_values, value, ret);
313 *_value = (const char * const *)value;
H A Dsss_sifp_parser.c111 char **values = (char**)(item->value.ptr);
124 item->value.ptr = NULL;
138 const char *value = NULL; local
162 /* now read the value */
165 dbus_message_iter_get_basic(&dict_iter, &value);
172 values[0] = sss_sifp_strdup(ctx, value);
205 dbus_message_iter_get_basic(&array_iter, &value);
206 values[i] = sss_sifp_strdup(ctx, value);
488 * variant:value
528 * variant:value
[all...]
/sssd-io/src/providers/proxy/
H A Dproxy_client.c44 hash_value_t value; local
75 hret = hash_lookup(proxy_cli->proxy_auth_ctx->request_table, &key, &value);
84 req = talloc_get_type(value.ptr, struct tevent_req);
/sssd-io/src/tools/
H A Dsss_userdel.c56 hash_value_t value; local
69 ret = hash_lookup(uid_table, &key, &value);
/sssd-io/src/providers/data_provider/
H A Ddp_request_reply.c337 struct dp_table_value *value; local
343 value = dp_req_table_lookup(state->provider->requests.reply_table,
345 if (value == NULL) {
352 dp_req_reply_list_error(value->list, state->name, ret);
365 dp_req_reply_list_success(value->list, state->reply_fn,
369 /* Freeing value will remove it from the table as well. */
370 talloc_free(value);
H A Ddp_request_table.c39 dp_table_value_destructor(struct dp_table_value *value) argument
44 DEBUG(SSSDBG_TRACE_FUNC, "Removing [%s] from reply table\n", value->key);
46 dp_req_table_del(value->table, value->key);
48 for (item = value->list; item != NULL; item = next_item) {
57 dp_sbus_req_item_new(struct dp_table_value *value, argument
71 item->parent = value;
158 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to enter value into hash table "
240 struct dp_table_value *value; local
242 value
[all...]
/sssd-io/src/providers/krb5/
H A Dkrb5_delayed_online_authentication.c151 hash_value_t value; local
171 pd = talloc_get_type(entry->value.ptr, struct pam_data);
173 ret = hash_lookup(uid_table, &key, &value);
243 hash_value_t value; local
307 value.type = HASH_VALUE_PTR;
308 value.ptr = new_pd;
311 &key, &value);
H A Dkrb5_wait_queue.c90 if (entry->value.type == HASH_VALUE_PTR) {
91 head = talloc_get_type(entry->value.ptr, struct queue_entry);
97 "Unexpected value type [%d].\n", entry->value.type);
107 hash_value_t value; local
124 ret = hash_lookup(krb5_ctx->wait_queue_hash, &key, &value);
127 if (value.type != HASH_VALUE_PTR) {
128 DEBUG(SSSDBG_CRIT_FAILURE, "Unexpected hash value type.\n");
132 head = talloc_get_type(value.ptr, struct queue_entry);
149 value
181 hash_value_t value; local
[all...]
H A Dkrb5_renew_tgt.c91 hash_value_t value; local
111 * renewal item is not updated and the value from the hash and the one we have
114 ret = hash_lookup(auth_data->table, &auth_data->key, &value);
116 if (value.type == HASH_VALUE_PTR &&
117 auth_data->renew_data == talloc_get_type(value.ptr,
176 renew_data = talloc_get_type(entries[c].value.ptr, struct renew_data);
309 if (entry->value.type == HASH_VALUE_PTR) {
310 renew_data = talloc_get_type(entry->value.ptr, struct renew_data);
316 "Unexpected value type [%d].\n", entry->value
548 hash_value_t value; local
[all...]
/sssd-io/src/responder/ifp/
H A Difp_cache.c280 bool value)
290 ret = sysdb_attrs_add_bool(attrs, SYSDB_IFP_CACHED, value);
278 ifp_cache_object_set(struct sss_domain_info *domain, struct ldb_dn *dn, bool value) argument
H A Difp_components.c584 char *value = NULL; local
639 providers[i], NULL, &value);
644 if (value == NULL) {
648 out[j] = talloc_asprintf(out, "%s=%s", providers[i], value);
H A Difpsrv_util.c105 const char *value)
112 if (value == NULL || key == NULL) {
149 &value);
221 DEBUG(SSSDBG_TRACE_FUNC, "element [%s] has value [%s]\n",
103 ifp_add_value_to_dict(DBusMessageIter *iter_dict, const char *key, const char *value) argument
/sssd-io/src/responder/kcm/
H A Dkcmsrv_op_queue.c53 * They key in the hash table is the UID of the peer. The value of each
156 hash_value_t value; local
162 ret = hash_lookup(qctx->wait_queue_hash, &key, &value);
165 if (value.type != HASH_VALUE_PTR) {
166 DEBUG(SSSDBG_CRIT_FAILURE, "Unexpected hash value type.\n");
170 kq = talloc_get_type(value.ptr, struct kcm_ops_queue);
194 value.type = HASH_VALUE_PTR;
195 value.ptr = kq;
197 ret = hash_enter(qctx->wait_queue_hash, &key, &value);
/sssd-io/src/util/
H A Dfind_uid.c218 hash_value_t value; local
245 value.type = HASH_VALUE_ULONG;
246 value.ul = (unsigned long) uid;
248 ret = hash_enter(table, &key, &value);
H A Dsafe-format-string.c87 const char *value; local
119 value = NULL;
142 value = args[n - 1];
176 if (value == NULL) {
182 value = args[at_arg++];
193 len = strlen (value);
201 copy_fn (data, value, len);
/sssd-io/src/db/
H A Dsysdb_autofs.c250 const char *value,
260 "Adding autofs entry [%s] - [%s]\n", key, value);
290 ret = sysdb_attrs_add_string(attrs, SYSDB_AUTOFS_ENTRY_VALUE, value);
297 name = talloc_asprintf(tmp_ctx, "%s%s", key, value);
310 dn = sysdb_autofsentry_dn(tmp_ctx, domain, map, key, value);
247 sysdb_save_autofsentry(struct sss_domain_info *domain, const char *map, const char *key, const char *value, struct sysdb_attrs *attrs) argument
/sssd-io/src/providers/ipa/
H A Dipa_auth.c137 const char *value = NULL; local
145 ret = sysdb_attrs_get_string(reply, IPA_CONFIG_MIGRATION_ENABLED, &value);
146 if (ret == EOK && strcasecmp(value, "true") == 0) {
/sssd-io/src/providers/ldap/
H A Dldap_id_cleanup.c338 hash_value_t value; local
352 ret = hash_lookup(table, &key, &value);

Completed in 38 milliseconds

123