[22385] in Kerberos

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

Re: BC-SNC, MIT Kerberos V, SSO, GSS-API v2

daemon@ATHENA.MIT.EDU (Calin Barbat)
Tue Sep 7 04:06:10 2004

Message-ID: <413D6B91.6080307@osram.de>
Date: Tue, 07 Sep 2004 10:04:33 +0200
From: Calin Barbat <c.barbat@osram.de>
MIME-Version: 1.0
To: Norbert Klasen <norbert+lists.mit-kerberos@burgundy.dyndns.org>
In-Reply-To: <2832713046ABC9B59AD53DB5@[192.168.0.6]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
cc: kerberos@mit.edu
cc: cevat.guersoy@avinci.de
Errors-To: kerberos-bounces@mit.edu

Norbert Klasen wrote:

> Hello Calin,
> a colleague of mine has worked with BC-SNC (with X.509 certificates
> though). Here's what he said.
>
> Norbert
>
 >Loading GSS-API shared library #1 "/usr/local/lib/libgssapi_krb5.so" ...
 >
 >  Resolving SAP SNC-Adapter functions ...
 >    GSS-API v2  "sapsnc_init_adapter"                  (  opt.   )
(missing)
 >    GSS-API v2  "sapsnc_export_cname_blob"             (  opt.   )
(missing)
 >    GSS-API v2  "sapsnc_import_cname_blob"             (  opt.   )
(missing)
 >  Resolving Misc Support functions ...

points to some files offered by SAP. Try to add the sncadapt-Files to your
project, compile them and add the header-files also. You can find the
required files at the following address:

http://www.sap.com/partners/icc/scenarios/technology/bc-snc.aspx  (SNC
Adapter 1.1)

This should solve the problem.

Mit freundlichen Gruessen / Best regards

Cevat Gürsoy
Senior Consultant
Avinci - The Know-How Company


Thank you very much for your help. In the mean time I already downloaded 
the SNC-Adapter (Martin Rex recommended me to do so and pointed me to 
the same download adress) and wrote a suitable build.Linux file to make 
it compile. Now the SAP server loads both alternatives, either using the 
internal SNC adapter with libgssapi_krb5.so as provided by MIT Kerberos 
V release 1.2.8 or the external SNC adapter snckrb5.so provided by SAP 
(it is basically a wrapper to libgssapi_krb5.so containing the three 
additional functions starting with the prefix "sapsnc_").

Both adapters now pass gsstest-1.26. The remaining issue is that I still 
get the following error output (in dev_w0) when trying to SNC connect to 
the server:

N  *** ERROR => SncPEstablishContext()==SNCERR_GSSAPI  [sncxxall.c 3423]
N        GSS-API(maj): A token was invalid
N        GSS-API(min): Mechanism is incorrect
N      Unable to establish the security context
N  <<- SncProcessInput()==SNCERR_GSSAPI
M  *** ERROR => ThSncIn: SncProcessInput (SNCERR_GSSAPI) [thxxsnc.c    973]
M  *** ERROR => ThSncIn: SncProcessInput [thxxsnc.c    978]
M  in_ThErrHandle: 1
M  *** ERROR => ThSncIn: SncProcessInput (step 4, th_errno 44, action 1,
level 1) [thxxhead.c   8787]


Perhaps this is some configuration issue, perhaps it has to do with the 
interoperability between the MIT and Win2k Kerberos implementations.
Any help or hint in the right direction would be greatly appreciated,

Calin Barbat



________________________________________________
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