ldap_common.h revision 41be4e3976cf66823ad2c6880671ac7fbafdc640
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce LDAP Common utility code
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce Copyright (C) Simo Sorce <ssorce@redhat.com> 2009
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce This program is free software; you can redistribute it and/or modify
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce it under the terms of the GNU General Public License as published by
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce the Free Software Foundation; either version 3 of the License, or
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce (at your option) any later version.
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce This program is distributed in the hope that it will be useful,
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce but WITHOUT ANY WARRANTY; without even the implied warranty of
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce GNU General Public License for more details.
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce You should have received a copy of the GNU General Public License
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce along with this program. If not, see <http://www.gnu.org/licenses/>.
ab967283b710dfa05d11ee5b30c7ac916486ceecSimo Sorce/* a fd the child process would log into */
233a3c6c48972b177e60d6ef4cecfacd3cf31659Simo Sorce /* If using GSSAPI */
7c69221077c780e62f6c536e78675f2dc1c131bcMichal Zidek /* LDAP connection cache */
f9961e5f82e0ef474d6492371bfdf9e74e208a99Pavel Březina /* enumeration loop timer */
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek /* cleanup loop timer */
78a08d30b5fbf6e1e3b589e0cf67022e0c1faa33Michal Židekvoid sdap_do_online_check(struct be_req *be_req, struct sdap_id_ctx *ctx);
5a5c5cdeb92f4012fc75fd717bfea06598f68f12Pavel Reichlstruct tevent_req* sdap_reinit_cleanup_send(TALLOC_CTX *mem_ctx,
7a4e3e29196e3abc1746714fcf93624edae89f93Lukas Slebodnikerrno_t sdap_reinit_cleanup_recv(struct tevent_req *req);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozekvoid sdap_account_info_handler(struct be_req *breq);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozekvoid sdap_handle_account_info(struct be_req *breq, struct sdap_id_ctx *ctx);
b5825c74b6bf7a99ae2172392dbecb51179013a6Jakub Hrozekvoid sdap_pam_auth_handler(struct be_req *breq);
c30b7a1931211fdcae0564551a7625cc4f6dee9fJakub Hrozekvoid sdap_pam_chpass_handler(struct be_req *breq);
dd285415d7a8d8376207960cfa3e977524c3b98cJakub Hrozekvoid sdap_pam_access_handler(struct be_req *breq);
efc65e78fa4e01e6cecc8690a9899af61213be62Fabiano Fidênciovoid sdap_handler_done(struct be_req *req, int dp_err,
7171a7584dda534dde5409f3e7f4657e845ece15Fabiano Fidêncioint sdap_service_init(TALLOC_CTX *memctx, struct be_ctx *ctx,
d4757440418c7b73bbecec7e40baf6dfe8cc9460Sumit Bose const char *service_name, const char *dns_service_name,
300b9e9217ee1ed8d845ed2370c5ccf5c87afb36Pavel Březinaerrno_t sdap_install_offline_callback(TALLOC_CTX *mem_ctx,
ccd349f0274217e1f0cc118e3a6045e2235ce420Fabiano Fidêncioerrno_t sdap_install_sigterm_handler(TALLOC_CTX *mem_ctx,
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce const char *realm);
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorcevoid sdap_remove_kdcinfo_files_callback(void *pvt);
8bcabb97d988d1602882a1f036aac2eaf5e09234Simo Sorce/* options parser */
const char *conf_path,
bool *use_host_filter,
bool *include_regexp,
bool *include_netgroups);
const char *conf_path,
const char *name,
int filter_type,
int attrs_type);
const char *name,
int filter_type,
int attrs_type);
const char *name);
struct tevent_req *
const char *name,
const char *protocol,
int filter_type);
const char *ldap_name,
char **sysdb_name);
char ***missing_attrs);
const char *base_filter,
const char *extra_filter);
const char *unparsed_base,
const char *class_name,
const char *old_filter,
const char *sid_attr,
char **_sid_str);