Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitced712f

Browse files
committed
For Kerberos testing, disable DNS lookups
Similar to8dff2f2, this disables DNS lookups by the Kerberos libraryto look up the KDC and the realm while the Kerberos tests are running.In some environments, these lookups can take a long time and end uptiming out and causing tests to fail. Further, since this isn't reallyour domain, we shouldn't be sending out these DNS requests during ourtests.
1 parent0787432 commitced712f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/test/kerberos/t/001_auth.pl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@
103103
# that information in DNS, and also because we're using a
104104
# non-standard KDC port.
105105
#
106+
# Also explicitly disable DNS lookups since this isn't really
107+
# our domain and we shouldn't be causing random DNS requests
108+
# to be sent out (not to mention that broken DNS environments
109+
# can cause the tests to take an extra long time and timeout).
110+
#
106111
# Reverse DNS is explicitly disabled to avoid any issue with a
107112
# captive portal or other cases where the reverse DNS succeeds
108113
# and the Kerberos library uses that as the canonical name of
@@ -114,6 +119,8 @@
114119
kdc = FILE:$kdc_log
115120
116121
[libdefaults]
122+
dns_lookup_realm = false
123+
dns_lookup_kdc = false
117124
default_realm =$realm
118125
rdns = false
119126

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp