LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1160|回复: 0

additional info: SASL(-13): user not found: no secret in database

[复制链接]
发表于 2005-3-23 02:01:36 | 显示全部楼层 |阅读模式
fedroa core 3 下配置LDAP出现如下问题

fedroa core 3 下修改了ldap.conf 和 slapd.conf 文件后,
参照很多资料应该是正确配置了

[root@coolwinds sbin]# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#

#
dn:
namingContexts: o=testnet.de

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

[root@coolwinds sbin]# ldapadd -D "cn=Manager, o=testnet.de" -w secret < /etc/openldap/ldif
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
        additional info: SASL(-13): user not found: no secret in database




/etc/openldap/ldap.conf


##########/etc/openldap/ldap.conf#########



# More details in the man page ldap.conf(5)

# This file should be globally readable



# here you specify the LDAP server: host name and IP address

host 127.0.0.1



# starting a search this is the first point in your directory

# tree of the database.



base  o=testnet.de



# that is all



############################################


etc/openldap/slapd.conf


######### /etc/openldap/slapd.conf ###########



# this file must not be globally readable



# slapd.at.conf <-- here you find a description of the attributes

# slapd.oc.conf <-- here you find a description of the object classes


include         /etc/openldap/slapd.at.conf

include         /etc/openldap/slapd.oc.conf

schemacheck     off


pidfile         /var/run/slapd.pid

argsfile        /var/run/slapd.args


# settings for the LDAP database

# here you specify the database which has to be used



database        ldbm



# Suffix / root directory. this is the highest entry in the

# LDAP directory

suffix          "o=testnet.de"



# Here the LDAP database is saved

directory       /var/lib/ldap


# the administrator's name of this directory

rootdn          "cn=Manager, o=testnet.de"



# here you specify the administrator's password

rootpw          secret

############################################ :ask  :ask  :ask
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表