Hi, I am trying to set up a cascading replication from scratch, adding syncprov module fails with:
,----[ output of slapd -dsync ] | @(#) $OpenLDAP: slapd 2.4.12 (Oct 17 2008 16:01:17) $ | dieter@rubin.l4b.de:/work/openldap-2.4.12/servers/slapd | slap_queue_csn: queing 0xa583f0 20081021122834.783484Z#000000#001#000000 | slap_graduate_commit_csn: removing 0xa578b0 20081021122834.783484Z#000000#001#000000 | slapd starting | slap_queue_csn: queing 0x40a70480 20081021122922.151442Z#000000#001#000000 | Control 1.3.6.1.4.1.4203.1.9.1.1 already registered. | syncprov_init: Failed to register control -9 | slap_graduate_commit_csn: removing 0xa52ef0 20081021122922.151442Z#000000#001#000000 `----
this is my script to load the module
$LDAPMODIFY -x -D $ROOTDN -w $CPW -H $HOST <<EOF dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov EOF
My initial slapd.conf is just
,----[ slapd.conf ] | include /opt/openldap-2.4/etc/openldap/schema/core.schema | include /opt/openldap-2.4/etc/openldap/schema/cosine.schema | include /opt/openldap-2.4/etc/openldap/schema/inetorgperson.schema | include /opt/openldap-2.4/etc/openldap/schema/nis.schema | | pidfile /opt/openldap-2.4/var/run/slapd.pid | argsfile /opt/openldap-2.4/var/run/slapd.args | | modulepath /opt/openldap-2.4/libexec/openldap | moduleload syncprov.la | | database config | rootdn "cn=config" | rootpw "xxx" `----
How come that the control is already registered?
-Dieter
--On Tuesday, October 21, 2008 2:48 PM +0200 Dieter Kluenter dieter@dkluenter.de wrote:
,----[ slapd.conf ] | modulepath /opt/openldap-2.4/libexec/openldap | moduleload syncprov.la
How come that the control is already registered?
Because you already put it into slapd.conf?
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount quanah@zimbra.com writes:
--On Tuesday, October 21, 2008 2:48 PM +0200 Dieter Kluenter dieter@dkluenter.de wrote:
,----[ slapd.conf ] | modulepath /opt/openldap-2.4/libexec/openldap | moduleload syncprov.la
How come that the control is already registered?
Because you already put it into slapd.conf?
Thank you, Quanah I'm afraid I need new glasses :-(
-Dieter
openldap-software@openldap.org