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

No validator ???

hi guys
I have just started on the LDAP path and just finding the intial startup a
little too rough..

I have been trying to add tutorial.ldif which ships with JNDI tutorial to the
a ldap directory..

The server conf is as follows

include		/usr/local/etc/openldap/schema/core.schema
include		/usr/local/etc/openldap/schema/java.schema
pidfile		/usr/local/var/slapd.pid
argsfile	/usr/local/var/slapd.args

database	ldbm
suffix		"o=JNDITutorial"
rootdn		"cn=Manager, o=JNDITutorial"
rootpw		secret
directory	/home/anand/work/ldap/data/jnditutorial
index	objectClass	eq

Now when i try to add the file using 

ldapadd -v -f tutorial.ldif -D "cn=Manager, o=JNDITutorial" -W

The first 2 enteries from the file are easily added but no further.. 
I get the following response 

ldap_add: Invalid Syntax
	additional info: No validator for syntax

What does it mean.
I thought this could be because of the absence DN: ou=People, o=JNDITutorial
I tried adding the entry which went thru perfectly.. However still i am not
able to add any further.. Any ideas.. The entry where i am getting stuck
looks like this.

dn: cn=Directory Administrators, ou=Groups, o=JNDITutorial
cn: Directory Administrators
objectclass: top
objectclass: groupofuniquenames
objectclass: organizationalunit
ou: Groups
uniquemember: cn=Rosanna Lee, ou=People, o=JNDITutorial
uniquemember: cn=Scott Seligman, ou=People, o=JNDITutorial
uniquemember: cn=Jon Ruiz, ou=People, o=JNDITutorial
uniquemember: cn=Vinnie Ryan, ou=People, o=JNDITutorial

I am using OPENLdap 2.0.0 FYI

Anand Raman