We used the following command to mount SMB shares on a Linux client:


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


"secret.txt" is the file in which you have the connection credentials

"IP / share" is the share you want to mount and 

"/ mnt / test" is where you want to mount it