Just wanted to post a fix to an issue I had recently for anyone running similar setups and who have minimal experience with unix/linux.
Software: Freenas (v9.10+) and OSMC (latest version as at 9th March 2017)
Hardware: Freenas Mini, Rasberry PI3
After an OSMC update (and also possibly after a Freenas update as both occurred around similar times), OSMC was unable to access any of my freenas samba (cifs) shares. The error on osmc was always “Wrong Password”
NTLMv1 was no longer supported as a protocol on the latest Freenas version (Freebsd is the OS). OSMC has the following as default in the smb.conf file:
client use spnego = no
client ntlmv2 auth = no
Looking at the log.smbd file on Freenas showed the following error:
[2017/03/09 20:49:51.695465, 2] …/libcli/auth/ntlm_check.c:424(ntlm_password_check)
ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user ****
[2017/03/09 20:49:51.696003, 2] …/source3/auth/auth.c:315(auth_check_ntlm_password)
check_ntlm_password: Authentication for user [root] -> [root] FAILED with error NT_STATUS_WRONG_PASSWORD
Update OSMC /home/osmc/.smb/smb.conf file to
client use spnego = yes client ntlmv2 auth = yes
Hope this helps any n00bs like myself.