Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Authentication user in LDAP without configuration?

Hi

I would like check (validate) user name and password at active domain.

I found FM LDAP_SIMPLEBIND.

When used LDAP_SIMPLEBIND to validate user name and password at domain, I got error message (CONFIG_ERROR: Error in the configuration in the SAP system (for example, a non-existent LDAP server ID was specified).


Is in the SAP some FM only for validate user name and password without configure LDAP in SAP or some next unnecessary things?

In C# is simple code without some configuration. Only:

using(var context = new PrincipalContext(ContextType.Domain, "mydomain")) {
return context.ValidateCredentials(username, password); }


Thank you

Former Member
Not what you were looking for? View more on this topic or Ask a question