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

trouble with replication



Hello,


I'm running 1.2.7 on a Linux 2.2.14 system.
I have a master Ldap server and two replicate servers.

I have a particular attribut which contains some flags :
--> at: bu,cp
Adding a flag is OK even on the slapves server but when I want to remove
all the flags, it works fine on the master ldap server but there is no
replication for this modification on the slaves. (The attribut 'at' is
not require in the objectclass so it can be empty or missing).

 
Here is what I found in the slurpd.replog :

Here I just add the flag 'bu' to the attribut at :
replica: ldap2.priv2
replica: ldap3.priv2
time: 949589247
dn: L=AO005-2,M=AO005,C=OLEANE,T=B
changetype: modify
replace: at
at: bu

Here I removed this flag :
replica: ldap2.priv2
replica: ldap3.priv2
time: 949589253
dn: L=AO005-2,M=AO005,C=MYCOM,T=B
changetype: modify
replace: at
at: 



If I create a file which contains :

dn: L=AO005-2,M=AO005,C=MYCOM,T=B
changetype: modify
replace: at
at: 


and use it with ldapmodify I have an error :

oau@coober:~ $ ldapmodify  -h localhost -D p=odial,t=o -w Oleane77 -f t2 
ldapmodify: invalid format (line 4 of entry:
L=AO005-2,M=AO005,C=OLEANE,T=B

--> attribut 'at' can't be empty.

Is there any workaround ?

Many thanks in advance ,
--
Olivier Aussage,  oau@oleane.net