Today i have to connect to Windows share from CentOS 7. This is how I done it:
1 |
# yum install samba samba-client cifs-utils |
then I have created directory in /mnt
1 2 |
# cd /mnt # mkdir smb_share |
after that:
1 |
# mount.cifs //ip_address/windows_share smb_share/ -v -o user=username,pass="secretpass",sec=ntlm |
That’s all 🙂