# mkdir /var/samba # chmod 777 -R /var/samba
[global] # Linux unix charset = eucJP display charset = eucJP # windows dos charset = CP932 workgroup = WORKGROUP hosts allow = 192.168. 127. [public] comment = Public Stuff path = /var/samba public = yes writable = yes
# /etc/rc.d/init.d/smb start
# systemctl start smb.service
# chkconfig smb on
# systemctl enable smb.service
/usr/bin/smbclient //192.168.xxx.xxx/public -N -c "ls"