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

Re: Problem with replication



>                 binddn="cn=Replicator,dc=nc,dc=com"
>                 bindmethod=simple credentials=secret
[...]
> Error: ldap_simple_bind_s for 192.168.128.248:6666 failed: Invalid
> credentials

Perhaps you need to add an entry "cn=Replicator,dc=nc,dc=com" with a
userPassword of "secret" (or a similar hashed value) to your slave? Since
you have the updatedn set, your slave likely isn't accepting changes, so
perhaps the use of slapadd on the slave, after stopping slapd, is in order.

You can test from the master:

ldapwhoami -x -H "ldap://192.168.128.248:6666/"; \
	-D "cn=Replicator,dc=nc,dc=com" -w secret

and that will likely give "Invalid credentials" as well; get that working first.