libldb/ldb-2.0.8/tests/ldapi_url.sh

12 lines
191 B
Bash
Raw Normal View History

2020-02-18 15:26:18 +08:00
#!/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"