[27412] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Authenticating GSSAPI Client to SSPI Service

daemon@ATHENA.MIT.EDU (Michael B Allen)
Thu Feb 8 11:57:31 2007

Date: Thu, 8 Feb 2007 11:56:50 -0500
From: Michael B Allen <mba2000@ioplex.com>
To: "Peger, Daniel Heinrich" <dpeger@cosa.de>
Message-Id: <20070208115650.7d0f26bb.mba2000@ioplex.com>
In-Reply-To: <9362A0EF2D8D204D83E3714069C6AA05BD8B6D@cosaex02.corp.cosa.de>
Mime-Version: 1.0
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Thu, 8 Feb 2007 13:16:23 +0100
"Peger, Daniel Heinrich" <dpeger@cosa.de> wrote:

> I've already successfully verified that the following combinations work
> (both client and service running on the same Windows XP machine):
> 
> 	Client	Service
> 	------------------
> 	GSSAPI	GSSAPI
> 	SSPI		GSSAPI
> 	SSPI		SSPI
> 
> But if I obtain the service ticket using the GSSAPI methods and try to
> accept the respective securtiy context in the service using
> AcceptSecurityContext(...) from MS's SSPI, I always get
> SEC_E_LOGON_DENIED as return code. AS stated above. Using the same
> authentication information (username, password and realm) with SSPI's
> InitializeSecurityContext(...), the resulting ticket is verified by the
> test-service.
> 
> I already tried to introduce a mapping of the kerberos user principal
> (test-user@KRBTEST.REALM.ORG) to a local user account (test-user) but
> this didn't help either. Is the group that test-user belongs to of any
> relevance?

No but you said you are using a Heimdal KDC so I'm curious about what
"group" you're talking about since a Heimdal KDC doesn't support groups
that Windows would understand.

> Is this a Microsoft incompatibility issue or is there something special
> that needs to be regarded if trying to use GSSAPI together with SSPI?

It should work just fine. Make sure you have the latest ticket. Otherwise
get a packet capture paying particular attention to the the principal
names being used.

Mike

-- 
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post