summaryrefslogtreecommitdiffstats
path: root/utils/gssd/krb5_util.h
diff options
context:
space:
mode:
authorLukas Hejtmanek <xhejtman@ics.muni.cz>2008-07-15 10:12:39 -0400
committerSteve Dickson <steved@redhat.com>2008-07-15 10:12:39 -0400
commitafa859b029d9cd15604ce7d5f88b5a205ea4c774 (patch)
tree43fa63014272ad1bb381f4d138e8651643d7fff4 /utils/gssd/krb5_util.h
parent1e1c7be98749fff054beec4bf67b436b58f6edac (diff)
downloadnfs-utils-afa859b029d9cd15604ce7d5f88b5a205ea4c774.tar.gz
nfs-utils-afa859b029d9cd15604ce7d5f88b5a205ea4c774.tar.xz
nfs-utils-afa859b029d9cd15604ce7d5f88b5a205ea4c774.zip
The rpc.gssd scans for any suitable kerberos ticket. In cross-realm
environment this may not be the desired behaviour. Therefore a new option, -R preferred realm, is presented so that the rpc.gssd prefers tickets from this realm. By default, the default realm is preferred. Signed-off-by: Lukas Hejtmanek <xhejtman@ics.muni.cz> Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/krb5_util.h')
-rw-r--r--utils/gssd/krb5_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h
index addae1c..4b2da6b 100644
--- a/utils/gssd/krb5_util.h
+++ b/utils/gssd/krb5_util.h
@@ -27,6 +27,7 @@ int gssd_refresh_krb5_machine_credential(char *hostname,
struct gssd_k5_kt_princ *ple);
const char *
gssd_k5_err_msg(krb5_context context, krb5_error_code code);
+void gssd_k5_get_default_realm(char **def_realm);
#ifdef HAVE_SET_ALLOWABLE_ENCTYPES
int limit_krb5_enctypes(struct rpc_gss_sec *sec, uid_t uid);