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

Re: Schema design question ?




Himanshu Shah wrote:

> Now in openLDAP,
> 1)  Do I really require the objectclass Hosts ? How else can I tell
>    about level 1 to the schema  ?

If all you have is a Hosts organizationalUnit then I don't see that you need a
Hosts objectclass. A Hosts objectclass could be useful if you wanted to
maintain, for example, a list of possible valid host types, or some other
information that is relevant to all hosts.

> 2) Is the above schema definition right ? I mean, Is this the way I am
> supposed to write the slapd.conf file.

In principle, but you need to be real careful as slapd will not start if you
have syntax errors in the slapd.conf file (I've not yet found the way to get
it to report where the error occurred). You need to be careful with commas
etc.

> 3) I have used a keyword 'superior' (as in Tim Howes book) to define the
> parent of an objectclass. But in the manual page for slapd.conf (5), there
> is no indication of such keyword. How do we show a parent objectclass in
> openLDAP ?

Superior is a helpful keyword that was added when the Netscape Directory
Server went to version 3. I don't believe that it's made its way into
OpenLDAP.

> Can anyone help me out ?
>
> Thanks in advance for the help.
>
> Himanshu

Neil.