# LDAP Authentication: Not able to login; no Permissions for User

**URL:** <https://forum.opensearch.org/t/ldap-authentication-not-able-to-login-no-permissions-for-user/10832>\
**Category:** Security\
**Created:** [September 5, 2022, 5:50pm UTC](https://forum.opensearch.org/t/ldap-authentication-not-able-to-login-no-permissions-for-user/10832 "2022-09-05T17:50:00Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [September 9, 2022, 2:33pm UTC](https://forum.opensearch.org/t/ldap-authentication-not-able-to-login-no-permissions-for-user/10832/11 "2022-09-09T14:33:58Z")

</div>

@user2111 You don’t need to provide an AD certificate in the opensearch\_dashboards.yml config file.

I’ve got confused a little bit. In the following thread, you stated that LDAP authentication is working and now you need to assign the roles.

> [@Opensearch connection error with LDAP server](https://forum.opensearch.org/t/opensearch-connection-error-with-ldap-server/10799):
>
> Good evening, I would like to enable authentication and authorization with LDAP and for this purpose I am following I edited the config.yml file similarly as described there with my own credentials and with giving the path to another ca file as used in the nodes. Then I updated Opensearch by running securityadmin.sh. My hostname at config: hosts: has the form config: hosts: - ldaps://example.de:636 I get a java.lang.NumberFormatException with this host. I also tried some variations an…

Could you confirm that?  
Is it the same environment?

---

_[View the full topic](https://forum.opensearch.org/t/ldap-authentication-not-able-to-login-no-permissions-for-user/10832)._
