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

Re: Chaining stops working after slapd restart



--On Monday, April 29, 2013 6:06 PM +0000 jeevan kc <jeev_biz@hotmail.com> wrote:


Hi,

I am trying to setup a chain overlay to allow writes to a read-only slave
to be chained up to the master.


 dn: olcOverlay={0}chain,olcDatabase={-1}frontend,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcChainConfig
olcOverlay: {0}chain

dn:
olcDatabase=ldap,olcOverlay={0}chain,olcDatabase={-1}frontend,cn=config
changetype: add
objectClass: olcLDAPConfig
objectClass: olcChainDatabase
olcDBURI: ldap://10.1.0.3/
olcDbIDAssertBind: bindmethod=simple
  binddn="cn=admin,dc=example,dc=com"
  credentials=**********
  mode=self


This works until I have to restart the slave ldap server. Can anyone help
me fix this problem?

Are you using slapd.conf and then modifying an instantiated cn=config from inside of it, rather than fully using cn=config?

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration