[Date Prev][Date Next]
Re: Regarding slapd
I can't really help you that much because I haven't written any client
tools, but I can see some mistakes in what you have written below that might
indicate you misunderstand how openldap works:
> it gets updated here in slave slap but never gets replicated in master
This is functioning as normal: There is no support for slave-to-master
replication. Your client should not update the slave at all.
> i know that slave will not chase the referral
Slaves do not chase referrals. They send referrals to clients, and the
clients chase them.
> and slave is not returning the referral to master indeed.
I don't understand what you are saying here... are you saying that the slave
is not sending the referral back to the client? That does not seem possible,
given that ldapadd does work.
----- Original Message -----
From: "Vishwanath" <firstname.lastname@example.org>
Sent: Thursday, May 03, 2001 12:51 AM
Subject: Regarding slapd
> Hello all,
> This is the third time am asking the same question, i have not yet got
> the solution for my problem.
> The issue is i am writing a LDAP client program in a master-slave
> environment. my client program will always be connected to slave slapd,
> when it tries to update the ldbm, it gets updated here in slave slap but
> never gets replicated in master, i know that slave will not chase the
> referral, and slave is not returning the referral to master indeed.
> For the same setup the tools given ldapmodify and ldapadd does work.
> Who is it that works, i went through the code of ldapmodify, i did not
> found much difference between my program and the ldapmodify.c
> Please do answer me, am in great trouble
> Thanx in advance
> K Vishwanath
> iNabling Technologies Pvt Ltd
> Ph: 3104686, 3104687