[CentOS] centos + ldap + syncrepl (push vs pull)

Fri Apr 2 18:54:02 UTC 2010
aurfalien at gmail.com <aurfalien at gmail.com>

Hi Craig,

Just some clarification.

Which is your primary ldap, linserv1.example.com or  
linserv2.example.com?

I'm assuming linserv1.example.com?

- Brian
On Apr 1, 2010, at 5:49 PM, Craig White wrote:

> On Thu, 2010-04-01 at 17:25 -0700, aurfalien at gmail.com wrote:
>> Hi Craig,
>>
>> Will the below config allow me to push using slurp... to the d that  
>> is;
>>
>> primary ldap slapd.conf;
>> replica uri=ldap://ldap.dns.name:389
>> binddn="cn=replicauser,dc=domain,dc=name" bindmethod=simple
>> credentials=passofreplicauser
>>
>> secondarie{s} ldap slapd.conf;
>> updatedn cn=replicauser,dc=domain,dc=name
>> updateref ldap://ldap.dns.name
>>
> ----
> This what I am using... YMMV
>
> (primary - a separate, virtually stanza for each slave)
> replica         host=linserv1.example.com:389
>                suffix="dc=example,dc=com"
>                binddn="cn=replica,dc=example,dc=com"
>                credentials=passwordofreplica
>                bindmethod=simple
>                tls=yes
>
> (secondary any/all)
> updatedn        "cn=replica,dc=example,dc=com"
> updateref       ldap://linserv2.example.com
>
> Don't forget, cn=replica,dc=example,dc=com must be given write  
> access to
> everything via ACL's
>
> Craig
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos