3 [ "$1" = "configure" ] || exit 0
4 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
7 . /usr/share/carnet-tools/functions.sh
9 cp_check_and_sed '; security = user' \
10 's/; security = user/ security = user/g' \
11 /etc/samba/smb.conf || true
14 if [ -x /usr/sbin/invoke-rc.d ]; then
15 [ -x /etc/init.d/samba ] && invoke-rc.d samba restart
17 [ -x /etc/init.d/samba ] && /etc/init.d/samba restart