Can’t reconnect to the smb share?

After an upgrade I could not connect to my samba shares on a FreeNAS-9.10.2-U2. Just the following appeared in my syslog:

CIFS VFS: Send error in SessSetup = -13
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
[CIFS VFS: Unable to select appropriate authentication method!
CIFS VFS: Send error in SessSetup = -22
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13

The FreeNAS-9.10.2-U2 upgrade bumped the samba version number from 4.4.5 to 4.5.5 so something might got deprecated and I could not connect via fstab:

//IP/SHARE /home/USER/share cifs credentials=/home/USER/.smbcred,iocharset=utf8,sec=ntlm 0 0

Solving this problem was easy. The “security=ntlm” part had to be removed. Yaaaay!!!

Advertisements

Author: Gajdos Tamás

A "barefoot physicist" with some IT skills in system administration.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s