diff options
author | sbose <sbose@sles10.site> | 2009-09-09 12:26:07 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-24 21:36:59 -0400 |
commit | 7716bef4a7515344a7f552011ba458aaf4582e44 (patch) | |
tree | c15f12b8c1e8f19fba47c8b9f1988fc2d9302432 /server/providers/krb5/krb5_auth.h | |
parent | 794c66c7b1f8a367b26b8f56c8503007c234333e (diff) | |
download | sssd-7716bef4a7515344a7f552011ba458aaf4582e44.tar.gz sssd-7716bef4a7515344a7f552011ba458aaf4582e44.tar.bz2 sssd-7716bef4a7515344a7f552011ba458aaf4582e44.zip |
added support for older MIT kerberos versions
- make the build of the locator plugin optional
- added a man page for the locator plugin
- use krb5.h if krb5/krb5.h cannot be found
- added alternatives for missing functions
- set -DDBUS_API_SUBJECT_TO_CHANGE if libdbus version
is lesser than 1.0.0
Diffstat (limited to 'server/providers/krb5/krb5_auth.h')
-rw-r--r-- | server/providers/krb5/krb5_auth.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/server/providers/krb5/krb5_auth.h b/server/providers/krb5/krb5_auth.h index 4e65d9fc..9a7807e8 100644 --- a/server/providers/krb5/krb5_auth.h +++ b/server/providers/krb5/krb5_auth.h @@ -26,8 +26,15 @@ #ifndef __KRB5_AUTH_H__ #define __KRB5_AUTH_H__ +#include "config.h" + #include <stdbool.h> + +#ifdef HAVE_KRB5_KRB5_H #include <krb5/krb5.h> +#else +#include <krb5.h> +#endif #define MAX_CHILD_MSG_SIZE 255 #define CCACHE_ENV_NAME "KRB5CCNAME" @@ -79,9 +86,6 @@ struct krb5_ctx { action_type action; - int num_pa_opts; - krb5_gic_opt_pa_data *pa_opts; - char *kdcip; char *realm; bool try_simple_upn; |