From 448c72895a9d0584a3b7d8ddb152510d3b3bb628 Mon Sep 17 00:00:00 2001 From: mguessan Date: Mon, 28 Jul 2014 21:50:37 +0000 Subject: [PATCH] Fix for #534 Kerberos Authentication doesn't seem to be work cross domain git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2305 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/http/KerberosHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/http/KerberosHelper.java b/src/java/davmail/http/KerberosHelper.java index 5abc2ece..a15a4680 100644 --- a/src/java/davmail/http/KerberosHelper.java +++ b/src/java/davmail/http/KerberosHelper.java @@ -205,7 +205,7 @@ public class KerberosHelper { GSSContext context = null; try { GSSManager manager = GSSManager.getInstance(); - GSSName serverName = manager.createName(protocol + '/' + host, null); + GSSName serverName = manager.createName(protocol + '@' + host, GSSName.NT_HOSTBASED_SERVICE); // Kerberos v5 OID Oid krb5Oid = new Oid("1.2.840.113554.1.2.2");