#!/bin/sh
for prefix in /usr/local /opt /opt/samba /usr/local/samba /usr
do
    if [ -x ${prefix}/bin/smbclient ]; then
        exit 0
    fi
done
echo "WARNING: Samba smbclient not found in default location. basic_smb_auth may not work on this machine"
# allow script install anyway.
exit 0
