Description of problem: Mounting a cifs share with option sec=ntlm gives the following error: kernel: sun4i-ss 1c15000.crypto-engine: ERROR: Empty IV kernel: CIFS VFS: could not encrypt crypt key rc: -22 kernel: CIFS VFS: Error -22 during NTLM authentication kernel: CIFS VFS: Send error in SessSetup = -22 kernel: CIFS VFS: cifs_mount failed w/return code = -22 Hardware is a Cubietruck. ntlmssp works. Version-Release number of selected component (if applicable): Kernel 4.7.9-200.fc24.armv7hl on a Cubietruck (Allwinner A20 SoC) How reproducible: Mount a cifs share with sec=ntlm like in the following command: mount -t cifs -o username=user,sec=ntlm //servername./foldername /mountpoint Actual results: The mount command results in a kernel error Expected results: Mounted cifs share
Does it work if you black list the sun4i_ss driver? Add a file called /etc/modprobe.d/sun4i.conf with the line: blacklist sun4i_ss
Hi, ntlm as well as ntlmssp both work when the sun4i_ss driver is blacklisted.
Are you still seeing this with 4.9.x kernels?
No, I don't see this anymore. The system is currently running kernel 4.9.9-200.fc25.armv7hl.
thanks for the update