# LDAP authentication issues - user not found

**URL:** <https://discourse.openondemand.org/t/ldap-authentication-issues-user-not-found/752>\
**Category:** Get Help\
**Tags:** question\
**Created:** [February 25, 2020, 2:35pm UTC](https://discourse.openondemand.org/t/ldap-authentication-issues-user-not-found/752 "2020-02-25T14:35:26Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![arashnh11](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/arashnh11/32/341_2.png) [@arashnh11](https://discourse.openondemand.org/u/arashnh11)\
**Post date:** [February 27, 2020, 10:41pm UTC](https://discourse.openondemand.org/t/ldap-authentication-issues-user-not-found/752/13 "2020-02-27T22:41:57Z")

</div>

> [@jeff.ohrstrom](#):
>
> AuthLDAPSearchAsUser on

Thanks for all the help. I finally got this working for another user too. Here are the settings that worked for us:  
Note the AuthLDAPURL does not have “CN” in our case. Also binding with an admin account was necessary.

## [root@host ~]# cat /etc/ood/config/ood\_portal.yml

auth:

- ‘AuthType Basic’
- ‘AuthName “private”’
- ‘AuthBasicProvider ldap’
- ‘AuthLDAPURL “ldaps://ldaps…/OU=\<user\_name\>,DC=\<dc\_dir\>,DC=\<dc\_org\>?name”’
- ‘AuthLDAPGroupAttribute cn’
- ‘AuthLDAPGroupAttributeIsDN on’
- ‘Require valid-user’
- ‘AuthLDAPBindDN “cn=\<cn\_admin\>,ou=\<ou\_users\_name\>,dc=\<dc\_name\>,dc=\<dc\_org\>”’
- ‘AuthLDAPBindPassword \*\*\*’

---

_[View the full topic](https://discourse.openondemand.org/t/ldap-authentication-issues-user-not-found/752)._
