Searched defs:base (Results 1 - 13 of 13) sorted by relevance

/sssd/src/util/
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 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_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...]
/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_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_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_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/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,
/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/sbus/
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

Completed in 59 milliseconds