mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-21 06:58:51 -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:
parent
946f1157ae
commit
448c72895a
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user