Ubuntu – CIFS – Default security mechanism requested (Mounted Share)


The following message appear every time I reboot/boot my ubuntu 12.04.1

CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from nbtlm to ntlmv2 in kernel realese 3.3

I'am searching for a solution, if there is one for this message, I really don't understand it.

Following my fstab

//$/ /mnt/winshare/ cifs user,file_mode=0777,dir_mode=0777,rw,gid=1000,credentials=/root/creds 0 0

I can use my mounted folder with no problem, I just want to know why this message is appearing and if have something that I can do to fix this problem or hide this warning.


John sent a answer, saying to add the option "sec=ntlmv2", this solved him problem, but unfortunally to me when I try to mount appear "mount error(22): Invalid argument"

can anyone help me?

Best Answer

Add sec=ntlmv2 to your line in fstab like so:

//$/ /mnt/winshare/ cifs user,file_mode=0777,dir_mode=0777,rw,gid=1000,sec=ntlmv2,credentials=/root/creds 0 0

I had the same issue for a long time, finally fixed it today.