From ff78b41d019b0ce36fa7f108eb737568064593cd Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Jul 11 2016 10:19:14 +0000 Subject: Move the KDC port outside of the privileged range On EL6 we can't use the libsocket-wrapper. This means that ports below 1024 are still privileged, and this would mean we would need to run the test suite as root. Since we explicitly say we do not want to run this as root, let's instead just move the last thing to a non-privileged port. Signed-off-by: Howard Johnson Signed-off-by: Patrick Uiterwijk Reviewed-by: Pierre-Yves Chibon --- diff --git a/tests/helpers/common.py b/tests/helpers/common.py index 409ffe5..ddefbcb 100755 --- a/tests/helpers/common.py +++ b/tests/helpers/common.py @@ -32,7 +32,7 @@ KRB5_CONF_TEMPLATE = ''' [realms] ${TESTREALM} = { - kdc =${WRAP_HOSTNAME} + kdc =${WRAP_HOSTNAME}:8888 } [domain_realm] @@ -47,8 +47,8 @@ KRB5_CONF_TEMPLATE = ''' KDC_CONF_TEMPLATE = ''' [kdcdefaults] - kdc_ports = 88 - kdc_tcp_ports = 88 + kdc_ports = 8888 + kdc_tcp_ports = 8888 restrict_anonymous_to_tgt = true [realms]