Searched refs:base (Results 1 - 25 of 25) sorted by relevance

/sssd/src/util/
H A Dstrtonum.h29 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 Dstrtonum.c30 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 Dsss_python.c25 sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict) argument
28 return PyErr_NewExceptionWithDoc(name, doc, base, dict);
52 ret = PyErr_NewException(name, base, dict);
H A Dmmap_cache.h48 #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 Dsss_ldap.c291 struct sdap_search_base *base; local
316 base = search_bases[i];
317 basedn_len = strlen(base->basedn);
324 base_confirmed = (strncasecmp(&dn[len_diff], base->basedn, basedn_len) == 0);
330 switch (base->scope) {
332 /* dn > base? */
345 for (j = 0; j < len_diff - 1; j++) { /* ignore comma before base */
363 /* dn length >= base dn length && base_confirmed == true */
366 DEBUG(SSSDBG_FUNC_DATA, "Unsupported scope: %d\n", base->scope);
380 if (base
[all...]
H A Dutil_safealign.h42 #define PADDING_SIZE(base, type) \
43 ((sizeof(type) - ((base) % sizeof(type))) % sizeof(type))
H A Dsss_python.h30 sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict);
/sssd/src/providers/ldap/
H A Dsdap_range.c39 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 Dsdap.c1064 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/src/providers/ipa/
H A Dipa_config.c30 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 Dipa_hbac_rules.c201 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->basedn, base->scope,
H A Dipa_selinux_maps.c115 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 Dipa_hosts.c125 DEBUG(SSSDBG_CRIT_FAILURE, "No host search base configured?\n");
148 struct sdap_search_base *base; local
151 base = state->search_bases[state->search_base_iter];
152 if (base == NULL) {
158 base->filter);
164 state->sh, base->basedn,
165 base->scope, state->cur_filter,
235 DEBUG(SSSDBG_CRIT_FAILURE, "No host search base configured?\n");
286 struct sdap_search_base *base; local
289 base
[all...]
H A Dipa_hbac_services.c132 struct sdap_search_base *base; local
134 base = state->search_bases[state->search_base_iter];
135 if (base == NULL) {
141 base->filter);
146 DEBUG(SSSDBG_TRACE_FUNC, "Sending request for next search base: "
147 "[%s][%d][%s]\n", base->basedn, base->scope,
150 base->basedn, base->scope,
245 struct sdap_search_base *base; local
[all...]
/sssd/src/systemtap/
H A Dsssd_probes.d21 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/src/sbus/
H A Dsssd_dbus.h222 const char *base,
225 #define sbus_opath_compose(mem_ctx, base, ...) \
226 _sbus_opath_compose(mem_ctx, base, ##__VA_ARGS__, NULL)
H A Dsssd_dbus_interface.c316 const char *base,
323 if (base == NULL) {
324 DEBUG(SSSDBG_OP_FAILURE, "Wrong object path base!\n");
328 path = talloc_strdup(mem_ctx, base);
315 _sbus_opath_compose(TALLOC_CTX *mem_ctx, const char *base, const char *part, ...) argument
/sssd/src/providers/ad/
H A Dad_domain_info.c240 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 Dad_pac.c193 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/src/tests/intg/
H A Dsssd_ldb.py82 res = dbconn.search(base=basedn, scope=ldb.SCOPE_BASE, attrs=[attr])
/sssd/src/responder/pac/
H A Dpacsrv_cmd.c113 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/src/responder/nss/
H A Dnsssrv_mmap_cache.c63 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/src/tests/cmocka/
H A Dtest_ad_common.c231 assert_string_equal(logon_info->info3.base.account_name.string, "tu1");
232 assert_string_equal(logon_info->info3.base.full_name.string, "t u");
233 assert_int_equal(logon_info->info3.base.rid, 1104);
234 assert_int_equal(logon_info->info3.base.primary_gid, 513);
235 assert_int_equal(logon_info->info3.base.groups.count, 5);
236 assert_string_equal(logon_info->info3.base.logon_domain.string, "AD");
/sssd/src/confdb/
H A Dconfdb.c1543 struct ldb_dn *base = NULL; local
1562 base = ldb_dn_new(tmp_ctx, cdb->ldb, secdn);
1563 if (base == NULL) {
1568 base_comp_num = ldb_dn_get_comp_num(base);
1570 ret = ldb_search(cdb->ldb, tmp_ctx, &res, base, LDB_SCOPE_SUBTREE,
/sssd/src/db/
H A Dsysdb.h800 #define SSS_LDB_SEARCH(ret, ldb, mem_ctx, _result, base, scope, attrs, \
804 _sls_lret = ldb_search(ldb, mem_ctx, _result, base, scope, attrs, \

Completed in 74 milliseconds