[global]
dos charset = CP932
unix charset = EUCJP-MS
display charset = EUCJP-MS
workgroup = SAMBA30
passdb backend = tdbsam
add user script = /usr/sbin/useradd "%u"
delete user script = /usr/sbin/userdel -r "%u"
add group script = /usr/sbin/groupadd "%g";getent group "%g" | cut -d: -f3
delete group script = /usr/sbin/groupdel "%g"
add user to group script = /usr/bin/gpasswd -a "%u" "%g"
delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
set primary group script = /usr/sbin/usermod -g "%g" "%u"
add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false "%u"
log file = /var/log/samba/log.%m
dos filetimes = Yes
dos filetime resolution = Yes
[homes]
writeable = yes
browseable = No
[public]
path = /var/samba/public
writeable = yes