[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Syncrepl, dumb question
gianni mazzini <maxione4@yahoo.it> writes:
> I am newbie, I am trying to configure Syncrepl beetwen 2 OpenLDAP servers.
> I have read FAQ, Admin's guide, mailing lists, but I didn't find any answer about my problem.
>
> The master server is on 192.168.1.255 subnet and is working fine.
> Now I am triyng to replicate it to another server in 192.168.123.255 subnet.
>
> Replication from provider to consumer works good (if I write an entry in provider, it will be replicated to consumer), but if I try to write to consumer (ldapadd -x -D cn=Manager,dc=DOMAIN -W -f file.ldif) I get only this answer:
>
> adding new entry "cn=newentry,dc=DOMAIN"
> ldap_add: Referral (10)
> referrals:
> ldap://192.168.1.100/cn=newentry,dc=DOMAIN
This is correct. The consumer answers a write operation request with a
referral. It is up to the client to follow this referral. ldapadd is
not able to follow referrals.
> but nothing appears in provider's log and LDAP databases.
Why should you find anything in the providers log?
> How can configure Syncrepl in order to write to consumer and replicate entries to provider too?
There is nothing to configure, just use a proper client application or
read man slapo-chain(5)
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6