#!/bin/sh

export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD }/usr/lib/passing-the-hash/pth-samba.so"
exec /usr/bin/smbclient "$@"

echo "ERROR: couldn't exec /usr/bin/smbclient" >&2
exit 1
