/sssd/src/util/ |
H A D | sss_python.c | 25 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 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 | 291 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 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.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/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_hbac_rules.c | 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->basedn, base->scope,
|
H A D | ipa_hosts.c | 125 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 D | ipa_hbac_services.c | 132 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 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/src/confdb/ |
H A D | confdb.c | 1543 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 D | sssd_dbus_interface.c | 316 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
|