• centos 6.9 部署 kerbors ldap

报错 

[root@hadoop data]# ldapmodify -Y EXTERNAL -H ldapi:/// -f chdomain.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "olcDatabase={1}monitor,cn=config"

modifying entry "olcDatabase={2}hdb,cn=config"
ldap_modify: No such object (32)
matched DN: cn=config

 

vi chdomain.ldif

olcDatabase={2}hdb改成 olcDatabase={2}bdb

 

[root@hadoop data]# ldapmodify -Y EXTERNAL -H ldapi:/// -f chdomain.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "olcDatabase={1}monitor,cn=config"

modifying entry "olcDatabase={2}bdb,cn=config"

modifying entry "olcDatabase={2}bdb,cn=config"

modifying entry "olcDatabase={2}bdb,cn=config"

modifying entry "olcDatabase={2}bdb,cn=config"

[root@hadoop data]# echo $?
0

 

posted on 2018-07-18 19:50  一刀一刀  阅读(4633)  评论(0编辑  收藏  举报