You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Directory Server - False Error on LDAP Connection?

posted on August 9, 2021

When I try to connect to an LDAP server with Directory Server it says "The supplied credential is invalid"

However if I enter the same credentials into Administration Console I get a successful connection.

How is it that Administration Console accepts the LDAP connection but Directory Server doesn't? It is the same exact username and password.

0 0
replied on August 11, 2021

The event log stack trace would be helpful. The two applications almost certainly use different methods/libraries for LDAP calls.

0 0
replied on August 12, 2021

Found the stack trace in the event log, I don't know how to read these beyond the primary error that my credentials are invalid.

 

System.ServiceModel.FaultException`1[Laserfiche.LicenseManager.LMFault]: The supplied credential is invalid. (Fault Detail is equal to Laserfiche.LicenseManager.LMFault).

Type:
System.ServiceModel.FaultException`1[Laserfiche.LicenseManager.LMFault]

Stack Trace:
   at Laserfiche.LicenseManager.LicenseCacheEntry.RegisterIdentityProvider(IdentityProvider provider, Boolean bGrantAccess, String sessionToken)
   at Laserfiche.LicenseManager.LicenseManagerService.RegisterIdentityProvider(LicenseManagerServiceCallArgs _args)
   at Laserfiche.LicenseManager.LicenseManagerService.DispatchFunction(LicenseManagerServiceCall func, LicenseManagerServiceCallArgs args)

 

0 0
replied on August 16, 2021

Hi Chad,

Are you using the exact same connection settings in LFDS as you did in the Admin Console? (same server hostname, same base distinguished name/root, same SSL/TLS setting etc.)

0 0
replied on August 16, 2021

Yes, everything is the same. Both Admin Console and Forms running on the same OS tell me that my password is correct, only DS tells me it is incorrect. One of the apps must be wrong and it's 2 to 1 against DS. It must be a false error.

The screenshots below start with Forms, then Admin Console, then DS. The configurations have been copied exactly.

0 0
replied on August 16, 2021

Please try sAMAccountName format when setting it up in LFDS (DOMAIN\Username instead of Username@DOMAIN.org)

0 0
replied on August 16, 2021 Show version history

If I use domain\username without the .org the error changes from invalid credentials to no applicable identity providers found.

0 0
replied on August 17, 2021

May I see the stack trace for this error? Might want to look in both LFDS's Server and WebAdmin logs

0 0
replied on August 17, 2021

Not a single error in those logs since the failure to authenticate errors. I just get the message immediately after I click the save button, it does show the server configuration as being successfully saved, but when adding users I get the same error

0 0
replied on August 17, 2021

That is strange, I recommend opening a support case for this issue with a video of the behavior.

0 0
replied on August 19, 2021

Ok, created a case showing the behavior.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.