[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 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://"; \
	-D "cn=Replicator,dc=nc,dc=com" -w secret

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