summaryrefslogtreecommitdiffstats
path: root/lib/ldb/tests/ldapi_url.sh
blob: bcda91752e47325a7f3cf762bfa3f9b344021bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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"