[[FreeBSD/Samba41]] アカウント追加 pdbedit -a "USER" /etc/inetd.conf swat stream tcp nowait/400 root /usr/local/sbin/swat swat /etc/rc.conf service inetd restart service samba start samba_enable="YES" # cat /usr/local/etc/smb.conf [global] unix charset = CP932 workgroup = ZENNO server string = guest account = admin log file = /var/log/samba/log.%m max log size = 50 recycle:maxsize = 0 recycle:versions = yes recycle:touch = yes recycle:keeptree = yes recycle:repository = .recycle idmap config * : backend = tdb hosts allow = 192.168., 127., 10. vfs objects = recycle [test] path = /pub1/test/ read only = No guest ok = Yes [test2] path = /pub2/test2/ read only = No guest ok = Yes [http://www.samba.gr.jp/project/translation/Samba3-HOWTO/index.html] chown admin /data/pub [global] dos charset = CP932 display charset = UTF-8 workgroup = ZENNO netbios name = AYAME server string = guest account = admin log file = /var/log/samba/log.%m max log size = 50 idmap config * : range = recycle:maxsize = 0 recycle:versions = yes recycle:touch = yes recycle:keeptree = yes recycle:repository = .recycle idmap config * : backend = tdb hosts allow = 192.168., 127., 10. vfs objects = recycle # admin users = admin # create mask = 0775 [pub] path = /data/pub read only = No guest ok = Yes