diff options
Diffstat (limited to 'server/providers/krb5/krb5_auth.h')
-rw-r--r-- | server/providers/krb5/krb5_auth.h | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/server/providers/krb5/krb5_auth.h b/server/providers/krb5/krb5_auth.h deleted file mode 100644 index a011af890..000000000 --- a/server/providers/krb5/krb5_auth.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - SSSD - - Kerberos Backend, private header file - - Authors: - Sumit Bose <sbose@redhat.com> - - Copyright (C) 2009 Red Hat - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#ifndef __KRB5_AUTH_H__ -#define __KRB5_AUTH_H__ - -#include "util/sss_krb5.h" -#include "providers/dp_backend.h" -#include "providers/krb5/krb5_common.h" - -#define CCACHE_ENV_NAME "KRB5CCNAME" -#define SSSD_KRB5_CHANGEPW_PRINCIPLE "SSSD_KRB5_CHANGEPW_PRINCIPLE" - -typedef enum { INIT_PW, INIT_KT, RENEW, VALIDATE } action_type; - -struct krb5child_req { - pid_t child_pid; - int read_from_child_fd; - int write_to_child_fd; - - struct be_req *req; - struct pam_data *pd; - struct krb5_ctx *krb5_ctx; - - struct tevent_timer *timeout_handler; - - const char *ccname; - const char *homedir; - bool is_offline; - struct fo_server *srv; - bool active_ccache_present; - bool valid_tgt_present; -}; - -struct fo_service; - -struct krb5_ctx { - /* opts taken from kinit */ - /* in seconds */ - krb5_deltat starttime; - krb5_deltat lifetime; - krb5_deltat rlife; - - int forwardable; - int proxiable; - int addresses; - - int not_forwardable; - int not_proxiable; - int no_addresses; - - int verbose; - - char* principal_name; - char* service_name; - char* keytab_name; - char* k5_cache_name; - char* k4_cache_name; - - action_type action; - - struct dp_option *opts; - struct krb5_service *service; - int child_debug_fd; -}; - -void krb5_pam_handler(struct be_req *be_req); - -#endif /* __KRB5_AUTH_H__ */ |