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

Re: 2.3.18 syncrepl problem



> Hello!
>
> This is first time I'm trying to do syncrepl...
>
> And I get just:
>
> failed to add syncinfo
> /etc/openldap/slapd.conf: line 162: <syncrepl> handler exited with 1!
> slapd stopped.
>
>
> Config:
>
> syncrepl rid=1
>     provider=ldap://backup.p98.belkam.com:389
>     type=refreshOnly
>     interval=00:00:10:00
>     searchbase="o=Aspec,c=RU"
>     filter="(objectClass=belkamAccount)"
>                 scope=sub
>                 attrs="dn,cn,sn,uid,email"
>                 schemachecking=off
>                 bindmethod=simple
>                 binddn="uid=admin,ou=People,o=Aspec,c=RU"
>                 credentials=eeadewewe
>
>
> How can I find what is wrong?

Use -d -1 and read the output.  I bet "dn" (and likely "email") is not
defined as attribute description.

p.



Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------