[31082] in Kerberos

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

RE: C# Client and Java Server

daemon@ATHENA.MIT.EDU (Paul Moore)
Fri May 8 12:28:04 2009

Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Fri, 8 May 2009 09:27:02 -0700
Message-ID: <BB7E16A14DE689469A181EC770AFBF4D030CD898@exch-one.centrify.com>
In-Reply-To: <4A045C07.5050200@anl.gov>
From: "Paul Moore" <paul.moore@centrify.com>
To: "Douglas E. Engert" <deengert@anl.gov>, "Imig, Wolfgang" <w.imig@elo.com>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

msft has sample wrapper of C# using SSPI - google msdn a bit

-----Original Message-----
From: kerberos-bounces@mit.edu [mailto:kerberos-bounces@mit.edu] On
Behalf Of Douglas E. Engert
Sent: Friday, May 08, 2009 9:21 AM
To: Imig, Wolfgang
Cc: kerberos@mit.edu
Subject: Re: C# Client and Java Server



Imig, Wolfgang wrote:
> Hello, 
> 
> we use the JASS to authenticate a Java client to a Java server (J2EE
> Servlet). 
> The client calls GSSContext.initSecContext to generate an
authentication
> token and the server checks it by calling GSSContext.acceptSecContext.
> This works fine.
> 

SSPI uses GSSAPI protocols. Can your C# or C++ use SSPI?


> Now, we want to authenticate a C# client (>= WindowsXP) to our server.
> Thus some C# or C++ code has to replace the GSSContext.initSecContext.
I
> tried to obtain a Kerberos ticket using LsaCallAuthenticationPackage
> with KERB_RETRIEVE_TKT_REQUEST. But the resulting ticket is not
accepted
> by the GSSContext.acceptSecContext. 
> 
> Does anyone know, how to obtain a Kerberos ticket in a C# or C++
> application that is accepted by the JASS functions?
> 
> Thanks
> Wolfgang
> ---
> 
> ELO Digital Office GmbH
> 
> Firmensitz: Heilbronner Strasse 150, 70191 Stuttgart
> Fon: +49 711 806089-0, Fax: +49 711 806089-19, Web: www.elo.com 
> 
> Geschaftsfuhrer: Karl Heinz Mosbach, Matthias Thiele
> BW-Bank, Konto-Nr. 2089782, BLZ 600 501 01
> 
> Registergericht Stuttgart HRB 15059 - USt-IdNr.: DE812471516
> 
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 
> 

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

________________________________________________
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