/sssd-io/src/util/ |
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 | 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_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...] |
/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_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_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_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_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 */
|
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_subdomains.c | 907 DEBUG(SSSDBG_TRACE_FUNC, "No search base is set\n"); 1137 DEBUG(SSSDBG_TRACE_FUNC, "No search base is set\n"); 1297 DEBUG(SSSDBG_TRACE_FUNC, "No search base is set\n"); 1683 char *base; local 1702 base = talloc_asprintf(state, "cn=%s,cn=views,cn=accounts,%s", 1704 if (base == NULL) { 1712 base, LDAP_SCOPE_BASE, NULL, attrs, NULL, 0,
|
/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,
|
/sssd-io/src/sbus/ |
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/confdb/ |
H A D | confdb.c | 1637 struct ldb_dn *base = NULL; local 1656 base = ldb_dn_new(tmp_ctx, cdb->ldb, secdn); 1657 if (base == NULL) { 1662 base_comp_num = ldb_dn_get_comp_num(base); 1664 ret = ldb_search(cdb->ldb, tmp_ctx, &res, base, LDB_SCOPE_SUBTREE,
|