/sssd-io/src/util/ |
H A D | util_ext.c | 41 char **list = NULL; local 85 /* Copy the substring to the output list of strings */ 87 list = talloc_realloc(tmp_ctx, list, char*, num_strings + 2); 88 if (list == NULL) { 94 list[num_strings] = talloc_strndup(list, substr_begin, substr_len); 95 if (list[num_strings] == NULL) { 104 if (list == NULL) { 106 list 125 string_in_list(const char *string, char **list, bool case_sensitive) argument [all...] |
/sssd-io/src/db/ |
H A D | sysdb_ranges.c | 58 struct range_info **list; local 81 list = talloc_zero_array(tmp_ctx, struct range_info *, res->count + 1); 82 if (list == NULL) { 88 list[c] = talloc_zero(list, struct range_info); 89 if (list[c] == NULL) { 101 list[c]->name = talloc_strdup(list, tmp_str); 102 if (list[c]->name == NULL) { 110 list[ [all...] |
/sssd-io/src/providers/data_provider/ |
H A D | dp_request_reply.c | 98 static void dp_req_reply_list_error(struct dp_sbus_req_item *list, argument 111 for (item = list; item != NULL; item = next_item) { 119 for (item = list; item != NULL; item = next_item) { 128 static void dp_req_reply_list_success(struct dp_sbus_req_item *list, argument 138 for (item = list; item != NULL; item = next_item) { 352 dp_req_reply_list_error(value->list, state->name, ret); 365 dp_req_reply_list_success(value->list, state->reply_fn,
|
H A D | dp_private.h | 93 /* Table containing list of sbus_requests where DP sends reply when 95 * <tevent_req, list of sbus_request> 150 struct dp_sbus_req_item *list; member in struct:dp_table_value
|
/sssd-io/src/providers/ |
H A D | data_provider_callbacks.c | 37 struct be_cb **list; member in struct:be_cb 49 DLIST_REMOVE(*(cb->list), cb); 70 new_cb->list = cb_list; 191 DEBUG(SSSDBG_TRACE_INTERNAL, "Reconnect call back list is empty, nothing to do.\n"); 233 "Online call back list is empty, nothing to do.\n"); 284 "Offline call back list is empty, nothing to do.\n");
|
/sssd-io/src/responder/common/cache_req/ |
H A D | cache_req_domain.c | 114 * - the presence of a domains' resolution order list; 154 * the list adding its domains to the flatten cache req domains' list */ 187 * to the flatten cache req domains' list */ 232 char **list = NULL; local 243 "Domain resolution order list (split by ':'): \"%s\"\n", 247 true, true, &list, NULL); 256 "Domain resolution order list: ':' " 261 "Domain resolution order list: not set\n"); 265 list); [all...] |
/sssd-io/src/sbus/ |
H A D | sssd_dbus_common.c | 34 static struct sbus_watch_ctx *fd_to_watch(struct sbus_watch_ctx *list, int fd) argument 38 watch_iter = list;
|
H A D | sssd_dbus_utils.c | 114 } list[] = { { SBUS_ERROR_INTERNAL, ERR_INTERNAL }, local 127 for (i = 0; list[i].name != NULL; i++) { 128 if (dbus_error_has_name(error, list[i].name)) { 129 return list[i].ret;
|
/sssd-io/src/tests/ |
H A D | common_dom.c | 83 char *list = NULL; local 94 /* get current domain list */ 96 NULL, &list); 102 if (list != NULL) { 103 ret = split_on_separator(tmp_ctx, list, ',', true, true, &array, NULL); 116 /* add domain to the list of enabled domains */ 118 if (list == NULL) { 119 list = talloc_strdup(tmp_ctx, name); 121 list = talloc_asprintf_append(list, ", [all...] |
H A D | dlopen-tests.c | 195 static void remove_library_from_list(const char *library, char **list, argument 199 if (list[i] != NULL && strcmp(library, list[i]) == 0) { 200 /* found library need to be removed from list */ 201 free(list[i]); 202 list[i] = NULL;
|
/sssd-io/src/tests/cwrap/ |
H A D | test_responder_common.c | 48 uid_t *list; local 55 ret = csv_string_to_uid_array(tmp_ctx, "1, 2, 3", false, &count, &list); 58 assert_int_equal(list[0], 1); 59 assert_int_equal(list[1], 2); 60 assert_int_equal(list[2], 3); 62 talloc_free(list); 72 uid_t *list; local 79 ret = csv_string_to_uid_array(tmp_ctx, "sssd, foobar", true, &count, &list); 82 assert_int_equal(list[0], 123); 83 assert_int_equal(list[ 95 uid_t *list = NULL; local [all...] |
/sssd-io/src/tests/intg/ |
H A D | secrets.py | 98 def list(self, **kwargs): member in class:SecretsHttpClient 113 res = self.list()
|
/sssd-io/src/providers/ipa/ |
H A D | ipa_hbac_common.c | 30 struct sysdb_attrs **list) 36 ret = sysdb_attrs_replace_name(list[i], old_name, new_name); 28 replace_attribute_name(const char *old_name, const char *new_name, const size_t count, struct sysdb_attrs **list) argument
|
H A D | ipa_rules_common.c | 31 struct sysdb_attrs **list) 61 ret = sysdb_attrs_get_el(list[c], naming_attribute, &el); 80 ret = sysdb_store_custom(domain, object_name, subdir, list[c]); 26 ipa_common_save_list(struct sss_domain_info *domain, bool delete_subdir, const char *subdir, const char *naming_attribute, size_t count, struct sysdb_attrs **list) argument
|
H A D | ipa_common.c | 859 char **list = NULL; local 870 /* split server parm into a list */ 871 ret = split_on_separator(tmp_ctx, servers, ',', true, true, &list, NULL); 873 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to parse server list!\n"); 877 for (j = 0; list[j]; j++) { 878 if (resolv_is_address(list[j])) { 881 "this can cause GSSAPI problems\n", list[j]); 886 for (i = 0; list[i]; i++) { 888 talloc_steal(service, list[i]); 890 if (be_fo_is_srv_identifier(list[ [all...] |
H A D | ipa_init.c | 77 char **list = NULL; local 88 /* split server parm into a list */ 89 ret = split_on_separator(tmp_ctx, servers, ',', true, true, &list, NULL); 91 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to parse server list!\n"); 95 for (int i = 0; list[i]; i++) { 96 has_srv = be_fo_is_srv_identifier(list[i]);
|
/sssd-io/src/providers/krb5/ |
H A D | krb5_utils.c | 473 char **list; local 476 ret = split_on_separator(mem_ctx, tuple, ':', true, true, &list, &n); 491 *_first = list[0]; 492 *_second = list[1];
|
/sssd-io/src/providers/ldap/ |
H A D | ldap_init.c | 43 errno_t check_order_list_for_duplicates(char **list, argument 50 for (c = 0; list[c] != NULL; c++) { 51 for (d = c + 1; list[d] != NULL; d++) { 53 cmp = strcmp(list[c], list[d]); 55 cmp = strcasecmp(list[c], list[d]); 59 "Duplicate string [%s] found.\n", list[c]);
|
/sssd-io/src/providers/simple/ |
H A D | simple_access.c | 40 char **list, 52 if (list == NULL) { 64 for (size = 0; list[size] != NULL; size++) { 78 ret = sss_parse_name(tmp_ctx, be_ctx->domain->names, list[i], 143 DEBUG(SSSDBG_FUNC_DATA, "%s list is empty.\n", lists[i].name); 154 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse %s list [%d]: %s\n", 38 simple_access_parse_names(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, char **list, char ***_out) argument
|
/sssd-io/src/responder/common/ |
H A D | responder_cmd.c | 182 /* Need to modify the list from a talloc destructor */ 203 struct setent_req_list **list, 214 DLIST_ADD_END(*list, entry, struct setent_req_list *); 215 entry->head = list; 221 void setent_notify(struct setent_req_list **list, errno_t err) argument 226 while ((reql = *list) != NULL) { 228 * the request, removing it from the list. 236 if (reql == *list) { 244 *list = (*list) 202 setent_add_ref(TALLOC_CTX *memctx, struct setent_req_list **list, struct tevent_req *req) argument 249 setent_notify_done(struct setent_req_list **list) argument [all...] |
H A D | responder_utils.c | 30 attr_in_list(const char **list, size_t nlist, const char *str) argument 35 if (strcasecmp(list[i], str) == 0) { 48 const char **list = NULL; local 68 "Cannot parse attribute ACL list %s: %d\n", conf_str, ret); 108 list = talloc_zero_array(tmp_ctx, const char *, list_size + 1); 109 if (list == NULL) { 120 list[li] = talloc_strdup(list, allow[i]); 121 if (list[li] == NULL) { 138 list[l [all...] |
/sssd-io/src/responder/ifp/ |
H A D | ifp_components.c | 158 const char **list = NULL; local 166 list = talloc_array(mem_ctx, const char*, num); 167 if (list == NULL) { 173 list[i] = sbus_opath_compose(list, PATH_RESPONDERS, svc[i]); 174 if (list[i] == NULL) { 181 *_list = list; 186 talloc_free(list); 198 const char **list = NULL; local 216 list [all...] |
/sssd-io/src/sss_client/idmap/ |
H A D | sss_nss_idmap.c | 143 struct sss_nss_kv *list; local 158 list = calloc((count + 1), sizeof(struct sss_nss_kv)); 159 if (list == NULL) { 165 list[c].key = strdup((char *) p); 166 if (list[c].key == NULL) { 178 list[c].value = strdup((char *) p); 179 if (list[c].value == NULL) { 192 *kv_list = list; 198 sss_nss_free_kv(list);
|
/sssd-io/src/lib/certmap/ |
H A D | sss_cert_content_nss.c | 227 const char **list = NULL; local 230 list = talloc_zero_array(mem_ctx, const char *, c + 1); 231 if (list == NULL) { 236 ret = get_rdn_str(list, rdns[c]->avas, 237 &(list[c])); 247 *rdn_list = list; 249 talloc_free(list); 666 struct san_list *list = NULL; local 706 DLIST_ADD(list, item_s); 715 DLIST_ADD(list, item_ [all...] |
/sssd-io/src/p11_child/ |
H A D | p11_child_nss.c | 140 PK11SlotList *list = NULL; local 189 list = PK11_GetAllTokens(CKM_INVALID_MECHANISM, PR_FALSE, PR_TRUE, 191 if (list == NULL) { 196 for (le = list->head; le; le = le->next) { 209 PK11_FreeSlotList(list); 273 DEBUG(SSSDBG_TRACE_ALL, "--- empty cert list node ---\n"); 329 DEBUG(SSSDBG_TRACE_ALL, "--- empty cert list node ---\n"); 559 while (!PR_CLIST_IS_EMPTY(&valid_certs->list)) { 560 node = PR_LIST_HEAD(&valid_certs->list);
|