インストール
# portinstall converters/libiconv
# portinstall net/samba33
設定
# vi /usr/local/etc/smb.conf
[global]
workgroup = WORKGROUP
netbios name = SMB
server string = Samba Server
security = user
hosts allow = 192.168.1.
load printers = no
printing = bsd
log file = /var/log/samba/log.%m
max log size = 50
passdb backend = tdbsam
socket options = IPTOS_LOWDELAY TCP_NODELAY
socket address = 192.168.1.205
interfaces = 192.168.1.0/24
bind interfaces only = yes
dns proxy = no
display charset = UTF-8
unix charset = UTF-8
dos charset = CP932
[share]
comment = Shared Directories
path = /home/share
public = yes
browseable = yes
writable = yes
create mode = 770
自動起動の設定
# vi /etc/rc.conf
samba_enable="YES"
起動
# /usr/local/etc/rc.d/samba start
ユーザーの追加
# pdbedit -a -u user
リンク