Not able to login to SAS EG for OS users ( eg: sasdemo , sas etc). ( For AD users authentication is working fine)
For OS users i am getting the Error:
An unexpected Error has occured on SAS Metadata
You are not defied as a user in metadata and connecting as PUBLIC.
Exception Details:
----------------------------------------
Exception type: SAS.EC.Directory.Metadata.MetadataException
Message: PUBLIC user is lacking basic authorization to continue
Source: EC.Directory
Target Site: GetServices
Stack Trace:
at SAS.EC.Directory.Metadata.OMSProvider.GetServices()
at SAS.EC.Directory.Metadata.OMSProvider.Initialize()
at SAS.EC.Directory.Metadata.OMSProvider.Connect()
at SAS.EG.SDS.Dialogs.ProviderConnectDlg.Connect(Object sender, DoWorkEventArgs e)
Check in SAS Management Console User Manager that there are metadata definitions for sasdemo and any other user names with the same error.
Never, ever use the SAS install user to log in to a workspace server or similar. The SAS install user has total write access to the whole SAS installation, so there is a reason it does not have a metadata identity (which prevents use of workspace servers etc).
Hello @aneeshv,
can I guess you have a SAS server deployed on a Unix-like server? And if so, the connection to LDAP/AD, how is it being done? PAM or just the Metadata server authenticating against an LDAP tree?
Anyway: try using a loging as : sasuser + "@host". For sasdemo it would be: sasdemo@host.
This SAS Support note may help resolve the issue - http://support.sas.com/kb/58/996.html
Kind Regards,
Michelle
In order to authenticate users must have an identity in the SAS metadata server.
Hello @aneeshv,
since you opened the question 1 week ago, but we could not get your feedback, I just would like to check with you how is the status of your problem, if it is solved or not, and if any of the answers could help you.
To help other SAS users, if any of those did, please mark it as Solution, and if you found the solution in some other way, please share it with us! 🙂
Thank you in advance,
Kind regards,
Juan
Hello,
Generally this error will be displayed if the User is not created in User Manager(Management Console) and you are trying login to Enterprise Guide using that User Identity.
If User is not added in Management Console, you can add the User first and then try to login EG with that identity.
Hope it will solve your issue.
Thanks,
Sangramjit
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.