[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
referrals (not using ManageDsaIT correctly)
Hi,
I have two ldap servers, a master and a slave. I wish to
deligate a subtree to the slave.
The master has an entry:
dn: cn=MD, dc=SharemediaTest, dc=com
objectclass: smvsSeperator
cn: MD
so on the master I type:
ldapmodify -a -M -f referral2.ldif -x -D
'cn=Manager,dc=SharemediaTest,dc=com' -W
where referral2 looks like:
dn: cn=SilverSpring, cn=MD, dc=SharemediaTest, dc=com
objectClass: referral
objectClass: extensibleObject
cn: SilverSpring
ref:
ldap://umc71.SharemediaTest.com/cn=SilverSpring,dc=MD,dc=SharemediaTest,dc=com/
Then (on the master) I add a slew of records under
SilverSpring. I have slapd running on both master and slave and
slurpd running on the master- as I understand it the master
should think "Hey all these entries are in a deligated subtree-
I'll push them down to the appropriate ref.
I get a response like:
ldif_record() = 10
adding new record "cn=Bob's Place, cn=SilverSpring, cn=MD,
dc=SharemediaTest, dc=com"
ldap_add: Referral
matched DN: "cn=SilverSpring, cn=MD, dc=SharemediaTest, dc=com"
But no new entries are on either the slave or the master. This
is true even when I request referral chasing "-C".
What am I doing wrong? More importantly how is delegation
supposed to work (if I have a distributed tree then the
specialized servers will all be slaves (I've heard multi-master
OpenLDAP doesn't always work so great, so for now I'm aiming for
single master multiple slaves), I'd be sending all my
update/add/remove requests to the master and having it make
changes where appropriate (be that in itself, in a slave, or
both))?