suffix "o=aaa"
rootdn "cn=Manager, o=aaa
"라고 줬구요...
test1.ldif라는 파일을 아래와 같이 만들었구요...
add시 어찌 작성해야 할지 모르겠어요.
ldapadd -D "ou=People,ou=Groups,o=aaa" -w secret -f test1.ldif
라고 써 줬는데, 이 문구가 잘못된 건지 아님 ldif파일에 구문오류가 있는건지...
선배님들 도와주세요...
dn:o=JCAS
objectclass:top
objectclass:organization
o:JCAS
description:for the example
dn:ou=People,o=JCAS
objectclass:top
objectclass:organizationalUnit
ou:People
description:fictional organizational unit for the example purpose
dn:cn=June Rossi,ou=People,o=JCAS
objectclass:top
objectclass:person
objectclass:organizationalPerson
objectclass:inetOrgPerson
cn:June Rossi
sn:Rossi
givenName:June
mail:rossi@airius.com
userPassword:rossi
ou:Acounting
ou:people
telephoneNumber:2616
roomNumber:220
dn:cn=Marc Chambers,ou=People,o=JCAS
objectclass:top
objectclass:person
objectclass:organizationalPerson
objectclass:inetOrgPerson
cn:Marc Chambers
sn:Chambers
givenName:Marc
mail:chambers@airius.com
userPassword:chambers
telephoneNumber:2652
ou:Manufacturing
ou:people
roomNumber:167
dn:cn=Robert Wong,ou=People,o=JCAS
objectclass:top
objectclass:person
objectclass:organizationalPerson
objectclass:inetOrgPerson
cn:Robert Wong
sn:Wong
givenName:Robert
mail:bwong@airius.com
userPassword:wong
telephoneNumber:2881
roomNumber:211
ou:Manufacturing
ou:people
dn:ou=Groups,o=JCAS
objectclass:top
objectclass:organizationalUnit
ou:Groups
description:organizational unit for example purpose
|