diff options
-rwxr-xr-x | source4/scripting/bin/ktpass.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/bin/ktpass.sh b/source4/scripting/bin/ktpass.sh index 92b1976932..7c13fe4ac0 100755 --- a/source4/scripting/bin/ktpass.sh +++ b/source4/scripting/bin/ktpass.sh @@ -55,6 +55,9 @@ if [ -z "$enc" ]; then fi if [ -z "$path" ]; then path=`dirname $0`/../bin/ + if [ ! -f ${path}ldbsearch ]; then + path=`dirname $0`/../../bin/ + fi fi if [ -z "$outfile" -o -z "$princ" -o -z "$pass" ]; then echo "At least one mandatory parameter (--out, --princ, --pass) was not specified" |