summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gss_util.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-04-19 10:10:33 -0400
committerSteve Dickson <steved@redhat.com>2013-04-22 12:47:20 -0400
commitf9f5450f8f946ffc664397c86d05d27ba0406e21 (patch)
tree74b931056ef1d3e24166006210e45da4d0e5e3c2 /utils/gssd/gss_util.h
parentf6d9b264109c49f426dba43122957466fdcd065e (diff)
downloadnfs-utils-f9f5450f8f946ffc664397c86d05d27ba0406e21.tar.gz
nfs-utils-f9f5450f8f946ffc664397c86d05d27ba0406e21.tar.xz
nfs-utils-f9f5450f8f946ffc664397c86d05d27ba0406e21.zip
Avoid DNS reverse resolution for server names (take 3)
A NFS client should be able to work properly even if the DNS Reverse record for the server is not set. This means a DNS lookup should not be done on server names at are passed to GSSAPI. This patch changes the default behavior to no longer do those types of lookups This change default behavior could negatively impact some current environments, so the -D option is also being added that will re-enable the DNS reverse looks on server names, which are passed to GSSAPI. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/gssd/gss_util.h b/utils/gssd/gss_util.h
index aa9f778..c81fc5a 100644
--- a/utils/gssd/gss_util.h
+++ b/utils/gssd/gss_util.h
@@ -52,4 +52,6 @@ int gssd_check_mechs(void);
gss_krb5_set_allowable_enctypes(min, cred, num, types)
#endif
+extern int avoid_dns;
+
#endif /* _GSS_UTIL_H_ */