You might need to change the sec
parameter: this setting made it work on my setup:
mount.cifs ... -o sec=ntlm
Relevant extract of man mount.cifs
:
sec=
Security mode. Allowed values are:
none
- attempt to connection as a null user (no name)krb5
- Use Kerberos version 5 authenticationkrb5i
- Use Kerberos authentication and forcibly enable packet signingntlm
- Use NTLM password hashingntlmi
- Use NTLM password hashing and force packet signingntlmv2
- Use NTLMv2 password hashingntlmv2i
- Use NTLMv2 password hashing and force packet signingntlmssp
- Use NTLMv2 password hashing encapsulated in Raw NTLMSSP message
ntlmsspi
- Use NTLMv2 password hashing encapsulated in Raw NTLMSSP message, and force packet signingThe default in mainline kernel versions prior to v3.8 was
sec=ntlm
. In v3.8, the default was changed tosec=ntlmssp
.If the server requires signing during protocol negotiation, then it may be enabled automatically. Packet signing may also be enabled automatically if it's enabled in
/proc/fs/cifs/SecurityFlags
.