/sssd/src/util/cert/ |
H A D | cert_common.c | 74 const char *attr_name, 82 if (derb64 == NULL || attr_name == NULL) { 99 *ldap_filter = talloc_asprintf(mem_ctx, "(%s=%s)", attr_name, val); 73 sss_cert_derb64_to_ldap_filter(TALLOC_CTX *mem_ctx, const char *derb64, const char *attr_name, char **ldap_filter) argument
|
/sssd/src/db/ |
H A D | sysdb_ranges.c | 26 const char *attr_name, uint32_t *result) 30 val = ldb_msg_find_attr_as_uint64(msg, attr_name, UINT64_MAX); 25 find_attr_as_uint32_t(const struct ldb_message *msg, const char *attr_name, uint32_t *result) argument
|
H A D | sysdb_sudo.c | 484 const char *attr_name, 534 lret = ldb_msg_add_empty(msg, attr_name, LDB_FLAG_MOD_REPLACE, NULL); 541 lret = ldb_msg_add_fmt(msg, attr_name, "%lld", (long long)value); 566 const char *attr_name, 574 const char *attrs[2] = {attr_name, NULL}; 611 *value = ldb_msg_find_attr_as_int(res->msgs[0], attr_name, 0); 483 sysdb_sudo_set_refresh_time(struct sss_domain_info *domain, const char *attr_name, time_t value) argument 565 sysdb_sudo_get_refresh_time(struct sss_domain_info *domain, const char *attr_name, time_t *value) argument
|
H A D | sysdb_views.c | 1531 const char *attr_name) 1546 attr_name); 1559 val = ldb_msg_find_element(msg, attr_name); 1568 const char *attr_name, 1584 attr_name); 1598 val = ldb_msg_find_attr_as_uint64(msg, attr_name, default_value); 1607 const char *attr_name, 1623 attr_name); 1637 val = ldb_msg_find_attr_as_string(msg, attr_name, default_value); 1529 sss_view_ldb_msg_find_element(struct sss_domain_info *dom, const struct ldb_message *msg, const char *attr_name) argument 1566 sss_view_ldb_msg_find_attr_as_uint64(struct sss_domain_info *dom, const struct ldb_message *msg, const char *attr_name, uint64_t default_value) argument 1605 sss_view_ldb_msg_find_attr_as_string(struct sss_domain_info *dom, const struct ldb_message *msg, const char *attr_name, const char * default_value) argument
|
H A D | sysdb.c | 203 const char *attr_name = NULL; local 222 attr_name = ldb_dn_get_rdn_name(ldb_dn); 223 if (attr_name == NULL) { 228 *_name = talloc_strdup(mem_ctx, attr_name); 756 const char *attr_name, 766 ret = sysdb_attrs_get_el(attrs, attr_name, &el); 970 /* Search for all incidences of attr_name in a list of 980 const char *attr_name, 991 /* Assume that every attrs entry contains the attr_name 1006 if (strcasecmp(attrs[attr_idx]->a[i].name, attr_name) 755 sysdb_attrs_users_from_str_list(struct sysdb_attrs *attrs, const char *attr_name, const char *domain, const char *const *list) argument 977 sysdb_attrs_to_list(TALLOC_CTX *mem_ctx, struct sysdb_attrs **attrs, int attr_count, const char *attr_name, char ***_list) argument 1045 sysdb_get_bool(struct sysdb_ctx *sysdb, struct ldb_dn *dn, const char *attr_name, bool *value) argument 1102 sysdb_set_bool(struct sysdb_ctx *sysdb, struct ldb_dn *dn, const char *cn_value, const char *attr_name, bool value) argument [all...] |
/sssd/src/providers/ldap/ |
H A D | ldap_id_services.c | 76 const char *attr_name; local 104 attr_name = id_ctx->opts->service_map[SDAP_AT_SERVICE_NAME].name; 107 attr_name = id_ctx->opts->service_map[SDAP_AT_SERVICE_PORT].name; 125 attr_name, clean_name, 132 attr_name, clean_name,
|
H A D | sdap_utils.c | 27 const char *attr_name, 36 const char *desc = attr_desc ?: attr_name; 40 ret = sysdb_attrs_get_el(ldap_attrs, attr_name, &el); 44 attr_name, ret, strerror(ret)); 65 ret = sysdb_attrs_add_mem(attrs, attr_name, el->values[i].data, 232 const char *attr_name, 239 if (attr_name == NULL || princ == NULL || sdap_basic_opts == NULL) { 253 return talloc_asprintf(mem_ctx, "(%s=%.*s\\\\@%s@%s)", attr_name, 26 sdap_attrs_add_ldap_attr(struct sysdb_attrs *ldap_attrs, const char *attr_name, const char *attr_desc, bool multivalued, const char *name, struct sysdb_attrs *attrs) argument 231 get_enterprise_principal_string_filter(TALLOC_CTX *mem_ctx, const char *attr_name, const char *princ, struct dp_option *sdap_basic_opts) argument
|
H A D | ldap_id.c | 84 const char *attr_name = NULL; local 122 attr_name = ctx->opts->user_map[SDAP_AT_USER_NAME].name; 153 attr_name = ctx->opts->user_map[SDAP_AT_USER_NAME].name; 202 attr_name = ctx->opts->user_map[SDAP_AT_USER_OBJECTSID].name; 210 attr_name = ctx->opts->user_map[SDAP_AT_USER_UID].name; 218 attr_name = ctx->opts->user_map[SDAP_AT_USER_OBJECTSID].name; 226 attr_name = ctx->opts->user_map[SDAP_AT_USER_UUID].name; 227 if (attr_name == NULL) { 240 attr_name = ctx->opts->user_map[SDAP_AT_USER_CERT].name; 241 if (attr_name 662 const char *attr_name = NULL; local [all...] |
H A D | sdap_access.c | 61 const char *attr_name, 1209 const char *attr_name, 1222 ret = sysdb_attrs_add_bool(attrs, attr_name, value); 1207 sdap_save_user_cache_bool(struct sss_domain_info *domain, const char *username, const char *attr_name, bool value) argument
|
H A D | sdap.c | 1575 const char *attr_name, 1583 ret = sysdb_attrs_primary_name(dom->sysdb, attrs, attr_name, &orig_name); 1597 const char *attr_name, 1612 ret = sdap_get_primary_name(tmp_ctx, attr_name, attrs, dom, &shortname); 1574 sdap_get_primary_name(TALLOC_CTX *memctx, const char *attr_name, struct sysdb_attrs *attrs, struct sss_domain_info *dom, const char **_primary_name) argument 1596 sdap_get_primary_fqdn(TALLOC_CTX *mem_ctx, const char *attr_name, struct sysdb_attrs *attrs, struct sss_domain_info *dom, const char **_primary_fqdn) argument
|
/sssd/src/tests/cmocka/ |
H A D | test_ifp.c | 145 char *attr_name; local 187 dbus_message_iter_get_basic(&iter_dict, &attr_name); 188 assert_string_equal(attr_name, "numbers");
|
/sssd/src/providers/ipa/ |
H A D | ipa_hbac_common.c | 95 const char *primary_subdir, const char *attr_name, 121 attr_name, primary_count, primary); 94 ipa_hbac_sysdb_save(struct sss_domain_info *domain, const char *primary_subdir, const char *attr_name, size_t primary_count, struct sysdb_attrs **primary, const char *group_subdir, const char *groupattr_name, size_t group_count, struct sysdb_attrs **groups) argument
|
H A D | ipa_sudo_async.c | 44 const char *attr_name) 64 filter = talloc_asprintf_append(filter, "(%s=%s)", attr_name, sanitizeddn); 42 ipa_sudo_filter_append_origdn(char *filter, struct sysdb_attrs *attrs, const char *attr_name) argument
|
/sssd/src/tools/ |
H A D | sss_sync_ops.c | 207 const char *attr_name = NULL; local 215 attr_name = SYSDB_SHELL; 217 attr_name, 222 attr_name = SYSDB_HOMEDIR; 224 attr_name, 229 attr_name = SYSDB_GECOS; 231 attr_name, 236 attr_name = SYSDB_UIDNUM; 238 attr_name, 243 attr_name [all...] |
/sssd/src/tools/sssctl/ |
H A D | sssctl_cache.c | 33 #define SSSCTL_CACHE_NAME {_("Name"), SYSDB_NAME, attr_name} 90 static errno_t attr_name(TALLOC_CTX *mem_ctx, function 291 const char *attr_name, 299 if (strcmp(attr_name, SYSDB_NAME) == 0) { 331 class, attr_name, filter_value); 342 const char *attr_name, 377 attr_name, attr_value); 421 const char *attr_name, 454 obj_type, attr_name, sanitized, attrs, 477 const char *attr_name, 288 sssctl_create_filter(TALLOC_CTX *mem_ctx, struct sss_domain_info *dom, enum cache_object obj_type, const char *attr_name, const char *attr_value) argument 337 sssctl_find_object(TALLOC_CTX *mem_ctx, struct sss_domain_info *domains, struct sss_domain_info *domain, sssctl_basedn_fn basedn_fn, enum cache_object obj_type, const char *attr_name, const char *attr_value, const char **attrs, struct sysdb_attrs **_entry, struct sss_domain_info **_dom) argument 415 sssctl_fetch_object(TALLOC_CTX *mem_ctx, struct sssctl_object_info *info, struct sss_domain_info *domains, struct sss_domain_info *domain, sssctl_basedn_fn basedn_fn, enum cache_object obj_type, const char *attr_name, const char *attr_value, struct sysdb_attrs **_entry, struct sss_domain_info **_dom) argument 471 sssctl_print_object(struct sssctl_object_info *info, struct sss_domain_info *domains, struct sss_domain_info *domain, sssctl_basedn_fn basedn_fn, const char *noent_fmt, enum cache_object obj_type, const char *attr_name, const char *attr_value) argument [all...] |
/sssd/src/tests/ |
H A D | sbus_codegen_tests.c | 1416 char *attr_name; local 1476 dbus_message_iter_get_basic(&dictiter, &attr_name); 1484 if (strcmp(attr_name, pilot_properties[i].name) == 0) {
|