diff options
author | Simo Sorce <simo@redhat.com> | 2013-04-02 15:04:37 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2013-04-02 15:08:17 -0400 |
commit | 0ac50211fefb0d398ecc958ebe725dc6b6285103 (patch) | |
tree | 1ffb8ce3a82b6f3d3e641d2b6f83831d8e84ff30 /utils/gssd/gss_util.h | |
parent | fff0d69c2fdc23c94a28276e60e03082e3de15b6 (diff) | |
download | nfs-utils-0ac50211fefb0d398ecc958ebe725dc6b6285103.tar.gz nfs-utils-0ac50211fefb0d398ecc958ebe725dc6b6285103.tar.xz nfs-utils-0ac50211fefb0d398ecc958ebe725dc6b6285103.zip |
gssd: Switch to use standard GSSAPI by default
Make libgssglue configurable still but disabled by default.
There is no reason to use libgssglue anymore, and modern gssapi
supports all needed features for nfs-utils.
Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gss_util.h')
-rw-r--r-- | utils/gssd/gss_util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/gssd/gss_util.h b/utils/gssd/gss_util.h index 67b3077..aa9f778 100644 --- a/utils/gssd/gss_util.h +++ b/utils/gssd/gss_util.h @@ -42,4 +42,14 @@ void pgsserr(char *msg, u_int32_t maj_stat, u_int32_t min_stat, const gss_OID mech); int gssd_check_mechs(void); +#ifndef HAVE_LIBGSSGLUE +#include <gssapi/gssapi_krb5.h> +#define gss_free_lucid_sec_context(min, ctx, ret) \ + gss_krb5_free_lucid_sec_context(min, ret) + +#define gss_export_lucid_sec_context gss_krb5_export_lucid_sec_context +#define gss_set_allowable_enctypes(min, cred, oid, num, types) \ + gss_krb5_set_allowable_enctypes(min, cred, num, types) +#endif + #endif /* _GSS_UTIL_H_ */ |