免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 15233 | 回复: 6
打印 上一主题 下一主题

[ldap] ldap启动出现ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-10-22 11:01 |只看该作者 |倒序浏览
20可用积分
[root@localhost bin]# slapd -d 256
@(#) $OpenLDAP: slapd 2.4.11 (Oct 20 2009 13:55:46) $
        root@localhost.localdomain:/usr/local/openldap-2.4.11/servers/slapd
slapd stopped.
connections_destroy: nothing to destroy.

输入slapd还是SHELL下没有信息。

我的slapd.conf
database        bdb
suffix          "dc=pplive,dc=com"
rootdn          "cn=root,dc=pplive,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd( and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw  secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /usr/local/openldap/var/openldap-data
# Indices to maintain
index   cn,sn,uid,pres,eq,approx,sub
index   objectClass     eq

还望各位路过的提点一下,搞了两天了,谢谢。

论坛徽章:
0
2 [报告]
发表于 2009-10-22 12:21 |只看该作者

论坛徽章:
0
3 [报告]
发表于 2009-10-22 13:44 |只看该作者
他上面有错误提示,我这没有,那贴子我看过。

论坛徽章:
0
4 [报告]
发表于 2009-10-22 18:33 |只看该作者
检查ldap服务是否开启,检查slapd.conf文件

论坛徽章:
0
5 [报告]
发表于 2010-04-12 13:19 |只看该作者
我也有这个错

论坛徽章:
0
6 [报告]
发表于 2010-04-12 13:19 |只看该作者
当用ldapadd 时输入密码没有错,但用ldappasswd时,会提示ldap_sasl_bind(SIMPLE): Can't contact LDAP server错误。不知道为什么。。

论坛徽章:
0
7 [报告]
发表于 2010-04-15 20:30 |只看该作者
根据你的信息无法判断是什么问题,将256改成-1,然后再看看输入


顺便看看你的389端口是不是被占用了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP