Lines Matching +defs:val +defs:entries

73     const char *val[2];
74 val[1] = NULL;
116 val[0] = "LOCAL";
118 "config/sssd", "domains", val);
125 val[0] = "local";
127 "config/domain/LOCAL", "id_provider", val);
134 val[0] = enumerate ? "TRUE" : "FALSE";
136 "config/domain/LOCAL", "enumerate", val);
143 val[0] = "TRUE";
145 "config/domain/LOCAL", "cache_credentials", val);
1446 "Invalid number of entries, expected 1, got %d", res->count);
1497 fail_if(res->count != 1, "Invalid number of entries, expected 1, got %d",
1544 fail_if(res->count != 1, "Invalid number of entries, expected 1, got %d",
2031 int val;
2044 val = ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_CACHEDPWD_TYPE, 0);
2045 fail_unless(val == SSS_AUTHTOK_TYPE_PASSWORD,
2047 val, SSS_AUTHTOK_TYPE_PASSWORD);
2058 val = ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_CACHEDPWD_TYPE, 0);
2059 fail_unless(val == SSS_AUTHTOK_TYPE_2FA,
2061 val, SSS_AUTHTOK_TYPE_2FA);
2063 val = ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_CACHEDPWD_FA2_LEN, 0);
2064 fail_unless(val == 12,
2066 val, 12);
2081 const char *val[2];
2082 val[1] = NULL;
2091 val[0] = "0";
2093 CONFDB_PAM_CRED_TIMEOUT, val);
2126 const char *val[2];
2127 val[1] = NULL;
2139 val[0] = "1";
2141 CONFDB_PAM_CRED_TIMEOUT, val);
4241 "Invalid number of entries, expected 1, got %d", res->count);
4277 const struct ldb_val *val;
4346 val = ldb_dn_get_component_val(msg->dn, 0);
4347 fail_unless(strcmp((char *)val->data, odd_username)==0,
4349 odd_username, (char *)val->data);
5042 struct ldb_val val = {discard_const(TEST_ATTR_VALUE),
5051 ret = sysdb_attrs_add_val(attrs, TEST_ATTR_NAME, &val);
5054 ret = sysdb_attrs_add_val(attrs, TEST_ATTR_NAME, &val);
5078 struct ldb_val val = {discard_const(TEST_ATTR_VALUE),
5087 ret = sysdb_attrs_add_val(attrs, TEST_ATTR_NAME, &val);
5090 ret = sysdb_attrs_add_val_safe(attrs, TEST_ATTR_NAME, &val);
5143 const char *val;
5174 ret = sysdb_attrs_get_string(dst, TEST_ATTR_NAME, &val);
5176 fail_unless(strcmp(val, TEST_ATTR_VALUE) == 0, "Wrong attribute value.");
5182 ret = sysdb_attrs_get_string(dst, TEST_ATTR_NAME, &val);
5184 fail_unless(strcmp(val, TEST_ATTR_VALUE) == 0, "Wrong attribute value.");
5215 ret = sysdb_attrs_get_string(dst, TEST_ATTR_NAME"_2nd", &val);
5217 fail_unless(strcmp(val, TEST_ATTR_VALUE) == 0, "Wrong attribute value.");
5476 /* Search by originalDN should yield 2 entries */
5489 fail_unless(num_msgs == 2, "Did not find the expected number of entries using "
5521 fail_unless(num_msgs == 1, "Did not find the expected number of entries using "
5557 fail_unless(num_msgs == 1, "Did not find the expected number of entries using "
5913 struct ldb_val val;
5926 val.data = sss_base64_decode(test_ctx, TEST_USER_CERT_DERB64, &val.length);
5927 fail_unless(val.data != NULL, "sss_base64_decode failed.");
5929 ret = sysdb_attrs_add_val(data->attrs, SYSDB_USER_MAPPED_CERT, &val);
5958 ret = sysdb_attrs_add_val(data2->attrs, SYSDB_USER_MAPPED_CERT, &val);
6366 struct ldb_message **entries;
6376 autofsmapname, &count, &entries);
6377 fail_if(ret != EOK, "Cannot get autofs entries for map %s\n",
6379 fail_if(count != expected, "Expected to find %d entries, got %d\n",
6444 fail_if(count != expected, "Found %d entries with name %s, expected %d\n",
6513 const char *val[2];
6514 val[1] = NULL;
6523 val[0] = "LOCAL";
6525 "config/sssd", "domains", val);
6528 val[0] = "local";
6530 "config/domain/LOCAL", "id_provider", val);
6951 const char *val[2];
6952 val[1] = NULL;
6961 val[0] = "LOCAL";
6963 "config/sssd", "domains", val);
6966 val[0] = "local";
6968 "config/domain/LOCAL", "id_provider", val);
6971 val[0] = "REMOTE";
6973 "config/sssd", "domains", val);
6976 val[0] = "local";
6978 "config/domain/REMOTE", "id_provider", val);
7376 /* Add user entries, converting the ghost attributes to member attributes */