/sssd-io/src/util/ |
H A D | strtonum.h | 29 int32_t strtoint32(const char *nptr, char **endptr, int base); 30 uint32_t strtouint32(const char *nptr, char **endptr, int base); 32 uint16_t strtouint16(const char *nptr, char **endptr, int base);
|
H A D | strtonum.c | 30 int32_t strtoint32(const char *nptr, char **endptr, int base) argument 35 ret = strtoll(nptr, endptr, base); 52 uint32_t strtouint32(const char *nptr, char **endptr, int base) argument 56 ret = strtoull(nptr, endptr, base); 69 uint16_t strtouint16(const char *nptr, char **endptr, int base) argument 73 ret = strtoull(nptr, endptr, base);
|
H A D | sss_python.c | 24 sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict) argument 27 return PyErr_NewExceptionWithDoc(name, doc, base, dict); 51 ret = PyErr_NewException(name, base, dict);
|
H A D | mmap_cache.h | 48 #define MC_PTR_DIFF(ptr, base) ((uint8_t *)(ptr) - (uint8_t *)(base)) 66 #define MC_PTR_TO_SLOT(base, ptr) (MC_PTR_DIFF(ptr, base) / MC_SLOT_SIZE) 67 #define MC_SLOT_TO_PTR(base, slot, type) \ 68 (type *)((base) + ((slot) * MC_SLOT_SIZE)) 98 rel_ptr_t data_table; /* data table pointer relative to mmap base */ 99 rel_ptr_t free_table; /* free table pointer relative to mmap base */ 100 rel_ptr_t hash_table; /* hash table pointer relative to mmap base */ 121 rel_ptr_t name; /* ptr to name string, rel. to struct base add [all...] |
H A D | sss_ldap.c | 327 struct sdap_search_base *base; local 352 base = search_bases[i]; 353 basedn_len = strlen(base->basedn); 360 base_confirmed = (strncasecmp(&dn[len_diff], base->basedn, basedn_len) == 0); 366 switch (base->scope) { 368 /* dn > base? */ 381 for (j = 0; j < len_diff - 1; j++) { /* ignore comma before base */ 399 /* dn length >= base dn length && base_confirmed == true */ 402 DEBUG(SSSDBG_FUNC_DATA, "Unsupported scope: %d\n", base->scope); 416 if (base [all...] |
H A D | sss_python.h | 33 sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict);
|
/sssd-io/src/providers/ldap/ |
H A D | sdap_range.c | 39 char *base; local 62 /* This is a complex attribute. First get the base attribute name */ 63 base = talloc_strndup(tmp_ctx, attr_desc, 65 if (!base) { 71 attr_desc, base); 113 *base_attr = talloc_steal(mem_ctx, base); 133 *base_attr = talloc_steal(mem_ctx, base); 136 base, *range_offset);
|
H A D | sdap_async_hosts.c | 108 DEBUG(SSSDBG_CRIT_FAILURE, "No host search base configured?\n"); 131 struct sdap_search_base *base; local 134 base = state->search_bases[state->search_base_iter]; 135 if (base == NULL) { 141 base->filter); 147 state->sh, base->basedn, 148 base->scope, state->cur_filter,
|
H A D | sdap.c | 1064 struct sdap_search_base *base; local 1083 base = talloc_zero(tmp_ctx, struct sdap_search_base); 1084 if (base == NULL) { 1089 base->basedn = talloc_strdup(base, unparsed_base); 1090 if (base->basedn == NULL) { 1103 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid base DN [%s]\n", unparsed_base); 1108 base->scope = scope; 1109 base->filter = filter; 1111 *_base = talloc_steal(mem_ctx, base); [all...] |
/sssd-io/src/providers/ipa/ |
H A D | ipa_config.c | 30 char *base; member in struct:ipa_get_config_state 77 state->base = talloc_asprintf(state, IPA_CONFIG_SEARCH_BASE_TEMPLATE, 79 if (state->base == NULL) { 86 sh, state->base,
|
H A D | ipa_hbac_rules.c | 170 /* ipa_hbac_rule_info_next should always have a search base when 178 DEBUG(SSSDBG_CRIT_FAILURE, "No search base found\n"); 201 struct sdap_search_base *base; local 203 base = state->search_bases[state->search_base_iter]; 204 if (base == NULL) { 210 base->filter); 215 DEBUG(SSSDBG_TRACE_FUNC, "Sending request for next search base: " 216 "[%s][%d][%s]\n", base->basedn, base->scope, 220 base [all...] |
H A D | ipa_selinux_maps.c | 115 struct sdap_search_base *base; local 118 base = state->search_bases[state->search_base_iter]; 119 if (base == NULL) { 125 base->filter); 131 "parameters: [%d][%s][%s]\n", base->scope, 132 state->cur_filter, base->basedn); 134 state->sh, base->basedn, 135 base->scope, state->cur_filter, 169 "Found %zu user maps in current search base\n", count);
|
H A D | ipa_hbac_services.c | 133 struct sdap_search_base *base; local 135 base = state->search_bases[state->search_base_iter]; 136 if (base == NULL) { 142 base->filter); 147 DEBUG(SSSDBG_TRACE_FUNC, "Sending request for next search base: " 148 "[%s][%d][%s]\n", base->basedn, base->scope, 151 base->basedn, base->scope, 246 struct sdap_search_base *base; local [all...] |
H A D | ipa_deskprofile_rules.c | 221 /* ipa_deskprofile_rule_info_next should always have a search base 229 DEBUG(SSSDBG_CRIT_FAILURE, "No search base found\n"); 252 struct sdap_search_base *base; local 254 base = state->search_bases[state->search_base_iter]; 255 if (base == NULL) { 261 base->filter); 267 "Sending request for next search base: [%s][%d][%s]\n", 268 base->basedn, base->scope, state->cur_filter); 271 base [all...] |
H A D | ipa_hosts.c | 146 DEBUG(SSSDBG_CRIT_FAILURE, "No host search base configured?\n"); 199 struct sdap_search_base *base; local 202 base = state->search_bases[state->search_base_iter]; 203 if (base == NULL) { 209 base->filter); 215 base->basedn, base->scope, 281 /* Now look in the next base */
|
/sssd-io/src/systemtap/ |
H A D | sssd_probes.d | 21 probe sdap_get_generic_ext_send(const char *base, int scope, const char *filter); 22 probe sdap_get_generic_ext_recv(const char *base, int scope, const char *filter);
|
/sssd-io/src/sbus/ |
H A D | sssd_dbus.h | 221 const char *base, 224 #define sbus_opath_compose(mem_ctx, base, ...) \ 225 _sbus_opath_compose(mem_ctx, base, ##__VA_ARGS__, NULL)
|
H A D | sssd_dbus_interface.c | 317 const char *base, 324 if (base == NULL) { 325 DEBUG(SSSDBG_OP_FAILURE, "Wrong object path base!\n"); 329 path = talloc_strdup(mem_ctx, base); 316 _sbus_opath_compose(TALLOC_CTX *mem_ctx, const char *base, const char *part, ...) argument
|
/sssd-io/src/shared/ |
H A D | safealign.h | 41 #define PADDING_SIZE(base, type) \ 42 ((sizeof(type) - ((base) % sizeof(type))) % sizeof(type))
|
/sssd-io/src/providers/ad/ |
H A D | ad_domain_info.c | 240 struct sdap_search_base *base; local 246 base = state->opts->sdom->search_bases[state->base_iter]; 247 if (base == NULL) { 254 base->basedn, LDAP_SCOPE_BASE,
|
H A D | ad_pac.c | 193 info3->sidcount + info3->base.groups.count + 2, 203 err = sss_idmap_smb_sid_to_sid(idmap_ctx, info3->base.domain_sid, 224 (unsigned long) info3->base.rid); 243 (unsigned long) info3->base.primary_gid); 269 for (s = 0; s < info3->base.groups.count; s++) { 272 (unsigned long) info3->base.groups.rids[s].rid);
|
/sssd-io/src/responder/pac/ |
H A D | pacsrv_cmd.c | 113 pr_ctx->domain_name = pr_ctx->logon_info->info3.base.logon_domain.string; 121 pr_ctx->logon_info->info3.base.domain_sid, 133 pr_ctx->logon_info->info3.base.rid);
|
/sssd-io/src/tests/intg/ |
H A D | sssd_ldb.py | 82 res = dbconn.search(base=basedn, scope=ldb.SCOPE_BASE, attrs=[attr])
|
/sssd-io/src/responder/nss/ |
H A D | nsssrv_mmap_cache.c | 63 void *mmap_base; /* base address of mmap */ 77 #define MC_FIND_BIT(base, num) \ 79 uint8_t *b = (base) + n / 8; \ 82 #define MC_SET_BIT(base, num) do { \ 83 MC_FIND_BIT(base, num) \ 87 #define MC_CLEAR_BIT(base, num) do { \ 88 MC_FIND_BIT(base, num) \ 92 #define MC_PROBE_BIT(base, num, used) do { \ 93 MC_FIND_BIT(base, num) \
|
/sssd-io/src/tests/cmocka/ |
H A D | test_ad_common.c | 228 assert_string_equal(logon_info->info3.base.account_name.string, "tu1"); 229 assert_string_equal(logon_info->info3.base.full_name.string, "t u"); 230 assert_int_equal(logon_info->info3.base.rid, 1104); 231 assert_int_equal(logon_info->info3.base.primary_gid, 513); 232 assert_int_equal(logon_info->info3.base.groups.count, 5); 233 assert_string_equal(logon_info->info3.base.logon_domain.string, "AD");
|