I just finished installing a copy of Windows 2012 and was testing
version 3 when I came across this particular problem.

To reproduce
1) First mount a share using vers=3.0
# mount -t cifs -o username=user1,password=pass1,vers=3.0 //vm140-54/exports 
/mnt
This is successful.
2) Now unmount this share and attempt to mount with vers=2.0 to 2.1
# mount -t cifs -o username=user1,password=pass1,vers=2.1 //vm140-54/exports 
/mnt
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

/var/log/messages shows
kernel: [ 2730.843939] Status code returned 0xc0000203 
STATUS_USER_SESSION_DELETED
kernel: [ 2730.846883] CIFS VFS: Send error in SessSetup = -5
kernel: [ 2730.849247] CIFS VFS: cifs_mount failed w/return code = -5

I can then mount using vers=3.0 and vers=1.0 but not 2.0 or 2.1.

I am attempting to debug this but was wondering if anyone had
encountered this before.

Sachin Prabhu


--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to