From 23b61265b85f321ae2ceddc6c75771f8881566d8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 5 Sep 2008 10:13:10 -0400 Subject: Initial Import --- ldb/tests/ldapi_url.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 ldb/tests/ldapi_url.sh (limited to 'ldb/tests/ldapi_url.sh') diff --git a/ldb/tests/ldapi_url.sh b/ldb/tests/ldapi_url.sh new file mode 100755 index 00000000..fef6c35f --- /dev/null +++ b/ldb/tests/ldapi_url.sh @@ -0,0 +1,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" -- cgit