$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "slapadd failed!"
+ echo "slapadd failed ($RC)!"
exit $RC
fi
kill -HUP $PID
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
exit $RC
fi
$LDIFORDERED > $TESTOUT 2>&1
RC=$?
if test $RC != 0 ; then
- echo "ldapadd failed!"
+ echo "ldapadd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
kill -HUP $PID
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
exit $RC
fi
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "slapadd failed!"
+ echo "slapadd failed ($RC)!"
exit $RC
fi
done
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'sn=jensen' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'(|(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'(!(objectclass=person))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "slapadd failed!"
+ echo "slapadd failed ($RC)!"
exit $RC
fi
done
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
RC=$?
if test $RC != 0 ; then
- echo "ldapmodify failed!"
+ echo "ldapmodify failed ($RC)!"
kill -HUP $PID
exit $RC
fi
RC=$?
kill -HUP $PID
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
exit $RC
fi
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "slapadd failed!"
+ echo "slapadd failed ($RC)!"
exit $RC
fi
done
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
RC=$?
kill -HUP $PID
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
exit $RC
fi
$LDIFORDERED > /dev/null 2>&1
RC=$?
if test $RC != 0 ; then
- echo "ldapadd failed!"
+ echo "ldapadd failed ($RC)!"
kill -HUP $PID $SLAVEPID $SLURPPID
exit $RC
fi
'objectclass=*' > $MASTEROUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID $SLAVEPID $SLURPPID
exit $RC
fi
'objectclass=*' > $SLAVEOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID $SLAVEPID $SLURPPID
exit $RC
fi
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "slapadd failed!"
+ echo "slapadd failed ($RC)!"
exit $RC
fi
RC=$?
if test $RC != 0 ; then
- echo "slapd-tester failed!"
+ echo "slapd-tester failed ($RC)!"
exit $RC
fi
kill -HUP $PID
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
exit $RC
fi
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "slapadd failed!"
+ echo "slapadd failed ($RC)!"
exit $RC
fi
done
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID
exit $RC
fi
$LDAPSEARCH -C -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
'sn=jensen' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID $SLAVEPID
exit $RC
fi
$LDAPSEARCH -C -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
'(|(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID $SLAVEPID
exit $RC
fi
$LDAPSEARCH -C -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
'(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID $SLAVEPID
exit $RC
fi
$LDAPSEARCH -C -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \
'(!(objectclass=person))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
- echo "ldapsearch failed!"
+ echo "ldapsearch failed ($RC)!"
kill -HUP $PID $SLAVEPID
exit $RC
fi
$LDIFPASSWD > $TESTOUT 2>&1
RC=$?
if test $RC != 0 ; then
- echo "ldapadd failed!"
+ echo "ldapadd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
"cn=md5, $BASEDN" >> $TESTOUT 2>&1
RC=$?
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w secret -s newsecret \
"cn=smd5, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w secret -s newsecret \
"cn=sha, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w secret -s newsecret \
"cn=ssha, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w newsecret \
"cn=md5, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w newsecret \
"cn=smd5, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w newsecret \
"cn=sha, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi
-w newsecret \
"cn=ssha, $BASEDN" >> $TESTOUT 2>&1
if test $RC != 0 ; then
- echo "ldappasswd failed!"
+ echo "ldappasswd failed ($RC)!"
kill -HUP $PID
exit $RC
fi