From: Hallvard Furuseth Date: Fri, 19 Nov 2010 14:33:22 +0000 (+0000) Subject: Support statically linked syncprov X-Git-Tag: MIGRATION_CVS2GIT~417 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b83d619d873bcd04c5fd515d66405f577090f76e;p=openldap Support statically linked syncprov --- diff --git a/tests/scripts/test061-syncreplication-initiation b/tests/scripts/test061-syncreplication-initiation index dc0914901a..5a7460c69d 100755 --- a/tests/scripts/test061-syncreplication-initiation +++ b/tests/scripts/test061-syncreplication-initiation @@ -198,6 +198,14 @@ EOF fi done +syncprov_module='' +[ "$AC_syncprov" = syncprovmod ] && syncprov_module=' +dn: cn=module,cn=config +objectClass: olcModuleList +cn: module +olcModulePath: ../../../servers/slapd/overlays +olcModuleLoad: syncprov.la' + for uri in $PROV_URI; do echo "Adding database configuration on $uri" $LDAPADD -D cn=config -H $uri -y $CONFIGPWF < $TESTOUT 2>&1 @@ -211,11 +219,7 @@ olcSuffix: $BASEDN olcRootDN: $MANAGERDN olcRootPW: $PASSWD -dn: cn=module,cn=config -objectClass: olcModuleList -cn: module -olcModulePath: ../../../servers/slapd/overlays -olcModuleLoad: syncprov.la +$syncprov_module dn: olcOverlay={0}syncprov,olcDatabase={1}$BACKEND,cn=config objectClass: olcOverlayConfig @@ -265,11 +269,7 @@ olcSyncRepl: rid=1 provider=$PROV_URI searchbase="$BASEDN" binddn="$MANAGERDN" bindmethod=simple credentials=$PASSWD type=refreshAndPersist retry="$RETRY" timeout=1 -dn: cn=module,cn=config -objectClass: olcModuleList -cn: module -olcModulePath: ../../../servers/slapd/overlays -olcModuleLoad: syncprov.la +$syncprov_module dn: olcOverlay={0}syncprov,olcDatabase={1}$BACKEND,cn=config objectClass: olcOverlayConfig