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

Trying make a replication



Hello !

I have a troubles with replication slapd.

Some logs

#log of consumer
Aug  2 16:21:37 serversamba slapd[1832]: slapd starting
Aug  2 16:21:37 serversamba slapd[1832]: slap_client_connect: URI=ldap://10.26.7.46:389 DN="cn=syncrepl,dc=defensoria,dc=mg,dc=gov,dc=br" ldap_sasl_bind_s failed (49)
Aug  2 16:21:37 serversamba slapd[1832]: do_syncrepl: rid=123 rc 49 retrying

#logs of provider
Aug  2 16:21:32 defensoria slapd[6345]: slapd starting
Aug  2 16:21:38 defensoria slapd[6345]: conn=1000 fd=13 ACCEPT from IP=10.26.7.45:57491 (IP=0.0.0.0:389)
Aug  2 16:21:38 defensoria slapd[6345]: conn=1000 op=0 BIND dn="cn=syncrepl,dc=defensoria,dc=mg,dc=gov,dc=br" method=128
Aug  2 16:21:38 defensoria slapd[6345]: conn=1000 op=0 RESULT tag=97 err=49 text=
Aug  2 16:21:38 defensoria slapd[6345]: conn=1000 op=1 UNBIND
Aug  2 16:21:38 defensoria slapd[6345]: conn=1000 fd=13 closed

My provider:

moduleload syncprov.la
moduleload back_monitor.la
moduleload back_bdb

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100

My costumer:

syncrepl rid=123
                provider=ldap://10.26.7.46:389
                type=refreshOnly
                interval=01:00:00:00
                searchbase="dc=defensoria,dc=mg,dc=gov,dc=br"
                filter="(objectClass=organizationalPerson)"
                scope=sub
                attrs="cn,sn,ou,telephoneNumber,title,l"
                schemachecking=off
                bindmethod=simple
                binddn="cn=syncrepl,dc=defensoria,dc=mg,dc=gov,dc=br"
                credentials=galo

When I make this under command, it´s run :

ldapsearch -x -v -H 'ldap://10.26.7.46' -b 'dc=defensoria,dc=mg,dc=gov,dc=br' -D 'uid=syncrepl,ou=defensoria,dc=defensoria,dc=mg,dc=gov,dc=br' -W 

Any suggestion ?

Thanks !

Rodrigo Faria Tavares