You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2018/10/01 16:32:38 UTC

[2/2] directory-kerby git commit: DIRKRB-727 - If kdc port is not defined in krb5.conf, the default port (88) should be used. Thanks to Shen Yinjie for the patch

DIRKRB-727 - If kdc port is not defined in krb5.conf, the default port (88) should be used. Thanks to Shen Yinjie for the patch


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/ba37b8b8
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/ba37b8b8
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/ba37b8b8

Branch: refs/heads/trunk
Commit: ba37b8b8fc3cd3f214ca1da1ea34f5ea1f99daa1
Parents: 82c5635
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Mon Oct 1 17:31:54 2018 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Mon Oct 1 17:31:54 2018 +0100

----------------------------------------------------------------------
 .../org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/ba37b8b8/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java b/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
index 44b5429..e2973d9 100644
--- a/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
+++ b/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfigKey.java
@@ -24,11 +24,11 @@ import org.apache.kerby.config.ConfigKey;
 public enum KrbConfigKey implements ConfigKey {
     KRB_DEBUG(true),
     KDC_HOST("localhost"),
-    KDC_PORT(null),
+    KDC_PORT(88),
     KDC_ALLOW_UDP(false),
     KDC_ALLOW_TCP(false),
-    KDC_UDP_PORT(null),
-    KDC_TCP_PORT(null),
+    KDC_UDP_PORT(88),
+    KDC_TCP_PORT(88),
     KDC_DOMAIN("example.com"),
     KDC_REALM("EXAMPLE.COM"),
     TGS_PRINCIPAL("krbtgt@EXAMPLE.COM"),