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