Applies to: all versions


To mount SMB shares on a Linux client, type the following command:

mount -t cifs -vvv -o sec=ntlmv2,credentials=/mnt/secret.txt //IP/share /mnt/test


1. create a file named "secret.txt"  containing connection credentials

admin

password


2. "IP/share" is the share you want to mount
3. "mnt/test" is your local path to mount it


eg.

mount -t cifs -vvv -o sec=ntlmv2,credentials=/mnt/secret.txt //192.168.8.100/sharefolder /mnt/localmountpoint