slapd.conf설정파일은 이렇구요
database ldbm
suffix "dc=iloveu,dc=sarang,dc=net"
rootdn "cn=Manager,dc=iloveu,dc=sarang,dc=net"
test.ldif파일은 이렇습니다
dn: dc=iloveu,dc=sarang,dc=net
objectclass: dcObject
objectclass: organization
o: daou internet.inc
dc: iloveu
dn: cn=Manager,dc=iloveu,dc=sarang,dc=net
objectclass: organizationalRole
cn: Manager
머 ldif파일 내용이 www.openldap.org의 매뉴얼내용이고
제가봐도 attribute나 objectclass문법이 틀려보이진 않습니다 그런데
실행해보면
ldapadd -f test.ldif -D "cn=Manager,dc=iloveu,dc=sarang,dc=net" -W
Enter LDAP Password:
adding new entry "dc=iloveu,dc=sarang,dc=net"
ldap_add: Invalid syntax
additional info: objectClass: value #0 contains invalid data
ldif_record() = 21
이렇게 되는군요?? 머가 Invalid syntax라는 건지 모르겠네요 리플좀
부탁드립니다 그리고 한가지 의문점이 있는데요
첨에 suffix에서 cn=A,dc=B,dc=C 이런식으로 줬다면 이건 무얼 의미하는건가요?
그리고 ldap에 유저를 따로 만든다는게 있나요? 다른 rdbms처럼?? 저기 ldap
browser를 설치해서 해봤더니 anonymous로만 접속이 되고 Manager을 넣어봤더니
접속이 안되더군요?? 답변 좀 부탁드립니다
|