
InyottaA.57625 (Customer) asked a question.
I’m integrating OpenLDAP with Okta using the latest Java LDAP Agent on a Linux server. The agent is running and connected, but I’m stuck on the “Configure Directory Mappings” step.
Validation keeps failing with: “User not found while executing query"
What’s the best practice for mapping UID or email when using OpenLDAP with Okta?
Do I need to restructure my user entries or adjust Okta’s expectations?
Any advice or examples from working setups would be appreciated.
Thanks!

Hi @InyottaA.57625 (Customer) , Thank you for reaching out to the Okta Community!
Please review the following documentation to check if there are any discrepancies between your configuration and the expected one:
Configure LDAP integration settings
OpenLDAP integration reference
I've also seen a report mentioning that the issue was caused for a user by the restriction mentioned in this article.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.