]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test014-whoami
check for overflows
[openldap] / tests / scripts / test014-whoami
index 7c1838488a44c65cd8a15de88e9d9c8527945623..bc2561dac5c393492e9e73241ab8e8b2a44401f0 100755 (executable)
@@ -428,7 +428,7 @@ esac
 
 BINDDN="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com"
 BINDPW=bjorn
-AUTHZID="dn:"
+AUTHZID="dn:cn=don't!"
 echo "Testing ldapwhoami as ${BINDDN} for ${AUTHZID} (no authzTo; should fail)..."
 $LDAPWHOAMI -h $LOCALHOST -p $PORT1 -D "$BINDDN" -w $BINDPW \
        -e \!authzid="$AUTHZID"