# Use OpenLDAP for authentifikation

**URL:** <https://forum.metasfresh.org/t/use-openldap-for-authentifikation/267>\
**Category:** Developers\
**Created:** [March 1, 2017, 9:56am UTC](https://forum.metasfresh.org/t/use-openldap-for-authentifikation/267 "2017-03-01T09:56:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![holger](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/h/ed8c4c/32.png) [@holger](https://forum.metasfresh.org/u/holger)\
**Post date:** [March 1, 2017, 9:56am UTC](https://forum.metasfresh.org/t/use-openldap-for-authentifikation/267/1 "2017-03-01T09:56:03Z")

</div>

Hi,

I want to use OpenLDAP for auth. I have configured the LDAP server, the domain as well as the LDAP User dn for a user.  
If I try to login with this user, the client prints something like the following to the command line:  
[WT-EventQueue-0] org.compiere.db.LDAP : ldap://domain/ - user@ou=Users,dc=domain  
javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN]

Instead it should be something like uid=user,ou=Users,dc=domain or at best dn=userdn,ou=Users,dc=domain to work with OpenLDAP.

---

<div class="post-metadata">

**Author:** ![metasnw](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/metasnw/32/23_2.png) [@metasnw](https://forum.metasfresh.org/u/metasnw)\
**Post date:** [March 1, 2017, 2:24pm UTC](https://forum.metasfresh.org/t/use-openldap-for-authentifikation/267/2 "2017-03-01T14:24:20Z")

</div>

hi Holger,

I do not think LDAP is currently supported.  
You may create an issue here to address the feature [https://github.com/metasfresh/metasfresh/issues](https://github.com/metasfresh/metasfresh/issues)

Regards,  
Norbert

---

<div class="post-metadata">

**Author:** ![holger](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/h/ed8c4c/32.png) [@holger](https://forum.metasfresh.org/u/holger)\
**Post date:** [March 2, 2017, 12:41pm UTC](https://forum.metasfresh.org/t/use-openldap-for-authentifikation/267/3 "2017-03-02T12:41:39Z")

</div>

Hi Norbert,

thanks for the info.

Regards,  
Holger
