diff --git a/smb.conf.default b/smb.conf.default index 9933a38..62c2b97 100644 --- a/smb.conf.default +++ b/smb.conf.default @@ -118,12 +118,12 @@ # disables profiles support by specifing an empty path ; logon path = -; add user script = /usr/sbin/useradd %u -; add group script = /usr/sbin/groupadd %g -; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u -; delete user script = /usr/sbin/userdel %u -; delete user from group script = /usr/sbin/deluser %u %g -; delete group script = /usr/sbin/groupdel %g +; add user script = /usr/sbin/useradd "%u" -n -g users +; add group script = /usr/sbin/groupadd "%g" +; add machine script = /usr/sbin/adduser -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u" +; delete user script = /usr/sbin/userdel "%u" +; delete user from group script = /usr/sbin/deluser "%u" "%g" +; delete group script = /usr/sbin/groupdel "%g" # ----------------------- Browser Control Options ----------------------------