gentoo安装配置samb客户端

1.在/etc/fstab里添加

//IP/samb-share /mount-place cifs credentials=file,defaults 00

2.chmod 600 /home/vast/samb-pawd samb用户名和密码.

nano samb-pawd
userbane=
password=

3./etc/fstab挂载

//192.168.88.171/share /home/vast/samb-pi-write cifs credentials=/home/vast/samb-pawd,defaults 0 0

4.emerge -v cifs-untils挂载时需要会一起安装samb.