]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Set kdc_tcp_ports in kadmin test configuration
authorSarah Day <sarahday@mit.edu>
Tue, 22 Dec 2015 21:33:24 +0000 (16:33 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 23 Dec 2015 17:31:10 +0000 (12:31 -0500)
The kadmin tests were starting the KDC without setting the TCP port
number.  After commit 8d88e2ab00be126237569dc72827ced2ce6b7d04, the
TCP port defaults to 88, causing the socket to fail setup if the test
is not run as root.

[ghudson@mit.edu: edited commit message]

src/kadmin/testing/proto/kdc.conf.proto

index 943270d98fdb1026c9fe42cf74f6d5624dfb67bf..95a40fc8ac0e20d9867a6801e1462625d7aa153f 100644 (file)
@@ -1,5 +1,6 @@
 [kdcdefaults]
        kdc_ports = 1750 
+       kdc_tcp_ports = 1750
 
 [realms]
        __REALM__ = {