phabricator LDAP connection failed

匿名 (未验证) 提交于 2019-12-03 01:03:01

问题:

I'm trying to configure LDAP authentification in Phabricator.

the setup on /config/group/ldap/have been done. However, when trying to login using LDAP, phabricator is answering tby the following error:

Is there any configuration trick for ldap authentification for phabricator ?

回答1:

If you have another DN for your Anonymous Username, you have to check Search First and give all ldap "characteristics" for it.

Example :

    LDAP Hostname : yourLdapHostname.com     Base Distinguished Name : OU=UsersEmea,DC=emea,DC=msad,DC=mycorp     Search Attribute : sAMAccountName     Check Search First     Anonymous Username : CN=myanonymous,OU=otherservice,DC=emea,DC=msad,DC=mycorp     Anonymous Password : <password of myanonymous> 


回答2:

You need to install the LDAP PHP extension. Usually, you can do this with something like:

apt-get install php5-ldap yum install php-ldap 


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!