Closed alxchk closed 6 years ago
Related to #34 ?
From packet capture, it looks like the user parameter and the share parameter are mixed up during pysmb initialization.
I had an issue today with below error: smb.smb_structs.ProtocolError: Unknown status value (0xC0000022) in SMB_COM_SESSION_SETUP_ANDX (with extended security)
I fixed it disabling the encryption on the host: Set-SmbServerConfiguration -EncryptData 0
However Is there any better way to fix it from client itself?
Does this command work for linux ? I'm having the same issue
smb.smb_structs.ProtocolError: Unknown status value (0xC0000001) in SMB_COM_SESSION_SETUP_ANDX (with extended security) ==================== SMB Message ==================== Command: 0x01 (SMB2_COM_SESSION_SETUP) Status: 0xC0000001 Flags: 0x01 PID: 25621 MID: 2 TID: 0 Data: 9 bytes 090000000000000000 ==================== SMB Data Packet (hex) ==================== fe534d4240000000010000c001000100010000000000000002000000000000001564000000000000c316f8ea0000000000000000000000000000000000000000090000000000000000
The most fun thing about this error, that if I start program second time - it will work. But with time this error arises again.
smb-error-0xC0000001.pcapng.zip