diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-10-15 17:39:36 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-16 14:27:23 -0400 |
commit | b774feec96d8e0d382fc0b50ce5d70b51eabdc5c (patch) | |
tree | 4bf461026511dfee82d4be2f7f92a40e4ff2f6d9 /server/providers/krb5/krb5_common.h | |
parent | ea30597c0e2ebbe976cbd63605d3567416a4e4f2 (diff) | |
download | sssd-b774feec96d8e0d382fc0b50ce5d70b51eabdc5c.tar.gz sssd-b774feec96d8e0d382fc0b50ce5d70b51eabdc5c.tar.bz2 sssd-b774feec96d8e0d382fc0b50ce5d70b51eabdc5c.zip |
Move all krb5 provider init functions
Put all init functions in their own file so that the other files can be
reused in other providers w/o having them in the way.
Diffstat (limited to 'server/providers/krb5/krb5_common.h')
-rw-r--r-- | server/providers/krb5/krb5_common.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/server/providers/krb5/krb5_common.h b/server/providers/krb5/krb5_common.h new file mode 100644 index 00000000..64e43605 --- /dev/null +++ b/server/providers/krb5/krb5_common.h @@ -0,0 +1,40 @@ +/* + SSSD + + Kerberos Backend, common 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_COMMON_H__ +#define __KRB5_COMMON_H__ + +#include "config.h" +#include <stdbool.h> +#ifdef HAVE_KRB5_KRB5_H +#include <krb5/krb5.h> +#else +#include <krb5.h> +#endif + +#define SSSD_KRB5_KDC "SSSD_KRB5_KDC" +#define SSSD_KRB5_REALM "SSSD_KRB5_REALM" + +#endif /* __KRB5_COMMON_H__ */ |