krb5_auth.h revision fab9c6a75eaf09e4f5440f4bb530c26009b0ffc7
/*
SSSD
Kerberos Backend, private header file
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2009 Red Hat
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 <pcre.h>
#include "util/sss_krb5.h"
#include "providers/dp_backend.h"
#include "providers/krb5/krb5_common.h"
#define CCACHE_ENV_NAME "KRB5CCNAME"
#define ILLEGAL_PATH_PATTERN "//|/\\./|/\\.\\./"
struct krb5child_req {
int read_from_child_fd;
int write_to_child_fd;
struct tevent_timer *timeout_handler;
const char *ccname;
const char *old_ccname;
const char *homedir;
const char *upn;
bool is_offline;
struct fo_server *kpasswd_srv;
bool active_ccache_present;
bool valid_tgt_present;
};
struct tevent_context *ev,
struct tevent_context *ev);
/* krb5_access.c */
struct tevent_context *ev,
#endif /* __KRB5_AUTH_H__ */