directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject 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
Date Mon, 01 Oct 2018 16:38:00 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/1.1.x-fixes 9fdf1b38b -> d8621e72f


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/d8621e72
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/d8621e72
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/d8621e72

Branch: refs/heads/1.1.x-fixes
Commit: d8621e72f519e61c873f1c87b86233533e81aaad
Parents: 9fdf1b3
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Oct 1 17:31:54 2018 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Oct 1 17:37: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/d8621e72/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"),


Mime
View raw message