From b5384ff4e085ee21a6f1709aeb8a0f627b1f4007 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 4 Jan 2011 01:40:34 +0000 Subject: [PATCH] Replace term "producer" with "provider". "Provider" has a very specific meaning when it comes to replication. --- doc/guide/admin/overlays.sdf | 2 +- servers/slapd/back-sql/search.c | 2 +- tests/scripts/test017-syncreplication-refresh | 28 +++++----- tests/scripts/test018-syncreplication-persist | 56 +++++++++---------- tests/scripts/test043-delta-syncrepl | 26 ++++----- tests/scripts/test049-sync-config | 34 +++++------ tests/scripts/test052-memberof | 2 +- .../test054-syncreplication-parallel-load | 26 ++++----- tests/scripts/test057-memberof-refint | 2 +- tests/scripts/test058-syncrepl-asymmetric | 2 +- 10 files changed, 90 insertions(+), 90 deletions(-) diff --git a/doc/guide/admin/overlays.sdf b/doc/guide/admin/overlays.sdf index 9cdf2759fd..540003f08c 100644 --- a/doc/guide/admin/overlays.sdf +++ b/doc/guide/admin/overlays.sdf @@ -326,7 +326,7 @@ H3: Read-Back of Chained Modifications Occasionally, applications want to read back the data that they just wrote. If a modification requested to a shadow server was silently chained to its -producer, an immediate read could result in receiving data not yet synchronized. +provider, an immediate read could result in receiving data not yet synchronized. In those cases, clients should use the {{B:dontusecopy}} control to ensure they are directed to the authoritative source for that piece of data. diff --git a/servers/slapd/back-sql/search.c b/servers/slapd/back-sql/search.c index 8ab839d177..9a69bb4307 100644 --- a/servers/slapd/back-sql/search.c +++ b/servers/slapd/back-sql/search.c @@ -928,7 +928,7 @@ backsql_process_filter( backsql_srch_info *bsi, Filter *f ) #ifdef BACKSQL_SYNCPROV } else if ( ad == slap_schema.si_ad_entryCSN ) { /* - * support for syncrepl as producer... + * support for syncrepl as provider... */ #if 0 if ( !bsi->bsi_op->o_sync ) { diff --git a/tests/scripts/test017-syncreplication-refresh b/tests/scripts/test017-syncreplication-refresh index cc213e26fe..593fd9aebf 100755 --- a/tests/scripts/test017-syncreplication-refresh +++ b/tests/scripts/test017-syncreplication-refresh @@ -25,7 +25,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2 # # Test replication: -# - start producer +# - start provider # - start consumer # - populate over ldap # - perform some modifies and deleted @@ -33,7 +33,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2 # - retrieve database over ldap and compare against expected results # -echo "Starting producer slapd on TCP/IP port $PORT1..." +echo "Starting provider slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $SRMASTERCONF > $CONF1 $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 & PID=$! @@ -45,7 +45,7 @@ KILLPIDS="$PID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -63,7 +63,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to create the context prefix entry in the producer..." +echo "Using ldapadd to create the context prefix entry in the provider..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDCP > /dev/null 2>&1 RC=$? @@ -103,7 +103,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to populate the producer directory..." +echo "Using ldapadd to populate the provider directory..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDNOCP > /dev/null 2>&1 RC=$? @@ -116,7 +116,7 @@ fi echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Using ldapmodify to modify producer directory..." +echo "Using ldapmodify to modify provider directory..." # # Do some modifications @@ -215,7 +215,7 @@ fi echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Performing modrdn alone on the producer..." +echo "Performing modrdn alone on the provider..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $TESTOUT 2>&1 << EOMODS dn: dc=testdomain2,dc=example,dc=com @@ -235,7 +235,7 @@ fi echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Performing modify alone on the producer..." +echo "Performing modify alone on the provider..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $TESTOUT 2>&1 << EOMODS dn: dc=itsdomain2,dc=example,dc=com @@ -255,7 +255,7 @@ fi echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Performing larger modify on the producer..." +echo "Performing larger modify on the provider..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $TESTOUT 2>&1 << EOMODS dn: cn=Alumni Assoc Staff,ou=Groups,dc=example,dc=com @@ -312,13 +312,13 @@ fi OPATTRS="entryUUID creatorsName createTimestamp modifiersName modifyTimestamp" -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(objectclass=*)' '*' $OPATTRS > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -336,16 +336,16 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" exit 1 fi diff --git a/tests/scripts/test018-syncreplication-persist b/tests/scripts/test018-syncreplication-persist index 3b72741bc6..51ef63d439 100755 --- a/tests/scripts/test018-syncreplication-persist +++ b/tests/scripts/test018-syncreplication-persist @@ -27,7 +27,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR4 # # Test replication: -# - start producer +# - start provider # - start consumer # - populate over ldap # - perform some modifies and deleted @@ -35,7 +35,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR4 # - retrieve database over ldap and compare against expected results # -echo "Starting producer slapd on TCP/IP port $PORT1..." +echo "Starting provider slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $SRMASTERCONF > $CONF1 $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 & PID=$! @@ -47,7 +47,7 @@ KILLPIDS="$PID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -65,7 +65,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to create the context prefix entry in the producer..." +echo "Using ldapadd to create the context prefix entry in the provider..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDCP > /dev/null 2>&1 RC=$? @@ -105,7 +105,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to populate the producer directory..." +echo "Using ldapadd to populate the provider directory..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDNOCP > /dev/null 2>&1 RC=$? @@ -118,13 +118,13 @@ fi echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(objectclass=*)' '*' $OPATTRS > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -140,16 +140,16 @@ if test $RC != 0 ; then exit $RC fi -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi @@ -169,7 +169,7 @@ KILLPIDS="$PID $SLAVEPID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -190,7 +190,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapmodify to modify producer directory..." +echo "Using ldapmodify to modify provider directory..." # # Do some modifications @@ -327,13 +327,13 @@ fi echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(objectclass=*)' '*' $OPATTRS > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -349,16 +349,16 @@ if test $RC != 0 ; then exit $RC fi -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi @@ -367,7 +367,7 @@ echo "Stopping consumer to test recovery..." kill -HUP $SLAVEPID wait $SLAVEPID -echo "Modifying more entries on the producer..." +echo "Modifying more entries on the provider..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD >> \ $TESTOUT 2>&1 << EOMODS dn: cn=Rosco P. Coltrane, ou=Retired, ou=People, dc=example,dc=com @@ -424,13 +424,13 @@ KILLPIDS="$PID $SLAVEPID" echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(objectclass=*)' '*' $OPATTRS > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -446,16 +446,16 @@ if test $RC != 0 ; then exit $RC fi -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi @@ -495,13 +495,13 @@ EOMODS sleep $SLEEP1 fi -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(objectclass=*)' '*' $OPATTRS > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -517,16 +517,16 @@ if test $RC != 0 ; then exit $RC fi -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi diff --git a/tests/scripts/test043-delta-syncrepl b/tests/scripts/test043-delta-syncrepl index 188489430d..3026a251b9 100755 --- a/tests/scripts/test043-delta-syncrepl +++ b/tests/scripts/test043-delta-syncrepl @@ -34,7 +34,7 @@ mkdir -p $TESTDIR $DBDIR1A $DBDIR1B $DBDIR2 # # Test replication: -# - start producer +# - start provider # - start consumer # - populate over ldap # - perform some modifies and deleted @@ -42,7 +42,7 @@ mkdir -p $TESTDIR $DBDIR1A $DBDIR1B $DBDIR2 # - retrieve database over ldap and compare against expected results # -echo "Starting producer slapd on TCP/IP port $PORT1..." +echo "Starting provider slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $DSRMASTERCONF > $CONF1 $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 & PID=$! @@ -54,7 +54,7 @@ KILLPIDS="$PID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -72,7 +72,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to create the context prefix entries in the producer..." +echo "Using ldapadd to create the context prefix entries in the provider..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDCP > /dev/null 2>&1 RC=$? @@ -112,7 +112,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to populate the producer directory..." +echo "Using ldapadd to populate the provider directory..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDNOCP > /dev/null 2>&1 RC=$? @@ -139,7 +139,7 @@ KILLPIDS="$PID $SLAVEPID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -157,7 +157,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapmodify to modify producer directory..." +echo "Using ldapmodify to modify provider directory..." # # Do some modifications @@ -249,7 +249,7 @@ echo "Stopping consumer to test recovery..." kill -HUP $SLAVEPID sleep 10 -echo "Modifying more entries on the producer..." +echo "Modifying more entries on the provider..." $LDAPMODIFY -v -D "$BJORNSDN" -h $LOCALHOST -p $PORT1 -w bjorn >> \ $TESTOUT 2>&1 << EOMODS dn: cn=Rosco P. Coltrane, ou=Retired, ou=People, dc=example,dc=com @@ -314,13 +314,13 @@ EOMODS sleep $SLEEP1 fi -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' \* + > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -338,16 +338,16 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER -s bdb=a,hdb=a < $MASTEROUT | grep -iv "^auditcontext:" > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER -s bdb=a,hdb=a < $SLAVEOUT | grep -iv "^auditcontext:" > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" exit 1 fi diff --git a/tests/scripts/test049-sync-config b/tests/scripts/test049-sync-config index 5c13251c7a..2356cfd294 100755 --- a/tests/scripts/test049-sync-config +++ b/tests/scripts/test049-sync-config @@ -50,7 +50,7 @@ esac # # Test replication of dynamic config: -# - start producer +# - start provider # - start consumer # - configure over ldap # - populate over ldap @@ -58,7 +58,7 @@ esac # - retrieve database over ldap and compare against expected results # -echo "Starting producer slapd on TCP/IP port $PORT1..." +echo "Starting provider slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF $SLAPADD -F $CFPRO -n 0 -l $CONFLDIF cd $PRODIR @@ -73,7 +73,7 @@ cd $TESTWD sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "" -H $URI1 \ 'objectclass=*' > /dev/null 2>&1 @@ -91,7 +91,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Inserting syncprov overlay on producer..." +echo "Inserting syncprov overlay on provider..." if [ "$SYNCPROV" = syncprovmod ]; then $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF < $TESTOUT 2>&1 dn: cn=module,cn=config @@ -200,7 +200,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Adding schema and databases on producer..." +echo "Adding schema and databases on provider..." $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF <>$TESTOUT 2>&1 include: file://$ABS_SCHEMADIR/core.ldif @@ -283,7 +283,7 @@ EOF ;; esac -echo "Using ldapadd to populate producer..." +echo "Using ldapadd to populate provider..." $LDAPADD -D "$MANAGERDN" -H $URI1 -w $PASSWD -f $LDIFORDERED \ >> $TESTOUT 2>&1 RC=$? @@ -316,7 +316,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Replacing olcSyncrepl on producer..." +echo "Replacing olcSyncrepl on provider..." $LDAPMODIFY -D cn=config -H $URI1 -y $CONFIGPWF <> $TESTOUT 2>&1 dn: olcDatabase={0}config,cn=config changetype: modify @@ -328,13 +328,13 @@ EOF echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." sleep $SLEEP1 -echo "Using ldapsearch to read config from the producer..." +echo "Using ldapsearch to read config from the provider..." $LDAPSEARCH -b cn=config -D cn=config -H $URI1 -y $CONFIGPWF \ 'objectclass=*' > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -350,27 +350,27 @@ if test $RC != 0 ; then exit $RC fi -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved configs from producer and consumer..." +echo "Comparing retrieved configs from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer configs differ" + echo "test failed - provider and consumer configs differ" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -D "$MANAGERDN" -H $URI1 -w $PASSWD \ 'objectclass=*' > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -388,16 +388,16 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" exit 1 fi diff --git a/tests/scripts/test052-memberof b/tests/scripts/test052-memberof index a34facf9d7..e3af6d67ad 100755 --- a/tests/scripts/test052-memberof +++ b/tests/scripts/test052-memberof @@ -56,7 +56,7 @@ fi cat /dev/null > $TESTOUT if [ "$MEMBEROF" = memberofmod ]; then - echo "Inserting memberof overlay on producer..." + echo "Inserting memberof overlay on provider..." $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF < $TESTOUT 2>&1 dn: cn=module,cn=config objectClass: olcModuleList diff --git a/tests/scripts/test054-syncreplication-parallel-load b/tests/scripts/test054-syncreplication-parallel-load index 6dfeef966c..a1d281316b 100755 --- a/tests/scripts/test054-syncreplication-parallel-load +++ b/tests/scripts/test054-syncreplication-parallel-load @@ -25,7 +25,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR4 # # Test replication: -# - start producer +# - start provider # - start consumer # - populate over ldap # - perform some modifies and deleted @@ -33,7 +33,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR4 # - retrieve database over ldap and compare against expected results # -echo "Starting producer slapd on TCP/IP port $PORT1..." +echo "Starting provider slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $SRMASTERCONF > $CONF1 $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 & PID=$! @@ -45,7 +45,7 @@ KILLPIDS="$PID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -63,7 +63,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Using ldapadd to create the context prefix entry in the producer..." +echo "Using ldapadd to create the context prefix entry in the provider..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDCP > /dev/null 2>&1 RC=$? @@ -111,7 +111,7 @@ sed -e 's/[Oo][Uu]=/ou=More /g' -e 's/^[Oo][Uu]: /ou: More /' \ -e 's/^cn: Manager/cn: More Manager/' \ $LDIFORDEREDNOCP > $MORELDIF -echo "Using ldapadd to populate the producer directory..." +echo "Using ldapadd to populate the provider directory..." $LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \ $LDIFORDEREDNOCP > $TESTOUT1 2>&1 & C1PID=$! @@ -138,7 +138,7 @@ KILLPIDS="$PID $SLAVEPID" sleep 1 -echo "Using ldapsearch to check that producer slapd is running..." +echo "Using ldapsearch to check that provider slapd is running..." for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \ 'objectclass=*' > /dev/null 2>&1 @@ -159,7 +159,7 @@ fi echo "Waiting 10 seconds to let the system catch up" sleep 10 -echo "Using ldapmodify to modify producer directory..." +echo "Using ldapmodify to modify provider directory..." # # Do some modifications @@ -263,7 +263,7 @@ echo "Stopping consumer to test recovery..." kill -HUP $SLAVEPID wait $SLAVEPID -echo "Modifying more entries on the producer..." +echo "Modifying more entries on the provider..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD >> \ $TESTOUT 2>&1 << EOMODS dn: cn=Rosco P. Coltrane, ou=Retired, ou=People, dc=example,dc=com @@ -333,13 +333,13 @@ fi OPATTRS="entryUUID creatorsName createTimestamp modifiersName modifyTimestamp" -echo "Using ldapsearch to read all the entries from the producer..." +echo "Using ldapsearch to read all the entries from the provider..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ '(objectclass=*)' '*' $OPATTRS > $MASTEROUT 2>&1 RC=$? if test $RC != 0 ; then - echo "ldapsearch failed at producer ($RC)!" + echo "ldapsearch failed at provider ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC fi @@ -357,16 +357,16 @@ fi test $KILLSERVERS != no && kill -HUP $KILLPIDS -echo "Filtering producer results..." +echo "Filtering provider results..." $LDIFFILTER < $MASTEROUT > $MASTERFLT echo "Filtering consumer results..." $LDIFFILTER < $SLAVEOUT > $SLAVEFLT -echo "Comparing retrieved entries from producer and consumer..." +echo "Comparing retrieved entries from provider and consumer..." $CMP $MASTERFLT $SLAVEFLT > $CMPOUT if test $? != 0 ; then - echo "test failed - producer and consumer databases differ" + echo "test failed - provider and consumer databases differ" exit 1 fi diff --git a/tests/scripts/test057-memberof-refint b/tests/scripts/test057-memberof-refint index 8354ba98b8..bf2127b90c 100755 --- a/tests/scripts/test057-memberof-refint +++ b/tests/scripts/test057-memberof-refint @@ -73,7 +73,7 @@ null) nullExclude="# " ;; esac if [ "$MEMBEROF" = memberofmod ]; then - echo "Inserting memberof overlay on producer..." + echo "Inserting memberof overlay on provider..." $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF < $TESTOUT 2>&1 dn: cn=module,cn=config objectClass: olcModuleList diff --git a/tests/scripts/test058-syncrepl-asymmetric b/tests/scripts/test058-syncrepl-asymmetric index 4670af6a61..e80fea6ca4 100755 --- a/tests/scripts/test058-syncrepl-asymmetric +++ b/tests/scripts/test058-syncrepl-asymmetric @@ -2259,7 +2259,7 @@ fi # TEST: # Run race tests when more than one backend is replicated from the same -# producer. This will usually fail long before 100 iterations unless +# provider. This will usually fail long before 100 iterations unless # syncrepl stores the contextCSN in the suffix of its own database, and # that syncprov follows these rules before updating its own CSN when it # detects updates from syncrepl: -- 2.39.5