connecting to windows server with SMB2
Subsystems (2)
I am using kernel version 3.8.13 and windows 7.
The below command works successfully:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=1.0 -o sec=ntlm
Other than 1.0, all are fail:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=2.0 -o sec=ntlm
[ 0][ 64.276000] Status code returned 0xc000006d STATUS_LOGON_FAILURE
[ 0][ 64.284000] CIFS VFS: Send error in SessSetup = -13
Tried with sec=ntlmv2/none/lanman/krb5, none of them worked. Help please!!
2014-07-10 14:26 GMT+04:00 Ashish Sangwan <[email protected]>:
Quoted 5 lines
I am using kernel version 3.8.13 and windows 7.
The below command works successfully:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=1.0 -o sec=ntlm
Quoted 7 lines
Other than 1.0, all are fail:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=2.0 -o sec=ntlm
[ 0][ 64.276000] Status code returned0xc000006dSTATUS_LOGON_FAILURE
[ 0][ 64.284000] CIFS VFS: Send error in SessSetup = -13Tried with sec=ntlmv2/none/lanman/krb5, none of them worked. Help please!!
Did you tries without "sec=" option at all?
If yes, you should set "echo 1 > /proc/fs/cifs/cifsFYI', try to mount and collect dmesg output and send it to the list.
Signature · 2 lines
Best regards, Pavel Shilovsky.
In order to sec=ntlmv2 succeed, you will need this patch on the Windows 7 box.
http://support.microsoft.com/kb/957441/en-us
For smb2 (vers=2.0), sec=ntlmssp (which is the default) should succeed against a Windows 7 box.
Would it be possible to attach a wireshark trace of the exchange?
Quoted 12 lines · Ashish Sangwan
I am using kernel version 3.8.13 and windows 7.
The below command works successfully:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=1.0 -o sec=ntlmOther than 1.0, all are fail:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=2.0 -o sec=ntlm
[ 0][ 64.276000] Status code returned0xc000006dSTATUS_LOGON_FAILURE
[ 0][ 64.284000] CIFS VFS: Send error in SessSetup = -13Tried with sec=ntlmv2/none/lanman/krb5, none of them worked. Help please!!
Can you check the value of the registry setting on the server?
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA\LMCompatibilityLevel
Quoted 12 lines · Ashish Sangwan
I am using kernel version 3.8.13 and windows 7.
The below command works successfully:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=1.0 -o sec=ntlmOther than 1.0, all are fail:
Linux#> mount -t cifs //107.109.224.147/sharefolder /mnt -o user=a.sangwan -o pass=xxxx -o vers=2.0 -o sec=ntlm
[ 0][ 64.276000] Status code returned0xc000006dSTATUS_LOGON_FAILURE
[ 0][ 64.284000] CIFS VFS: Send error in SessSetup = -13Tried with sec=ntlmv2/none/lanman/krb5, none of them worked. Help please!!