關於Openldap啟動的問題,請大家指導一下小弟!
首先我介紹一下我的配置情況:
作業系統:RedHat AS 4.2
使用的軟體:openldap-2.2.13-4.i386
我在修改/etc/openldap/slapd.conf時加入以下的資訊:
include /etc/openldap/schema/samba.schema
database bdb
suffix "dc=easy,dc=com"
rootdn "cn=Manager,dc=easy,dc=com"
rootpw {SSHA}ocs9P8NvXQYmWA5Vjks1ckDGIRiN5sbz
index objectClass,uidNumber,gidNumber eq
index cn,sn,uid,displayName pres,sub,eq
index memberUid,mail,givenname eq,subinitial
index sambaSID,sambaPrimaryGroupSID,sambaDomainName eq
access to attrs=userPassword,sambaLMPassword,sambaNTPassword (這是文檔的line 98)
by self write
by anonymous auth
by * none
access to * (這是文檔的line 102)
by * read
[root@pdc ~]# service ldap start
檢查配置檔/etc/openldap/slapd.conf: line 98: warning: no by clause(s) specified in access line
/etc/openldap/slapd.conf: line 102: warning: no by clause(s) specified in access line
config file testing succeeded
啟動slapd [ 確定 ]
請問是什麼原因啊,希望大家可以指導一下小弟啦!線上等待!