1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/ldb/tests/ldapi_url.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
193 B
Bash
Raw Normal View History

#!/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"