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

Re: basedn for multi top domain



At 08:07 PM 2001-09-05, Chris Lee wrote:
>Hi,
>
>My company got the following domain:
>
>sample.com
>sample.com.hk
>sample.com.cn
>
>I want to setup an LDAP address book, so that the user can lookup the email
>address.
>
>Suppose I using objectClass: posixAccount, what is the basedn for searching?

Well, if you wanted to base your naming context (suffix) DN off
one of the above domains, you'd use:
        dc=sample,dc=com
        dc=sample,dc=com,dc=hk
or
        dc=sample,dc=com,dc=cn