[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Regarding communication between two servers in openLDAP
"Anjali Arora" <anjalikool@gmail.com> writes:
> Hi,
>
> Actually i want to establish a connection between to slapd(daemon). Suppose we
> have a tree and tree structure in the attachment.
>
> I want one slapd will take careof tree hierarchy under Home and other slapd
> will take care of tree hierarchy under gstorage(This is my problem) how can i
> write slapd.conf file to establish connection between these two.
>
> Please let me know as soon as possible.
I don't quite understand what you want to achieve, but there are a
few scenarios:
,----[1. two slapd instances with referral]
| database bdb
| suffix cn=Home
| directory ../database1
| rootdn cn=admin
|
| database bdb
| suffix cn=gstorage
| directory ../database2
| rootdn cn=admin
|
| dn: cn=gstorage
| objectclass: referral
| objectclass: extensibleObject
| cn: gstorage
| ref: ldap://localhost:3389/cn=gstorage??sub??
`----
,----[ 2. two slapd instances with back-ldap ]
| database ldap
| suffix cn=gstorage
| uri ldap://localhost:3389
| rootdn cn=admin
|
| database bdb
| suffix cn=Home
| directory ../database
| rootdn cn=admin
`----
,----[ 3. single slapd instance ]
| database bdb
| suffix cn=Home
| directory ../database1
| rootdn cn=admin
| subordinate
|
| database bdb
| suffix cn=gstorage
| directory ../database2
| rootdn cn=admin
| subordinate
|
| database bdb
| suffix ""
| directory ../database3
| rootdn cn=admin
| rootpw
`----
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6