/sssd/src/confdb/ |
H A D | confdb_setup.c | 141 const char *vals[2] = { timestr, NULL }; local 322 ret = confdb_add_param(cdb, true, "config", "lastUpdate", vals);
|
H A D | confdb.c | 234 char **vals; local 264 vals = talloc_zero(mem_ctx, char *); 270 vals = talloc_realloc(mem_ctx, vals, char *, el->num_values +1); 271 if (!vals) { 278 vals[i] = talloc_strndup(vals, (char *)v.data, v.length); 279 if (!vals[i]) { 284 vals[i] = NULL; 288 *values = vals; [all...] |
/sssd/src/tools/ |
H A D | sss_sync_ops.c | 45 const char *vals; local 53 vals = strchr(nameval, ATTR_NAME_SEP); 54 if (vals == NULL) { 59 name = talloc_strndup(tmp_ctx, nameval, vals-nameval); 64 vals++; 66 ret = split_on_separator(tmp_ctx, vals, ATTR_VAL_SEP, true, true, 87 char **vals; local 109 ret = attr_name_val_split(tmp_ctx, nameval, &name, &vals, &nvals); 115 ret = sysdb_attrs_add_string(attrs, name, vals[i]); 118 "Could not add %s to %s\n", vals[ [all...] |
/sssd/src/providers/ipa/ |
H A D | ipa_subdomains.c | 1030 char **vals = NULL; local 1059 &vals); 1065 if (vals[0]) {
|
/sssd/src/tests/cmocka/ |
H A D | test_sdap.c | 88 dval->vals = talloc_zero_array(dval, struct berval, nval+1); 89 assert_non_null(dval->vals); 91 dval->vals[nval].bv_val = talloc_strdup(dval->vals, 93 assert_non_null(dval->vals[nval].bv_val); 94 dval->vals[nval].bv_len = strlen(dval->vals[nval].bv_val); 133 struct berval **vals; local 159 vals = talloc_zero_array(global_talloc_context, 162 assert_non_null(vals); 179 __wrap_ldap_value_free_len(struct berval **vals) argument [all...] |
H A D | test_sss_sifp.c | 81 uint8_t *vals, 108 addr = vals + i*item_size; 78 reply_variant_array(DBusMessage *reply, const char *type, int num_vals, uint8_t *vals, unsigned int item_size) argument
|
/sssd/src/db/ |
H A D | sysdb.c | 495 struct ldb_val *vals; local 514 vals = talloc_realloc(attrs->a, el->values, 516 if (!vals) return ENOMEM; 518 vals[el->num_values] = ldb_val_dup(vals, val); 519 if (vals[el->num_values].data == NULL && 520 vals[el->num_values].length != 0) { 524 el->values = vals; 635 struct ldb_val *vals; local 643 vals 761 struct ldb_val *vals; local [all...] |
/sssd/src/ldb_modules/ |
H A D | memberof.c | 41 struct ldb_val *vals; member in struct:mbof_val_array 3602 if (strcmp((const char *) added->vals[i].data, 3603 (const char *) removed->vals[j].data) == 0) { 3610 removed->vals[j] = removed->vals[j+1]; 3614 added->vals[j] = added->vals[j+1]; 3664 parents, addgh->vals, addgh->num); 3733 delgh->vals, delgh->num); 3818 var->vals 4367 struct ldb_val *vals; local [all...] |
/sssd/src/providers/ldap/ |
H A D | sdap.c | 401 struct berval **vals; local 443 vals = ldap_get_values_len(sh->ldap, sm->msg, "objectClass"); 444 if (!vals) { 451 for (i = 0; vals[i]; i++) { 452 if (objectclass_matched(map, vals[i]->bv_val, vals[i]->bv_len)) { 457 if (!vals[i]) { 460 ldap_value_free_len(vals); 464 ldap_value_free_len(vals); 534 vals 926 sdap_init_sup_list(TALLOC_CTX *memctx, struct sup_list *list, int num, struct ldb_val *vals) argument [all...] |
H A D | sdap_async.c | 2438 struct berval **vals; local 2483 vals = ldap_get_values_len(sh->ldap, msg->msg, "objectClass"); 2484 if (!vals) { 2492 for (i = 0; vals[i]; i++) { 2495 vals[i]->bv_val, vals[i]->bv_len) == 0) { 2524 ldap_value_free_len(vals); 2680 struct berval **vals = NULL; local 2695 vals = ldap_get_values_len(sh->ldap, msg->msg, 2697 if (vals [all...] |
H A D | sdap.h | 72 char **vals; member in struct:sup_list
|
/sssd/src/responder/nss/ |
H A D | nsssrv_cmd.c | 4845 struct sized_string *vals; local 4851 vals = *_vals; 4860 vals = talloc_realloc(mem_ctx, vals, struct sized_string, 4862 if (keys == NULL || vals == NULL) { 4877 val.data = (uint8_t *) sss_base64_encode(vals, 4893 to_sized_string(&vals[*found], (const char *)val.data); 4894 *sum += vals[*found].len; 4902 *_vals = vals; 4941 struct sized_string *vals; local [all...] |