- 论坛徽章:
- 0
|
slapd.conf最下面是这样的 :
----------------------------------------------------------
database bdb
suffix "dc=broadband,dc=com"
rootdn "cn=Manager,dc=broadband,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 {MD5}4QrcOUm6Wau+VuBX8g+IPg==
#rootpw {SSHA}GvxtTHxUrRO7JUtsFO3eXHHbRjDULD9i
rootpw secret
# The database directory MUST exist prior to running slapd AND
# Indices to maintain
directory /usr/local/var/openldap-data
index objectClass eq
index uid eq, pres, sub --------------------95行
index cn eq, pres, sub ---------------------96行
loglevel 256
------------------------------------------------------------------
运行usr/local/sbin/slapindex 出现:
bash-3.1# /usr/local/sbin/slapindex
/usr/local/etc/openldap/slapd.conf: line 95: <index> extra cruft after <attr> <[pres,eq,approx,sub]>.
slapindex: bad configuration file!
把95行屏蔽
出现bash-3.1# /usr/local/sbin/slapindex
/usr/local/etc/openldap/slapd.conf: line 96: <index> extra cruft after <attr> <[pres,eq,approx,sub]>.
slapindex: bad configuration file!
请问这是什么问题? |
|