aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorSarah Day <sarahday@mit.edu>2015-12-23 15:01:44 -0500
committerGreg Hudson <ghudson@mit.edu>2016-07-18 11:22:48 -0400
commit5f53d6cfb2cdc2e666a3fd2fe4f3ef21aa8258ae (patch)
tree83a076977a521941a1e1ebfc5ed6ec1420c50c5d /src/util
parentaa91cb5dbbd4356c7a9069f4f52a10f70d91bc00 (diff)
downloadkrb5-5f53d6cfb2cdc2e666a3fd2fe4f3ef21aa8258ae.zip
krb5-5f53d6cfb2cdc2e666a3fd2fe4f3ef21aa8258ae.tar.gz
krb5-5f53d6cfb2cdc2e666a3fd2fe4f3ef21aa8258ae.tar.bz2
Allow user to restrict KDC to specific addresses
krb5kdc has always only supported binding to the wildcard addresses. Add two configuration options to allow specifying the address/port that krb5kdc listens on for UDP and TCP connections. [ghudson@mit.edu: edited documentation; preserved kdc_ports = "" behavior; made kdc_ports and kdc_tcp_ports continue to work in kdcdefaults section] ticket: 1093
Diffstat (limited to 'src/util')
-rw-r--r--src/util/k5test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/k5test.py b/src/util/k5test.py
index 89271fc..e90c2f3 100644
--- a/src/util/k5test.py
+++ b/src/util/k5test.py
@@ -1134,8 +1134,8 @@ _default_kdc_conf = {
'dictfile': '$testdir/dictfile',
'kadmind_port': '$port1',
'kpasswd_port': '$port2',
- 'kdc_ports': '$port0',
- 'kdc_tcp_ports': '$port0'}},
+ 'kdc_listen': '$port0',
+ 'kdc_tcp_listen': '$port0'}},
'dbmodules': {
'db_module_dir': '$plugins/kdb',
'db': {'db_library': 'db2', 'database_name' : '$testdir/db'}},