krb5_auth.h revision d3dca30d3a6feba062d0299718d1a9fcdc8b9d17
e6d40133bc9f858308654afb1262b8b483ec5922Till Mossakowski Kerberos Backend, private header file
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder Sumit Bose <sbose@redhat.com>
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder Copyright (C) 2009 Red Hat
e6d40133bc9f858308654afb1262b8b483ec5922Till Mossakowski This program is free software; you can redistribute it and/or modify
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder it under the terms of the GNU General Public License as published by
b53688bfed888214b485cf76439d57262d80e0a7Christian Maeder the Free Software Foundation; either version 3 of the License, or
bdeddba30d29f413af1e1ae6b6bab275c017bd98Christian Maeder (at your option) any later version.
63719301448519453f66383f4e583d9fd5b89ecbChristian Maeder This program is distributed in the hope that it will be useful,
ae35311385999d91f812155fe99439724d54063bChristian Maeder but WITHOUT ANY WARRANTY; without even the implied warranty of
46b207daf66b64930a59f3615c8b127aac0b8e43Christian Maeder MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3143271856dbf456bd7acc1c07193173f886d986Christian Maeder GNU General Public License for more details.
ab9b86500ed66416e1a7c01be54491ed72c7d633Christian Maeder You should have received a copy of the GNU General Public License
78e7910c3360f74f1db172d63d20bb07c64e56e3Christian Maeder along with this program. If not, see <http://www.gnu.org/licenses/>.
46b1095ba983ce859e17c2a12f48b50583b7150cChristian Maeder#define ILLEGAL_PATH_PATTERN "//|/\\./|/\\.\\./"
56440c7ae61e7277a3494452d0165ee52e677b29Christian Maedererrno_t krb5_setup(TALLOC_CTX *mem_ctx, struct pam_data *pd,
56440c7ae61e7277a3494452d0165ee52e677b29Christian Maeder struct krb5_ctx *krb5_ctx, struct krb5child_req **krb5_req);
ec351e60425e2f99448cb44e933d3828f8025dddChristian Maedervoid krb5_pam_handler(struct be_req *be_req);
9603ad7198b72e812688ad7970e4eac4b553837aKlaus Luettichstruct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx,
9f08800df9da91d444560875167fbf7acb8396edChristian Maederint krb5_auth_recv(struct tevent_req *req, int *pam_status, int *dp_err);
333780eae2be9f20fe46dedbf5eb46ffa0cbfd02Christian Maedervoid krb5_auth_done(struct tevent_req *req);
46b1095ba983ce859e17c2a12f48b50583b7150cChristian Maederstruct tevent_req *handle_child_send(TALLOC_CTX *mem_ctx,
4c8d3c5a9e938633f6147b5a595b9b93bfca99e6Christian Maederint handle_child_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
bdf2e01977470bedcb4425e2dadabc9e9f6ba149Ewaryst Schulzparse_krb5_child_response(TALLOC_CTX *mem_ctx, uint8_t *buf, ssize_t len,
bdf2e01977470bedcb4425e2dadabc9e9f6ba149Ewaryst Schulzerrno_t add_user_to_delayed_online_authentication(struct krb5_ctx *krb5_ctx,
0850c3e5fb6285405ebaeb5aa433985203ac892dEwaryst Schulzerrno_t init_delayed_online_authentication(struct krb5_ctx *krb5_ctx,
bbba6dd86153aacb0f662b182b128df0eb09fd54Christian Maedererrno_t init_renew_tgt(struct krb5_ctx *krb5_ctx, struct be_ctx *be_ctx,
bbba6dd86153aacb0f662b182b128df0eb09fd54Christian Maeder struct tevent_context *ev, time_t renew_intv);
4067eba4f5605d9569d78085deb1a27f08ac34e2Christian Maedererrno_t add_tgt_to_renew_table(struct krb5_ctx *krb5_ctx, const char *ccfile,
63719301448519453f66383f4e583d9fd5b89ecbChristian Maeder struct tgt_times *tgtt, struct pam_data *pd,
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder const char *upn);
5ca1fe655d7d4e35e59a082b5955b306643329d0Ewaryst Schulzstruct tevent_req *krb5_access_send(TALLOC_CTX *mem_ctx,
5f2c34b8971f9ca7e63364b69e167851d001168eEwaryst Schulzint krb5_access_recv(struct tevent_req *req, bool *access_allowed);
ce900a84ed9d9882c64fccbd6300f6b0d67efa82Christian Maedererrno_t add_to_wait_queue(struct be_req *be_req, struct pam_data *pd,
e49fd57c63845c7806860a9736ad09f6d44dbaedChristian Maedervoid check_wait_queue(struct krb5_ctx *krb5_ctx, char *username);
4067eba4f5605d9569d78085deb1a27f08ac34e2Christian Maeder#endif /* __KRB5_AUTH_H__ */