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

Re: basic directory structure



On 28 Apr, Louis-David Mitterrand wrote:
> What is the best directory structure to store vendors, clients, partners
> and other contacts of a company?
> 
> 1) use a hierarchy like: 
> 
> dc=com-->dc=our-company-->ou=Contacts-->ou=Vendors-->cn=Vendor Person1
>                                      |
>                                      `->ou=Clients-->cn=Client Person2
>                                      |
>                                      `->ou=Partners
> 
> 2) store contacts under their own hierarchy:
> 
> dc=com-->dc=client1-company-->ou=People-->cn=Person1
>       |
>       `->dc=client2-company-->ou=People-->cn=Person2
>       
> dc=net-->dc=client3-company-->ou=People-->cn=Person3
>       |
>       `->dc=client4-company-->ou=People-->cn=Person4
> 
> dc=org-->dc=client5-company-->ou=People-->cn=Person5
>       |
>       `->dc=client6-company-->ou=People-->cn=Person6
> 

It really boils down to how you plan on accessing and administrating
the database. Unless you are talking a huge (i.e. millions) of records,
it doesn't really matter if they are in separate databases.

For example, a search can only be formed from the base of a database.
So in method 1 you can easily search your entire database however with
method 2 you are limited to searching each tree individually.

Is this to be used by and internal application or something else?

-- 
Doug Nazar
Dragon Computer Consultants Inc.
Tel: (416) 708-1578     Fax: (416) 708-8081