/sssd-io/src/tests/intg/ |
H A D | test_infopipe.py | 439 user_attrs = sssd_interface.GetUserAttr('usr\\001', attributes) 440 assert user_attrs.signature == 'sv' 441 assert user_attrs.variant_level == 0 443 assert len(attributes) == len(user_attrs) 444 assert sorted(attributes) == sorted(user_attrs.keys()) 447 for attr in user_attrs: 448 assert user_attrs[attr].signature == 's' 449 assert user_attrs[attr].variant_level == 1 450 assert user_attrs[attr][0] == expected[attr] 468 user_attrs [all...] |
/sssd-io/src/util/ |
H A D | sss_selinux.c | 197 struct sysdb_attrs *user_attrs; local 225 user_attrs = talloc_zero(tmp_ctx, struct sysdb_attrs); 226 if (user_attrs == NULL) { 230 user_attrs->a = talloc_steal(user_attrs, user_msg->elements); 231 user_attrs->num = user_msg->num_elements; 233 *_user_attrs = talloc_steal(mem_ctx, user_attrs);
|
/sssd-io/src/responder/pac/ |
H A D | pacsrv_cmd.c | 230 struct sysdb_attrs *user_attrs; local 241 user_attrs = sysdb_new_attrs(pr_ctx); 242 if (user_attrs == NULL) { 248 ret = sysdb_attrs_add_mem(user_attrs, SYSDB_PAC_BLOB, pr_ctx->blob, 255 ret = sysdb_attrs_add_time_t(user_attrs, SYSDB_PAC_BLOB_EXPIRE, 263 result->msgs[0]->dn, user_attrs,
|
/sssd-io/src/tests/cmocka/ |
H A D | test_sysdb_ts_cache.c | 936 struct sysdb_attrs *user_attrs = NULL; local 952 user_attrs, NULL, TEST_CACHE_TIMEOUT, 965 user_attrs = create_modstamp_attrs(test_ctx, TEST_MODSTAMP_1); 966 assert_non_null(user_attrs); 971 user_attrs, NULL, TEST_CACHE_TIMEOUT, 984 talloc_free(user_attrs); 985 user_attrs = create_modstamp_attrs(test_ctx, TEST_MODSTAMP_2); 986 assert_non_null(user_attrs); 991 user_attrs, NULL, TEST_CACHE_TIMEOUT, 1002 talloc_free(user_attrs); 1025 struct sysdb_attrs *user_attrs = NULL; local 1103 struct sysdb_attrs *user_attrs = NULL; local 1210 struct sysdb_attrs *user_attrs = NULL; local 1284 struct sysdb_attrs *user_attrs = NULL; local [all...] |
H A D | test_sysdb_views.c | 450 const char *user_attrs[] = { SYSDB_NAME, local 497 user_attrs, &msg); 507 user_attrs, &msg);
|
/sssd-io/src/providers/ldap/ |
H A D | sdap_async_users.c | 139 static int sdap_user_set_mpg(struct sysdb_attrs *user_attrs, argument 155 ret = sysdb_attrs_add_uint32(user_attrs, 191 struct sysdb_attrs *user_attrs; local 215 user_attrs = sysdb_new_attrs(tmpctx); 216 if (user_attrs == NULL) { 226 ret = sysdb_attrs_add_string(user_attrs, SYSDB_SID_STR, sid_str); 245 user_attrs, SYSDB_UUID); 274 ret = sysdb_attrs_add_string(user_attrs, SYSDB_FULLNAME, fullname); 358 ret = sdap_set_non_posix_flag(user_attrs, 400 ret = sdap_user_set_mpg(user_attrs, [all...] |
H A D | sdap_async_initgroups.c | 2691 const char **user_attrs; member in struct:sdap_get_initgr_state 2875 NULL, &state->user_attrs, NULL); 2919 state->filter, state->user_attrs,
|
/sssd-io/src/providers/ad/ |
H A D | ad_pac.c | 34 const char *user_attrs[] = { SYSDB_NAME, SYSDB_OBJECTCATEGORY, local 55 user_attrs, &msg); 60 user_attrs, &msg); 64 user_attrs, &res); 80 user_attrs, &msg);
|
/sssd-io/src/providers/ipa/ |
H A D | ipa_subdomains_ext_groups.c | 315 struct sysdb_attrs *user_attrs; local 358 user_attrs = sysdb_new_attrs(tmp_ctx); 359 if (user_attrs == NULL) { 365 ret = sysdb_attrs_add_string(user_attrs, SYSDB_ORIG_MEMBEROF, 372 ret = sysdb_set_entry_attr(user_dom->sysdb, user_dn, user_attrs,
|
/sssd-io/src/db/ |
H A D | sysdb_views.c | 1255 static const char *user_attrs[] = SYSDB_PW_ATTRS; local 1281 attrs = user_attrs; 1401 static const char *user_attrs[] = SYSDB_PW_ATTRS; local 1467 attrs = user_attrs;
|
H A D | sysdb_ops.c | 5060 const char *user_attrs[] = SYSDB_PW_ATTRS; local 5062 return sysdb_search_object_by_cert(mem_ctx, domain, cert, user_attrs, res);
|
/sssd-io/src/tests/ |
H A D | sysdb-tests.c | 1518 struct sysdb_attrs *user_attrs; local 1530 user_attrs = sysdb_new_attrs(test_ctx); 1531 fail_if(user_attrs == NULL); 1533 ret = sysdb_attrs_add_bool(user_attrs, SYSDB_POSIX, false); 1537 "/home/userhome", "/bin/bash", NULL, user_attrs, 0, 0); 3734 struct sysdb_attrs *user_attrs; local 3749 user_attrs = sysdb_new_attrs(test_ctx); 3750 fail_unless(user_attrs != NULL, "sysdb_new_attrs failed"); 3752 ret = sysdb_attrs_add_string(user_attrs, SYSDB_NAME_ALIAS, fq_alias); 3755 ret = sysdb_attrs_add_string(user_attrs, SYSDB_UP 4285 static const char *user_attrs[] = SYSDB_PW_ATTRS; local [all...] |