Re: centos + ldap + syncrepl (push vs pull)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 2010-04-01 at 17:25 -0700, aurfalien@xxxxxxxxx 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux