From: Howard Chu Date: Sun, 9 Apr 2017 20:37:55 +0000 (+0100) Subject: Cleanup test066 comments X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44a3653d90ec552b022a8d7d1ab8b76d70d38089;p=openldap Cleanup test066 comments --- diff --git a/tests/scripts/test066-autoca b/tests/scripts/test066-autoca index 900d64fd12..05e221b313 100755 --- a/tests/scripts/test066-autoca +++ b/tests/scripts/test066-autoca @@ -175,7 +175,7 @@ if test $RC != 0 ; then exit $RC fi -echo "Inserting autoca overlay on provider..." +echo "Inserting autoca overlay on slapd..." if [ "$AUTOCA" = autocamod ]; then $LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF < $TESTOUT 2>&1 dn: cn=module,cn=config @@ -246,8 +246,11 @@ if test $RC != 0 ; then exit $RC fi +# note - the attrs are being saved in raw DER form. +# they need to be base64 encoded into PEM for most programs to use them +# so we ignore those files for now. echo "Using ldapsearch to generate user cert..." -$LDAPSEARCH -b "$BABSDN" -D $MANAGERDN -H $URI1 -w $PASSWD -s base \ +$LDAPSEARCH -b "$BABSDN" -D $MANAGERDN -H $URI1 -w $PASSWD -s base -ZZ \ -T $TESTDIR -t 'objectclass=*' 'userCertificate;binary' 'userPrivateKey;binary' >> $TESTOUT 2>&1 RC=$?