The user is getting GSS-API (maj): An invalid name was supplied error while connecting to SAP using SSO
Studio, Transaction, and Query all versions.
This error happens if the Client is pointing to the wrong SSO/SNC DLL path.
Give the correct SSO/SNC DLL path in Studio or Transaction or Query in setting in SNC library.
Please check with SAP basis team for the SSO/SNC DLL path on user's desktop .
How to find the Path that needs to be added
Go to Folders - Click on This PC – Right click Properties- Advanced System Settings – Advanced – Environment Variables-System Variables – Look for file
a) C:\Program Files\SAP\FrontEnd\SecureLogin\lib\sapcrypto.dll > SNC_LIB_64 (For 64Bit )
b) C:\Program Files (x86)\SAP\FrontEnd\SecureLogin\lib\sapcrypto.dll (for 32 bit).
For 64 Bit Copy Path and add to the Winshuttle – Transaction – Tools- Settings – SAP Defaults – SSO Configuration
For 32 Bit make sure the DLL file is present in the System Variables.
If the files are not present in System Variables then add the Paths yourself by clicking on New.
a)For 32 bit add SNC_LIP on first box and on second box add the path < C:\Program Files\SAP\FrontEnd\SecureLogin\lib\sapcrypto.dll >.
b)For 64 bit – Add SNC_LIB_64 on first box and on second box add path < C:\Program Files\SAP\FrontEnd\SecureLogin\lib\sapcrypto.dll >.
After applying the above steps for 64bit please make sure Path is assigned in Transaction – Tools- Settings -SAP Defaults- SSO Configuration and retest the scenario It should get rid of the error.
Please see the screenshots below for "How to find the Path" section.
Note:- Please check and confirm with your SAP basis team regarding SAP SSO DLL used in your company for example if its sapcrypto.dll or sncgss.dl or any other. Please use path of same DLL in Studio as mentioned in above steps.