[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldap ad with invalid structural object class error ( Another error )



HI,

I have modified my ldif to :

------------------------------------------------
dn: cn=Manager, dc=CLIENT8, dc=MYTESQ, dc=COM
objectclass: dcObject
dc: CLIENT8.MYTESQ.COM
objectclass: organization
o: Example Company
------------------------------------------------
But, another error show :

------------------------------------------------
[root@client8 sbin]# ldapadd -x -D
"cn=Manager,dc=CLIENT8,dc=MYTESQ,dc=COM" -W -f add.ldif
Enter LDAP Password:
adding new entry "cn=Manager, dc=CLIENT8, dc=MYTESQ, dc=COM"
ldap_add: No such object

------------------------------------------------

Why ? And , how to make use of the default schema so that I don't have
any problem on adding in a new entry ? (maybe modify or delete later).

I just want to add some entries to LDAP db so that I can continue to my
research on JAAS.

Thanks in advanced again.

Regards,CL