directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: [Syntax] Does this code look ok for creating a Syntax entry?
Date Sun, 15 Apr 2007 00:05:56 GMT
Ole Ersoy a écrit :

> OK - I gave it a try, aaand (Drum Roll) I get this:
>
> javax.naming.NameNotFoundException: [LDAP: error code 32 - failed to 
> add entry 
> m-oid=1.3.6.1.4.1.18060.0.4.0.0.100000.11123.11233,ou=syntaxes,ou=schema: 
> Parent ou=syntaxes,ou=schema not found];
>
> DOH!

This is simply because you don't have a ou=syntaxes, ou=schema entry. 
Create it, it will work. But then, it's not at all a good idea. You 
should instead create your own entry like cn=mySchema, ou=schema under 
which you will add the ou=syntaxes entry, and then add your m-oid=blah.

> <snip/>

Emmanuel

Mime
View raw message