directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: [ApacheDS] confusing with ladp schema and usage
Date Mon, 17 Sep 2007 06:46:17 GMT
Hi Johny,

at this point, I think the best for you would be to by one of the many
books about LDAP. This one, for instance, is pretty good if you want
to grasp with the basic of LDAP :
http://www.oreilly.com/catalog/ldapsa/

You can also try http://www.redbooks.ibm.com/abstracts/sg244986.html.

Otherwise, some googling will hep you too.

Hope it helps.

On 9/17/07, Johnny Yangthur <yestalk@gmail.com> wrote:
> excuse me , i'm a little confuse with ldap schema.
>
> the object schema and the attribute schema.
>
> in object shcema definition :
> objectclass
> (
>   1.1.2.2.2 NAME 'myPerson'
>   DESC 'my person'
>   SUP inetOrgPerson
>   MUST ( myUniqueName $ givenName )
>   MAY (myPhoto)
> )
>
> above seems didn't indicated which is dn or rdn,does any attribute of
> an object of ldap could be an rdn?
>
> example:
>
> objectclass
> (
>   *.*.*.*.* name 'vPerson'
>   desc 'a virtual Person'
>   sup top
>   must ( name $ birthday $ organization $ uid)
>   may (favorite $ hight )
> )
>
> assume there have a partition called " dc=yestalk,dc=com "
>
> so under could be correct:
>
> dn: name=John,dc=yestlk,dc=com
> objectclass:vPerson
> objectclass:top
> birthday:6.6.1983
> organization:none
> uid:00000007
> name:John
>
> ----------------------
>
> so under could be correct too:
>
> dn: uid=00000007,dc=yestlk,dc=com
> objectclass:vPerson
> objectclass:top
> birthday:6.6.1983
> organization:none
> uid:00000007
> name:John
>
> ----------------------
>
>
> so under could be correct too:
>
> dn: birthday=6.6.1983,dc=yestlk,dc=com
> objectclass:vPerson
> objectclass:top
> birthday:6.6.1983
> organization:none
> uid:00000007
> name:John
>
> ----------------------
>
>
> so under could be correct too:
>
> dn: organization=none,dc=yestlk,dc=com
> objectclass:vPerson
> objectclass:top
> birthday:6.6.1983
> organization:none
> uid:00000007
> name:John
>
> doesn't it? ----- i just refer many doc and book , the basic always
> mention any where ,and the confuse
>
> point still confusing.....
>
> could any one introduce some article for easily understand those
> concepture? exactly , i even actually
>
> don't kown the usage of ldap,and how does it serve dns etc .....
>
> thanks for help.
>
> --
> Johnny Yangthur
>


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message