1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-15 13:55:09 -05:00

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
This commit is contained in:
mguessan 2014-07-28 21:50:37 +00:00
parent 946f1157ae
commit 448c72895a

View File

@ -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");