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

RE: DIT structure Rule description



You can get JAVA based tools (at a cost) to view the Directory structure.
Sounds like you will probably need to write a PERL script that will parse
and extract the structure/relationships of the OC from the various schema
files.

I have not yet seen a tool that finds or builds the relationship of the OC.
The relationship, although defined in the standards is not really followed
during implementation. This is because the IETF/ITU only provide
recommendations in terms of the parent-sibling-leaf entries. Some vendors
are strict about the relationship and will not allow you to break the
structure, others provide name bindings, some allow you to build the DIT
structure as you like (built in bindings) which means that you could have a
relationship such as

localityName=xxx
       |
organisation=name
	 |
country=gb

Sure you will not normally get country under a person, but you can apply
name bindings to work this but I see no reason to do that (unless its
organizationalPerson=Bill Gates, c=US)

As you know, country generally tends to be just below root , but this does
not have to be the case. With this in mind, you will probably need to write
a script based on your own site. What I was referring to was a tool that
would take your DIT and display in a top down format as stated in the first
paragraph.

It is also worth getting hold of the X.500 ITU recommendation which the LDAP
world takes its roots from. There is clear description on the recommended
use of OC relationships within the DIT.

Cheers.




-----Original Message-----
From: Florence Lai [mailto:flor_lai@yahoo.com]
Sent: Wednesday, March 27, 2002 3:01 PM
To: Dhiren Pankhania; openldap-software@OpenLDAP.org
Subject: RE: DIT structure Rule description


Thanks

It is true, I can use GUI to veiw the DIT structure.

Do u know which tool ( library , com object ) to get
the DIT structure for objectclasss ?

It is similar objectclass Name binding

example,
organizationalperson could be under organization,
country etc

But country cannot be under organizationalPerson. It
is impossiable.

That's why, I want to get the DIT to see my directory
schema structure.

Also, objectclasses and attributetypes in schema
doesnt tell me the DIT structure, Only tell me the
super class and syntax etc

Thanks

Florence
--- Dhiren Pankhania
<dhiren.pankhania@digital.cwctv.org> wrote:
> You can do a search of the whole tree and output it
> to a file, this the
> structure, objects and attributes. If you are
> looking to plot a view of your
> DIT, then it is worth getting a GUI tool that will
> view the DIT. Not sure
> what you mean by a structure rule.
>
> Regards,
>
> Dhiren Pankhania
>
> NTL
> iDTV Development
> London
> UK.
>
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On
> Behalf Of Florence Lai
> Sent: Monday, March 25, 2002 9:17 PM
> To: openldap-software@OpenLDAP.org
> Subject: DIT structure Rule description
>
>
> hi
>
> Anyone know how to get the DIT structure Rule
> description information from the schema.
>
> Could I use "ldapsearch" command to get the DIT
> structure information ?
>
> Thanks for help
>
> Florence
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards.
> http://movies.yahoo.com/
>


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards.
http://movies.yahoo.com/