Simple edit /etc/fstab and add the line
//ip windows/share /mymount cifs nosuid,nodev,noexec,credentials=/etc/samba/auth.smb,uid=500,gid=500,file_mode=0664,dir_mode=0755 0 0
then make a file
# vi /etc/samba/auth.smb
username=your user
password=your password
Không có nhận xét nào:
Đăng nhận xét