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

Adding jnditutorial object to java.schema.



Hello

I am going through the jnditutorial using openldap. I am actually not getting far with it and have to keep coming back to this list.

I am not adding the jnditutorial object required by the tutorial ldif file in the correct way. Here is how I did it: in the java.schema file I wrote

objectclass ( 1.3.6.1.4.1.42.2.27.4.2.99
   NAME 'jndiTutorial'
   DESC 'needed for the jndi tutorial to work'
   SUP top
   ABSTRACT
   MUST description )

This is required by the entries in the tutorial.ldif file. Here is an example of a few entries:

dn: o=JNDITutorial
o: JNDITutorial
objectclass: top
objectclass: organization

dn: ou=Groups, o=JNDITutorial
ou: Groups
objectclass: top
objectclass: organizationalunit

dn: cn=Directory Administrators, ou=Groups, o=JNDITutorial
cn: Directory Administrators
objectclass: top
objectclass: groupofuniquenames
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

The addition to the java.schema file is a guess based on other entries in the same file. It caused many errors, all solved, but the one which I can't solve is this. When I add tutorial.ldif i receive the following from the server

adding new entry "o=JNDITutorial"
ldap_add: Server is unwilling to perform (53)
       additional info: no global superior knowledge

Could somebody point out my error please.

Thanks

Bill Logan