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

Re: master slave ldap server



I suggest you read slapd.conf(5) with particular attention to
its discussion of updatedn and rootdn.  The Admin Guide also
comments on this.

Kurt

At 08:13 AM 3/15/2006, mallapadi niranjan wrote:
>Hi all
>
>I have openldap 2.3.19 setup one master ldap server,
>and would like to setup an slave ldap server .
>in master slapd.conf i have given the following replica directive
>###########################################
>replogfile
>/usr/local/ldap2.3/var/openldap/openldap-slurp/openldap-master-replog
>replica host-192.168.129.18:389
>           suffix ="dc=mydomain,dc=com"
>           binddn="cn=manager,dc=msdpl,dc=com"
>           credentials=secret
>           bind method = simple
>#####################################################
>
>at slave ldap server slapd.conf
>
>database bdb
>suffix "dc=msdpl,dc=com"
>rootdn "cn=manager,dc=msdpl,dc=com"
>rootpw secret
>idletimeout 30
>timelimit 50
>updatedn "cn=manager,dc=msdpl,dc=com"
>updateref ldap://192.168.129.20
>
>#######################################################
>in the above master and slave slapd.conf , i have used same rootdn,
>is it correct to use ?
>
>please guide me
>
>Regards
>Niranjan
>
>
>
>
>On 3/15/06, mallapadi niranjan <niranjan.ashok@gmail.com> wrote:
>>
>> Hi howard
>>
>> thanks for the replay, please clear my one more query regarding
>>
>> 3) can slave rootdn, and master rootdn be same, ie if the master rootdn is
>> "cn=root,dc=mydomain,dc=com",
>> ie, at master slapd.conf at replica directive if we give the
>> "binddn=cn=root,dc=msdpl,dc=com".
>>
>> Regards
>> Niranjan
>>
>>
>>
>> On 3/15/06, Howard Chu <hyc@symas.com> wrote:
>> >
>> > mallapadi niranjan wrote:
>> > > Hi matthew
>> > >
>> > > we are using slurpd,
>> > > my query is
>> > >
>> > > 1) will the slave discard the updates when the  master ldap server is
>> > down.
>> > >
>> >
>> > A slave never processes user updates. It returns a referral to the
>> > client; it is up to the client to do the right thing with the referral.
>> >
>> >
>> > --
>> >   -- Howard Chu
>> >   Chief Architect, Symas Corp.  http://www.symas.com
>> >   Director, Highland Sun         http://highlandsun.com/hyc
>> >   OpenLDAP Core Team            http://www.openldap.org/project/
>> >
>> >
>>