CentOS 6.2上的OpenLDAP(@ localhost)

我试图在CentOS 6.2上configurationopenldap,我只是在家里的服务器上testingopenldap,所以我没有任何DNS服务器和类似的东西。

我已经使用以下configuration安装了openldap:

Country Name (2 letter code) [XX]:US State or Province Name (full name) []:Utah Locality Name (eg, city) [Default City]:Utah Organization Name (eg, company) [Default Company Ltd]:MyCompany Organizational Unit Name (eg, section) []:Information Technology Common Name (eg, your name or your server's hostname) []:localhost.localdomain Email Address []:[email protected] 

和dc值如下:

  dc=localhost,dc=localdomain 

我已经从我的系统导入所有的用户和组没有问题,我有一个“pipe理”帐户openldap称为“Administrador”。

问题是当我尝试使用“phpLDAPadmin”login时,因为每次我想要访问我的任何用户,我收到以下消息:

无法连接到LDAP服务器我的LDAP服务器错误:用户无效的DN语法(34)无法对服务器进行身份validation无效的用户名或密码。

你有没有试过做这样的事情? 有没有问题,因为我的域configuration? (的localhost.localdomain)

PS:我已经使用“search”工具,我发现这一个, 如何configuration打开ldap在本地主机上工作

提前谢谢你!

哦,顺便说一句,当我去浏览器上的phpLDAPadmin,就像我上面说的,我不能使用我的任何帐户,但我可以使用“匿名”访问我所有的LDAP细节。

这很奇怪,对吧?

先谢谢你!。