vi /home/xbian/.smbcredentials
1 2 |
username=your_win_name password=your_password |
chmod 600 /home/xbian/.smbcredentials
sudo vi /etc/fstab
1 |
//192.168.111.11/films /mnt/films cifs credentials=/home/xbian/.smbcredentials,uid=xbian 0 0 |
sudo mount -a