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

slurpd doesn't contact slave servers



Hi,

I'm using openldap 2.0.18 on two redhat 7.1, A master and B slave.
on A (slapd.conf):
replogfile /var/lib/ldap/slapd.replog
replica host=B:389
    binddn="cn=Manager,dc=ittralee,dc=ie"
    bindmethod=simple credentials=secret


on B (slapd.conf):
updatedn
"cn=Manager,dc=ittralee,dc=ie"
updateref
ldap://A


>From A, slurpd reads his configuration fine, but doesn't open a
connection to B. ( I checked with netstat -an)

The weird thing is when I run slurpd in debug mode and stop with a
ctrl-C, it is then trying to contact B!

Any idea ?

Thanks, Ronan.


[~]# /usr/sbin/slurpd -d 65535
Config: opening config file "/etc/openldap/slapd.conf"
Config: (include /etc/openldap/schema/core.schema)
Config: (include /etc/openldap/schema/cosine.schema)
Config: (include /etc/openldap/schema/inetorgperson.schema)
Config: (include /etc/openldap/schema/nis.schema)
Config: (include /etc/openldap/schema/redhat/rfc822-MailMember.schema)
Config: (include /etc/openldap/schema/redhat/autofs.schema)
Config: (include /etc/openldap/schema/redhat/kerberosobject.schema)
Config: (include /etc/openldap/schema/courier.schema)
Config: (include /etc/openldap/schema/misc.schema)
Config: (TLSCertificateFile /usr/share/ssl/certs/slapd.pem)
Config: (TLSCertificateKeyFile /usr/share/ssl/certs/slapd.pem)
Config: (database ldbm)
Config: (suffix "dc=ittralee,dc=ie")
Config: (rootdn "cn=Manager,dc=ittralee,dc=ie")
Config: (rootpw {SSHA}9ydvqFYljg+znxu48lk2xz0s2JTXL/GZ)
Config: (directory /var/lib/ldap)
Config: (index objectClass,uid,uidNumber,gidNumber,memberUid eq)
Config: (index cn,sn,ou,dc eq,sub)
Config: (index mail,maildrop,mailLocalAddress eq)
Config: (replogfile /var/lib/ldap/slapd.replog)
Config: (replica host=B:389 binddn="cn=Manager,dc=ittralee,dc=ie"
bindmethod=simple credentials=secret)
Config: ** successfully added replica "B:389"
Config: ** configuration file successfully read and parsed

-> Ctrl-C <-

fm: exiting
begin replication thread for B:389
end replication thread for B:389
slurpd: terminated.