libldb/ldb-2.0.8/tests/ldapi_url.sh
2020-02-18 15:26:18 +08:00

12 lines
191 B
Bash
Executable File

#!/bin/sh
# aargh, did LDAP ever have to expose this crap to users ...
BASE=`pwd`
TMPDIR=$BASE/tests/tmp
LDAPI_ESCAPE=`echo $TMPDIR/ldapi | sed 's|/|%2F|g'`
echo "ldapi://$LDAPI_ESCAPE"