cancel
Showing results for 
Search instead for 
Did you mean: 

single sign on with kerberos

Former Member
0 Kudos

Hi everyone,

We have ECC 6.0 server with sap_basis 700 and abap stack only with windows 2012 server standard.

We want to configure SSO with gui. We have AD server, 2012 server standard.

Please suggest me can we configure SSO 2.0 with this configuration. If possible please share document to configure SSO 2.0.

Thanks & Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you all for your valuable suggestions.

We are now able to login through single-sign on.

But we are login into 000 client.

Through rz10 in default profile we are not able to login into different client with single-sign on.

How to change the default login client for single sign-on.??

Thanks

Former Member
0 Kudos

Quite easy, just perform the User Mapping (SNC Name) in other clients and you will be prompted at login time and able to select your desired client for login. Does that answer your question?

Former Member
0 Kudos

Thanks

We have to login into the client and then we have to configure SNC for the user.

Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Donka,

We have below ecc system.

Can we implement single-signon for java system.As in current system we do not have SPNEGO transaction, actually we want to implement ESS and MSS with single-signon.

Please guide us how can we implement.

donka_dimitrova
Contributor
0 Kudos

Hello Ashu,

SPNEGO for AS ABAP requires SAP_BASIS as of 7.02.

See the details in the SAP Note: 1798979 - SPNego ABAP: Downport

About the wizard see SAP Note: 2015966 - Single Sign-On Wizard to Configure SNC and SPNego

Regards,

Donka Dimitrova

donka_dimitrova
Contributor
0 Kudos

Hello Ashu,

You can implement Kerberos SSO for scenarios that include SAP GUI for Windows using the SAP Single Sign-On product (license required).

See here some videos how to do this:

Best regards,

Donka Dimirova

Former Member
0 Kudos

Hi Donka,

We are getting error : SNCWIZARD T-code does not exist.

Still we proceed further, We installed Secure login library, maintained SECUDIR parameter, maintained SNC  parameter's in RZ10 and restarted server. SNC is started in server, we generated Kerberos keytab with below command :

sapgenpse keytab -p SAPSNCKERB.pse -a SPN@DOMAIN

sapgenpse seclogin -p SAPSNCKERB.pse -O SAPServiceSID

We had deleted CRED_V2 FILE before generating keytab file.

While importing this pse in STRUST and save as for SNC SAPcryptolib.

Its showing below error:

Cannot determine public key algorithm of PSE.

Before this we had generated a user on AD server and defined SAP/SPN for this user in ADSI edit.

After login through above user and with SNC defined CN=SPN@DOMAIN, we are getting below error:

Miscellaneous failure.

A221021E: Server refuses kerberos key exchange.

Please help as we have very short time to implement SSO.

Please help, thanks in advance.

Regards

donka_dimitrova
Contributor
0 Kudos

Hello Ashu,

Please, create a CSS ticket and attach the CommonCryptoLib traces.

Best regards,

Donka Dimitrova

Former Member
0 Kudos

Hi Donka,

We have created the OSS ticket but not getting any solution.

Please help us.

We are still getting same error

Miscellaneous failure.

A221021E: Server refuses kerberos key exchange

Regards

donka_dimitrova
Contributor
0 Kudos

Hello Ashy,

Please, send me the ticket number to donka.dimitrova at sap.com.

Regards,

Donka Dimitrova

Former Member
0 Kudos

Hi Donka,

SAP Ticket number:

200909 / 2016

Regards

donka_dimitrova
Contributor
0 Kudos

Hello Ashy,

I see that colleagues are working on your ticked already. You have exchanged info with them and they already replied four times to you since 23rd of March. Seems you already have some progress.

Please, wait for the next reply.

Regards,

Donka Dimitrova

Former Member
0 Kudos

Hi Ashu,

you did some strange things wherever. If you have time, try to proceed according to this checklist. Maybe it helps.

Service Account in Active Directory

Make sure, the account is not locked, has a known and never changing password

Make sure „Use DES encryption“ is not checked

Make sure the Service Principal Name in AD has the following Syntax: SAP/<sAMAccountName>

Check with CLI on a domain system: setspn -l SAPService<SID> if you get returned your SPN

Check with setspn -X -F to avoid duplicate SPNs

Example:

Your SAPs System ID is SA1

Your User Account in AD is SAPServiceSA1

Output of setspn -l <account>

Registered ServicePrincipalNames for CN=SAPServiceSA1,<YOUR OU STRUCTURE>,DC=<..>,D C=<..>: SAP/SAPServiceSA1

SAP System

SNC Library

Ensure by executing „sapgenpse“ you are using a up-to-date CommonCryptoLib 8.4.48+

Make sure the environment variable $SECUDIR is properly defined and points to /usr/sap/<SID>/DVEBMGS<..>/sec

Most important Profile parameters (according to the example above):

snc/identity/as = p:CN=SAPServiceSA1

snc/gssapi_lib = $(DIR_EXECUTABLE)$(DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL)

Clean up your SECUDIR

Delete credentials for SAPSNCSKERB.PSE: sapgenpse seclogin -p SAPSNCSKERB.pse -d

Delete SAPSNCKERB.PSE

Proceed according to the manuals (for Domain names always use UPPERCASE):

Re-Create SAPSNCSKERB.pse (in your post above I noticed you are missing the „S“ in the file name)

Re-Create Credentials for the new PSE and make sure your SAPServiceSID user and/or SIDadm is able to use that credentials

List the credentials for the SIDadm using: sapgenpse seclogin -l (optionally with -O <SAPServiceSID>)

List the keytab and make sure you have 4 entries: sapgenpse.exe get_my_name -p SAPSNCSKERB.pse


Clean up your STRUST

Do NOT import the SAPSNCSKERB.pse into STRUST. Move to STRUST select SNC SAPCryptoLib and right click + delete

You do not need this in STRUST as it would only be required for X.509 based SNC. As the SAPSNCSKERB.pse does not contain any X.509 key pairs and certificates, you receive that error message (unable to determine public key algorithm).

Restart your ABAP System and check dev_w0 to ensure SNC was initialized correctly

SAP GUI Client

On the enable SNC. On the SNC Name enter: p:CN=SAP/SAPServiceSA1 which reflects your SPN syntax.

Regards,

Carsten