Commit 55b42e26 authored by Mickaël Guessant's avatar Mickaël Guessant

Fix for #534 Kerberos Authentication doesn't seem to be work cross domain

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2305 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 0462cc38
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment