ldapadd 를 사용하는데, 다음과 같은 에러가 나타납니다.
ldapadd -x -D "cn=Manager, dc=example, dc=com" -W -f example.ldif
Enter LDAP Password: secret [엔터]
ldap_bind: Invalid credentials
slapd.conf 파일의 내용의 일부분은 다음과 같습니다.
**********************************************************
database ldbm
suffix "dc=example, dc=com"
rootdn "cn=Manager, dc=example, dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
*********************************************************
그리고 example.ldif 파일의
내용은 다음과 같습니다.
********************************************************
dn: dc=example, dc=com
objectclass: dcObject
objectclass: organization
o: myorganization
dc: example
dn: cn=Manager, dc=example, dc=com
objectclass: organizationalRole
cn: Manager
********************************************************
Invalid credentials 라는 말은 패스워드 입력이 틀렸다는 말인가요?
|