안녕하세요 다름이 아니라 LDAP 구축중 아래와 같은 문구가 발생하여 구글링을 해보았는대 안나와서 여쭤봅니다
==================
[root@ldap /]# ldapmodify -Y EXTERNAL -H ldapi:/// -f /root/chdomain.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldapmodify: invalid format (line 5) entry: "olcDatabase={1}monitor,cn=config"
=====================
현제 설정파일 입니다
====
[root@ldap /]# vi /root/chdomain.ldif
dn: olcDatabase={1}monitor,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth"
read by dn.base="cn=Manager,dc=sjmtomm,dc=net" read by * none
dn: olcDatabase={2}hdb,cn=config
changetype: modify
replace: olcSuffix
olcSuffix: dc=sjmtomm,dc=net
dn: olcDatabase={2}hdb,cn=config
changetype: modify
replace: olcRootDN
olcRootDN: cn=Manager,dc=sjmtomm,dc=net
dn: olcDatabase={2}hdb,cn=config
changetype: modify
add: olcRootPW
olcRootPW: {SSHA}DvewLpzgTEdckFseXYES2ZQsoVcp3gWM
dn: olcDatabase={2}hdb,cn=config
changetype: modify
add: olcAccess
olcAccess: {0}to attrs=userPassword,shadowLastChange by
dn="cn=Manager,dc=sjmtomm,dc=net" write by anonymous auth by self write by * none
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to * by dn="cn=Manager,dc=sjmtomm,dc=net" write by * read
===
어떤 이유로 인하여 발생하는지 잘모르겠습니다.. 알려주시면 감사합니다.
|