Dear Team,
I am getting LDAPSearchException when executing LDAP policy to authenticate user from external AD.
Can any one help?
Thanks and Regards,
Manish
people might be able to help. but you'll need to show your configuration -both of the LDAP policy and the LDAP resource.
Hide private details.
Hi Team, We are getting below error when calling API with LDAP policy.
{ "fault": { "faultstring": "com/unboundid/ldap/sdk/LDAPSearchException", "detail": { "errorcode": "Internal Server Error" } } }
Below is LDAP policy configuration. We are using this to authenticate user with external active directory.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Ldap async="false" continueOnError="false" enabled="true" name="LDAP-1"> <DisplayName>LDAP-1</DisplayName> <LdapResource>Ldap_ExtAD_Mig</LdapResource> <Authentication> <UserName ref="request.header.username"/> <Password ref="request.header.password"/> <Scope>subtree</Scope> <BaseDN>myBaseDN</BaseDN> </Authentication> </Ldap>
Also find the details of the ldap resource
<LdapResource name='myLdap'><Connection><Hosts><Host>myhost.com</Host></Hosts><SSLEnabled>false</SSLEnabled><Version>3</Version><Authentication>simple</Authentication><ConnectionProvider>unboundid</ConnectionProvider><ServerSetType>round robin</ServerSetType></Connection><ConnectPool enabled='true'><Timeout>30000</Timeout><Maxsize>50</Maxsize><Prefsize>30</Prefsize><Initsize></Initsize><Protocol></Protocol></ConnectPool><Admin><DN>CN=AAA,OU=BBB,OU=CCC,O=DDD</DN><Password>secret</Password></Admin></LdapResource>
Please help to find the solution.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |