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

12

/sssd/src/providers/ldap/
H A Dsdap_fd_events.c50 int remove_ldap_connection_callbacks(struct sdap_handle *sh) argument
55 if (sh->sdap_fd_events) {
57 talloc_zfree(sh->sdap_fd_events->conncb);
59 talloc_zfree(sh->sdap_fd_events->fde);
75 lret = ldap_get_option(cb_data->sh->ldap, LDAP_OPT_CONNECT_CB, conncb);
123 cb_data->sh);
174 static int sdap_install_ldap_callbacks(struct sdap_handle *sh, argument
180 if (sh->sdap_fd_events) {
187 sh->sdap_fd_events = talloc_zero(sh, struc
215 setup_ldap_connection_callbacks(struct sdap_handle *sh, struct tevent_context *ev) argument
272 sdap_set_connected(struct sdap_handle *sh, struct tevent_context *ev) argument
285 sdap_call_conn_cb(const char *uri,int fd, struct sdap_handle *sh) argument
[all...]
H A Dsdap_async.c53 static inline void sdap_handle_release(struct sdap_handle *sh);
58 struct sdap_handle *sh; local
60 sh = talloc_zero(memctx, struct sdap_handle);
61 if (!sh) return NULL;
63 talloc_set_destructor((TALLOC_CTX *)sh, sdap_handle_destructor);
65 return sh;
70 struct sdap_handle *sh = talloc_get_type(mem, struct sdap_handle); local
74 if (sh->destructor_lock) {
75 sh->release_memory = true;
79 sdap_handle_release(sh);
83 sdap_handle_release(struct sdap_handle *sh) argument
150 struct sdap_handle *sh = talloc_get_type(pvt, struct sdap_handle); local
260 sdap_process_message(struct tevent_context *ev, struct sdap_handle *sh, LDAPMessage *msg) argument
438 sdap_op_add(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, int msgid, sdap_op_callback_t *callback, void *data, int timeout, struct sdap_op **_op) argument
485 struct sdap_handle *sh; member in struct:sdap_exop_modify_passwd_state
496 sdap_exop_modify_passwd_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, char *user_dn, const char *password, const char *new_password, int timeout) argument
709 struct sdap_handle *sh; member in struct:update_last_changed_state
721 sdap_modify_shadow_lastchange_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, const char *dn, char *lastchanged_name) argument
844 struct sdap_handle *sh; member in struct:sdap_get_rootdse_state
852 sdap_get_rootdse_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh) argument
1102 sdap_print_server(struct sdap_handle *sh) argument
1157 struct sdap_handle *sh; member in struct:sdap_get_generic_ext_state
1200 sdap_get_generic_ext_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, int scope, const char *filter, const char **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls, int sizelimit, int timeout, sdap_parse_cb parse_cb, void *cb_data, unsigned int flags) argument
1706 sdap_get_and_parse_generic_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, int scope, const char *filter, const char **attrs, struct sdap_attr_map *map, int map_num_attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int sizelimit, int timeout, bool allow_paging) argument
1758 sdap_get_and_parse_generic_parse_entry(struct sdap_handle *sh, struct sdap_msg *msg, void *pvt) argument
1825 sdap_get_generic_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, int scope, const char *filter, const char **attrs, struct sdap_attr_map *map, int map_num_attrs, int timeout, bool allow_paging) argument
1904 struct sdap_handle *sh; member in struct:sdap_x_deref_search_state
1915 sdap_x_deref_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *filter, const char *deref_attr, const char **attrs, struct sdap_attr_map_info *maps, int num_maps, int timeout) argument
1969 sdap_x_deref_create_control(struct sdap_handle *sh, const char *deref_attr, const char **attrs, LDAPControl **ctrl) argument
2001 sdap_x_deref_parse_entry(struct sdap_handle *sh, struct sdap_msg *msg, void *pvt) argument
2149 sdap_sd_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, int sd_flags, const char **attrs, int timeout) argument
2197 sdap_sd_search_create_control(struct sdap_handle *sh, int val, LDAPControl **ctrl) argument
2234 sdap_sd_search_parse_entry(struct sdap_handle *sh, struct sdap_msg *msg, void *pvt) argument
2345 sdap_asq_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, struct sdap_attr_map_info *maps, int num_maps, int timeout) argument
2393 sdap_asq_search_create_control(struct sdap_handle *sh, const char *attr, LDAPControl **ctrl) argument
2431 sdap_asq_search_parse_entry(struct sdap_handle *sh, struct sdap_msg *msg, void *pvt) argument
2585 struct sdap_handle *sh; member in struct:sdap_posix_check_state
2597 sdap_posix_check_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **search_bases, int timeout) argument
2676 sdap_posix_check_parse(struct sdap_handle *sh, struct sdap_msg *msg, void *pvt) argument
2783 struct sdap_handle *sh; member in struct:sdap_deref_search_state
2797 sdap_deref_search_with_filter_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, const char *filter, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout, unsigned flags) argument
2861 sdap_deref_search_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument
2991 sdap_has_deref_support(struct sdap_handle *sh, struct sdap_options *opts) argument
[all...]
H A Dsdap_ops.h31 struct sdap_handle *sh,
48 struct sdap_handle *sh,
65 struct sdap_handle *sh,
83 struct sdap_handle *sh,
H A Dsdap_async.h44 struct sdap_handle **sh);
73 struct sdap_handle *sh,
89 struct sdap_handle *sh,
101 struct sdap_handle *sh,
116 struct sdap_handle *sh,
127 struct sdap_handle *sh,
141 struct sdap_handle *sh,
152 struct sdap_handle *sh,
164 struct sdap_handle *sh,
194 struct sdap_handle *sh,
[all...]
H A Dsdap_async_private.h49 int setup_ldap_connection_callbacks(struct sdap_handle *sh,
51 int remove_ldap_connection_callbacks(struct sdap_handle *sh);
55 errno_t sdap_set_connected(struct sdap_handle *sh, struct tevent_context *ev);
57 errno_t sdap_call_conn_cb(const char *uri,int fd, struct sdap_handle *sh);
60 struct sdap_handle *sh, int msgid,
67 struct sdap_handle *sh);
125 struct sdap_handle *sh,
164 struct sss_domain_info *dom, struct sdap_handle *sh,
H A Dsdap_async_connection.c37 struct sdap_handle *sh; member in struct:sdap_rebind_proc_params
47 struct sdap_handle *sh; member in struct:sdap_connect_state
100 state->sh = sdap_handle_create(state);
101 if (!state->sh) {
106 state->sh->page_size = dp_opt_get_int(state->opts->basic,
152 ret = sss_ldap_init_recv(subreq, &state->sh->ldap, &sd);
162 ret = setup_ldap_connection_callbacks(state->sh, state->ev);
174 ret = sdap_call_conn_cb(state->uri, sd, state->sh);
183 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_PROTOCOL_VERSION, &ver);
191 ret = ldap_set_option(state->sh
416 sdap_connect_recv(struct tevent_req *req, TALLOC_CTX *memctx, struct sdap_handle **sh) argument
441 struct sdap_handle *sh; member in struct:sdap_connect_host_state
622 struct sdap_handle *sh; member in struct:simple_bind_state
636 simple_bind_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, int timeout, const char *user_dn, struct berval *pw) argument
909 struct sdap_handle *sh; member in struct:sasl_bind_state
919 sasl_bind_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, const char *sasl_mech, const char *sasl_user, struct berval *sasl_cred) argument
1073 sdap_kinit_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct be_ctx *be, struct sdap_handle *sh, const char *krb_service_name, int timeout, const char *keytab, const char *principal, const char *realm, bool canonicalize, int lifetime) argument
1285 sdap_auth_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, const char *sasl_mech, const char *sasl_user, const char *user_dn, struct sss_auth_token *authtok, int simple_bind_timeout) argument
1408 struct sdap_handle *sh; member in struct:sdap_cli_connect_state
[all...]
H A Dsdap_autofs.h38 struct sdap_handle *sh,
H A Dsdap_ops.c32 struct sdap_handle *sh; member in struct:sdap_search_bases_ex_state
56 struct sdap_handle *sh,
82 state->sh = sh;
154 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
250 struct sdap_handle *sh,
258 return sdap_search_bases_ex_send(mem_ctx, ev, opts, sh, bases, map,
275 struct sdap_handle *sh,
283 return sdap_search_bases_ex_send(mem_ctx, ev, opts, sh, bases, map,
299 struct sdap_handle *sh; member in struct:sdap_deref_bases_ex_state
53 sdap_search_bases_ex_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map *map, bool allow_paging, bool return_first_reply, int timeout, const char *filter, const char **attrs) argument
247 sdap_search_bases_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map *map, bool allow_paging, int timeout, const char *filter, const char **attrs) argument
272 sdap_search_bases_return_first_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map *map, bool allow_paging, int timeout, const char *filter, const char **attrs) argument
321 sdap_deref_bases_ex_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, bool return_first_reply, int timeout) argument
498 sdap_deref_bases_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument
524 sdap_deref_bases_return_first_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument
[all...]
H A Dsdap.h43 struct sdap_handle *sh; member in struct:sdap_op
65 struct sdap_handle *sh; member in struct:ldap_cb_data
542 struct sdap_handle *sh, struct sdap_msg *sm,
556 struct sdap_handle *sh);
559 #define sdap_is_sasl_mech_supported(sh, sasl_mech) \
560 sdap_check_sup_list(&((sh)->supported_saslmechs), sasl_mech)
562 #define sdap_is_control_supported(sh, ctrl_oid) \
563 sdap_check_sup_list(&((sh)->supported_controls), ctrl_oid)
565 #define sdap_is_extension_supported(sh, ext_oid) \
566 sdap_check_sup_list(&((sh)
[all...]
H A Dsdap_id_op.c66 struct sdap_handle *sh; member in struct:sdap_id_conn_data
206 if (!conn_data || !conn_data->sh || !conn_data->sh->connected) {
210 expire_time = conn_data->sh->expire_time;
223 if (!conn_data || !conn_data->sh ||
224 !conn_data->sh->connected || conn_data->disconnecting) {
241 tv.tv_sec = conn_data->sh->expire_time;
542 &conn_data->sh, &srv_opts);
553 if (ret == EOK && (!conn_data->sh || !conn_data->sh
[all...]
H A Dsdap_async_groups_ad.c29 struct sdap_handle *sh; member in struct:sdap_ad_match_rule_state
53 struct sdap_handle *sh,
68 state->sh = sh;
155 state, state->ev, state->opts, state->sh,
50 sdap_get_ad_match_rule_members_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sysdb_attrs *group, int timeout) argument
/sssd/contrib/ci/
H A Dclean23 . misc.sh
H A Dconfigure.sh22 . distro.sh
H A Drun25 . deps.sh
26 . distro.sh
27 . configure.sh
28 . misc.sh
203 SHELL=/bin/sh
/sssd/contrib/vagrant/
H A Dbootstrap.sh12 source /usr/share/doc/git/contrib/completion/git-prompt.sh
15 source /usr/share/doc/git/contrib/completion/git-prompt.sh
/sssd/src/providers/ipa/
H A Dipa_config.h42 struct sdap_handle *sh,
H A Dipa_hbac_rules.h30 struct sdap_handle *sh,
H A Dipa_selinux_maps.h34 struct sdap_handle *sh,
H A Dipa_hosts.h29 struct sdap_handle *sh,
H A Dipa_id.h52 struct sdap_handle *sh,
68 struct sdap_handle *sh,
132 struct sdap_handle *sh,
H A Dipa_hbac_rules.c30 struct sdap_handle *sh; member in struct:ipa_hbac_rule_state
53 struct sdap_handle *sh,
93 state->sh = sh;
219 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
51 ipa_hbac_rule_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sysdb_attrs *ipa_host) argument
H A Dipa_selinux_maps.c31 struct sdap_handle *sh; member in struct:ipa_selinux_get_maps_state
55 struct sdap_handle *sh,
71 state->sh = sh;
134 state->sh, base->basedn,
52 ipa_selinux_get_maps_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sysdb_ctx *sysdb, struct sdap_handle *sh, struct sdap_options *opts, struct ipa_options *ipa_opts, struct sdap_search_base **search_bases) argument
H A Dipa_hosts.c32 struct sdap_handle *sh; member in struct:ipa_host_state
77 struct sdap_handle *sh,
94 state->sh = sh;
164 state->sh, base->basedn,
257 if (!sdap_has_deref_support(state->sh, state->opts)) {
263 subreq = sdap_deref_search_send(state, state->ev, state->opts, state->sh,
301 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
75 ipa_host_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *hostname, struct sdap_attr_map *host_map, struct sdap_attr_map *hostgroup_map, struct sdap_search_base **search_bases) argument
H A Dipa_config.c41 struct sdap_handle *sh,
86 sh, state->base,
39 ipa_get_config_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *domain, const char **attrs) argument
/sssd/src/tests/cmocka/
H A Dcommon_mock_sdap.c79 bool sdap_has_deref_support(struct sdap_handle *sh, struct sdap_options *opts) argument
87 struct sdap_handle *sh,
116 struct sdap_handle *sh,
84 sdap_get_generic_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, int scope, const char *filter, const char **attrs, struct sdap_attr_map *map, int map_num_attrs, int timeout, bool allow_paging) argument
113 sdap_deref_search_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument

Completed in 49 milliseconds

12