"Mark Coetser" <[EMAIL PROTECTED]> writes: >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:owner-openldap- >> [EMAIL PROTECTED] On Behalf Of Dieter Kluenter >> Sent: 05 October 2005 08:31 PM >> To: [email protected] >> Subject: Re: intergrate ldap directories >> >> "Mark Coetser" <[EMAIL PROTECTED]> writes: >> >> > Hi Ppl >> > >> > I have 2 servers each masters for their own directory >> > >> > Server1 = dc=des,dc=jhb,dc=domain,dc=co,dc=za >> > Server2 = dc=cor,dc=jhb,dc=domain,dc=co,dc=za >> > >> > Is there a way that I can get both servers to have the data from both >> trees >> >> Yes, think of glue and back-ldap, or syncrepl. >> That is, depending on the version you are running, you may define a >> subordinate database or glue databases.
> Thanks for the reply > > I am running version 2.2.23-8 on Debian sarge, I am quite new to ldap and > don't quite understand what glue or back-ldap do, I have a vague > understanding of syncrepl which would be better to use and does anyone have > an example slapd.conf that I could have a look at ? think of something like database bdb suffix dc=des.dc=jhb,dc=domain,dc=co.dc=za subordinate database ldap suffix dc=cor,dc=jhb,dc=domain,dc=co,dc=za uri ldap://the.other.server subordinate database bdb suffix dc=jhb,dc=domain,dc=co,dc=za (alternatively) database bdb suffix dc=jhb,dc=domain,dc=co,dc=za syncrepl rid=xx provider=ldap://the.other.server type=refreshOnly searchbase="dc=cor,dc=jhb,dc=domain,dc=co,dc=za <more parameters> See man slapd-ldap(5) and slapd.conf(5) for detailed information. -Dieter -- Dieter Klünter | Systemberatung http://www.dkluenter.de GPG Key ID:8EF7B6C6
