[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
problem with ldap replication
- To: OpenLDAP-software@OpenLDAP.org
- Subject: problem with ldap replication
- From: carole gimenez <gimenez@cict.fr>
- Date: Tue, 12 Jul 2005 11:51:24 +0200
- Organization: CICT
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414
Hi,
I have openldap 2.2.18
Hi all,
I want to replicate partially the branch "ou=people,dc=ups-tlse,dc=fr"
to keep only some attributes as: cn, sn, uid, mail, ... useful for
sendmail.
On master ldap, if i declare the replica in slapd.conf as this:
replica uri=ldaps://gw1-mail.cict.fr:636
suffix="ou=people,dc=ups-tlse,dc=fr"
binddn="cn=replicator,ou=appli,dc=ups-tlse,dc=fr"
bindmethod=simple credentials=xxxx
and on slave directory:
updatedn "cn=replicator,ou=appli,dc=ups-tlse,dc=fr"
updateref "ldaps://master-ldap.ups-tlse.fr:636"
It works well but when i add the attributes's list, it don't work:
replica uri=ldaps://gw1-mail.cict.fr:636
suffix="ou=people,dc=ups-tlse,dc=fr"
attr="top,person,organizationalPerson,inetOrgPerson,cn,sn,uid,mail"
binddn="cn=replicator,ou=appli,dc=ups-tlse,dc=fr"
bindmethod=simple credentials=xxxx
I try to make severals changes but nothing works.
In the reject log, i have this:
ERROR: Internal (implementation specific) error: no
structuralObjectClass operational attribute
replica: gw1-mail.cict.fr:636
time: 1121161325.1
dn: cn=titi,ou=people,dc=ups-tlse,dc=fr
changetype: add
cn: titi
mail: titi@cict.fr
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
sn: titi
uid: titi
Otherwise, inetOrgPerson is the structuralObjectClass. I don't
understand!!!!
What is the good procedure to follow to give attributes?
Can somebody help me, please?
Thanks for advance.
Carole Gimenez.