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

RE: which attributes compose "Relative Distinguished Names"




> -----Original Message-----
> From: Song [mailto:song@rose.nn.gx.cn]
> Sent: Thursday, July 15, 1999 8:47 AM
> To: Emmanuel JEGOU
> Cc: openldap-general
> Subject: Re: which attributes compose "Relative Distinguished Names"
> 
> Surely we human beings understand the right order, but how 
> does the LDAP
> software 
> know which order is right (the left one) and refuse to treate 
>  "o=org1,
> ou=unit1,
>  c=CN" as a valid DN?

It IS a valid DN, with a couple of conditions.  ou=unit1,c=CN has
to be defined as a suffix of your backend and that entry has to
exist in the directory.  If it is, you are
free to create the entry with DN o=org1,ou=unit1,c=CN.  The
server isn't going to make judgements about the validity of
this hierarchy.  However, it will not confuse entries with
DN's ou=unit1,o=org1,c=CN and o=org1,ou=unit1,c=CN.  They are
different DN's, and represent different entries.  It's just up
to you to create a meaningful directory structure.

> > 
> > Hope it could help you. If someone know I am wrong 
> somewhere, tell me please ; I
> > am new with LDAP too.
> > 
> > Manu.
> > 
> > --
> > ---------------------------------
> >  Emmanuel JEGOU
> >  mailto:Emmanuel.Jegou@naonet.fr
> > ---------------------------------
> >  Naonet => Internet - Intranet
> >  http://www.naonet.fr
> > ---------------------------------
>