Skip to content

Unable to list streams #522

@invis-z

Description

@invis-z

With dir /s /r all streams for the file in the directory should be listed. With samba, this functions correctly, but with ksmbd, only files are shown but not streams. However, the stream data is written to disk and is readable by the client if full path is provided. Tested with Windows 11 25H2 (26200.7462) client with ksmbd server on OpenSUSE Tumbleweed with kernel 6.18.3 and Ubuntu 24.04.3 Live CD with kernel 6.14.0, and both has this issue.

It could be tested with the following commands in cmd.exe

echo "data" > test.txt
echo "stream" > hello.txt:stream
dir /s /r
notepad hello.txt:stream

In this test, the stream is not listed with ksmbd server but notepad is able to read the content corretly.

Here is the debug log from ksmbd while executing dir /s /r:

Jan 07 16:27:14 noctis kernel: ksmbd: connect success: accepted new connection
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 276 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: no length check for command
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 0
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 100
Jan 07 16:27:14 noctis kernel: ksmbd: client requested dialect 0x311
Jan 07 16:27:14 noctis kernel: [34B blob data]
Jan 07 16:27:14 noctis kernel: ksmbd: conn->dialect 0x311
Jan 07 16:27:14 noctis kernel: ksmbd: Received negotiate request
Jan 07 16:27:14 noctis kernel: ksmbd: decoding 6 negotiate contexts
Jan 07 16:27:14 noctis kernel: ksmbd: deassemble SMB2_PREAUTH_INTEGRITY_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: deassemble SMB2_ENCRYPTION_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: Cipher ID = 0x2
Jan 07 16:27:14 noctis kernel: ksmbd: deassemble SMB2_COMPRESSION_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: deassemble SMB2_SIGNING_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: Signing Algorithm ID = 0x1
Jan 07 16:27:14 noctis kernel: ksmbd: deassemble SMB2_NETNAME_NEGOTIATE_CONTEXT_ID context
Jan 07 16:27:14 noctis kernel: ksmbd: assemble SMB2_PREAUTH_INTEGRITY_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: assemble SMB2_ENCRYPTION_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: assemble SMB2_SIGNING_CAPABILITIES context
Jan 07 16:27:14 noctis kernel: ksmbd: negotiate context offset 224, count 3
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[33] granted[1] total_granted[1]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 162 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 74 offset 88
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 162
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 session setup request
Jan 07 16:27:14 noctis kernel: ksmbd: negotiate phase
Jan 07 16:27:14 noctis kernel: ksmbd: NTLMSSP SecurityBufferLength 188
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[33] granted[33] total_granted[33]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 548 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 460 offset 88
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 548
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 session setup request
Jan 07 16:27:14 noctis kernel: ksmbd: authenticate phase
Jan 07 16:27:14 noctis kernel: ksmbd: session setup request for user ray
Jan 07 16:27:14 noctis kernel: ksmbd: decode_ntlmssp_authenticate_blob dname.
Jan 07 16:27:14 noctis kernel: ksmbd: dumping generated AES encryption keys
Jan 07 16:27:14 noctis kernel: ksmbd: Cipher type   2
Jan 07 16:27:14 noctis kernel: ksmbd: Session Id    2
Jan 07 16:27:14 noctis kernel: ksmbd: Session Key   21 6d d7 6d 6c 25 ef dc 61 57 d1 75 d2 82 9d b3
Jan 07 16:27:14 noctis kernel: ksmbd: ServerIn Key  1e 38 36 d5 e3 bc 72 56 09 76 ba e4 cc 00 72 1b
Jan 07 16:27:14 noctis kernel: ksmbd: ServerOut Key 08 87 c6 33 16 d3 8a f5 a5 4e 7e e6 5a 80 52 4c
Jan 07 16:27:14 noctis kernel: ksmbd: dumping generated AES signing keys
Jan 07 16:27:14 noctis kernel: ksmbd: Session Id    2
Jan 07 16:27:14 noctis kernel: ksmbd: Session Key   21 6d d7 6d 6c 25 ef dc 61 57 d1 75 d2 82 9d b3
Jan 07 16:27:14 noctis kernel: ksmbd: Signing Key   63 e8 09 a5 6a d1 2d 18 de 61 5b 0a 78 8c 75 39
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[33]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 98 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: skip to check tree connect request
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 26 offset 72
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 tree connect request
Jan 07 16:27:14 noctis kernel: ksmbd: tree connect request for tree test treename \\noctis\test
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[33]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 176 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 128
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 176
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: Discard write access to a directory
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: failed to load dos attribute in xattr
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[33]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 217 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILESYSTEM
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[33]
Jan 07 16:27:14 noctis kernel: ksmbd: got SMB2 chained command
Jan 07 16:27:14 noctis kernel: ksmbd: Compound req new_len = 104 rcv off = 112 rsp off = 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILESYSTEM
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[2] granted[2] total_granted[34]
Jan 07 16:27:14 noctis kernel: ksmbd: padding len 4
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 152 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 24 offset 128
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 152
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: Discard write access to a directory
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[34]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 1
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[34]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 354 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 24 offset 128
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 152
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: Discard write access to a directory
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[34]
Jan 07 16:27:14 noctis kernel: ksmbd: got SMB2 chained command
Jan 07 16:27:14 noctis kernel: ksmbd: Compound req new_len = 184 rcv off = 152 rsp off = 184
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[34]
Jan 07 16:27:14 noctis kernel: ksmbd: got SMB2 chained command
Jan 07 16:27:14 noctis kernel: ksmbd: Compound req new_len = 80 rcv off = 256 rsp off = 264
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[3] granted[3] total_granted[36]
Jan 07 16:27:14 noctis kernel: ksmbd: padding len 7
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 98 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: Search pattern is *
Jan 07 16:27:14 noctis kernel: ksmbd: Restart directory scan
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :544, next_offset : 72, data_count : 72
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[36]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 256 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 24 offset 128
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 152
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: Discard write access to a directory
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[36]
Jan 07 16:27:14 noctis kernel: ksmbd: got SMB2 chained command
Jan 07 16:27:14 noctis kernel: ksmbd: Compound req new_len = 184 rcv off = 152 rsp off = 184
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: Compound request set FID = 3
Jan 07 16:27:14 noctis kernel: ksmbd: user.DOSATTRIB, len 14
Jan 07 16:27:14 noctis kernel: ksmbd: security.selinux, len 16
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[2] granted[2] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 3
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 98 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: Search pattern is *
Jan 07 16:27:14 noctis kernel: ksmbd: failed to load dos attribute in xattr
Jan 07 16:27:14 noctis kernel: ksmbd: fail to load dos attribute.
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65464, next_offset : 72, data_count : 72
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65280, next_offset : 184, data_count : 256
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65192, next_offset : 88, data_count : 344
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65112, next_offset : 80, data_count : 424
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65032, next_offset : 80, data_count : 504
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :64944, next_offset : 88, data_count : 592
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :64864, next_offset : 80, data_count : 672
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: security.selinux, len 16
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 288 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 240
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 288
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2/co2-sensor-ebus-installation-instructions-gb-614853.pdf
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: user.$KERNEL.PURGE.SMARTLOCKER.VALID, len 36
Jan 07 16:27:14 noctis kernel: ksmbd: user.DosStream.Zone.Identifier:$DATA, len 36
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 4
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 192 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 144
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 192
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2/hello.txt
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: user.DosStream.x.txt:$DATA, len 26
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 5
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 184 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 136
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 184
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2/1.txt
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: user.DosStream.3.txt:$DATA, len 26
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 6
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 184 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 136
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 184
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2/1.zip
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: user.DOSATTRIB, len 14
Jan 07 16:27:14 noctis kernel: ksmbd: security.selinux, len 16
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 7
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 192 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 144
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 192
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2/hello.zip
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: user.DOSATTRIB, len 14
Jan 07 16:27:14 noctis kernel: ksmbd: security.selinux, len 16
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 8
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 184 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 48 offset 136
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 184
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2/2.txt
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: get query on disk id context
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 104 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILE
Jan 07 16:27:14 noctis kernel: ksmbd: user.DosStream.3.txt:$DATA, len 26
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 9
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 98 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: Search pattern is *
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 2
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 250 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 24 offset 128
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 152
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: Discard write access to a directory
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[37]
Jan 07 16:27:14 noctis kernel: ksmbd: got SMB2 chained command
Jan 07 16:27:14 noctis kernel: ksmbd: Compound req new_len = 184 rcv off = 152 rsp off = 184
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: Search pattern is *
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :544, next_offset : 72, data_count : 72
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[2] granted[2] total_granted[38]
Jan 07 16:27:14 noctis kernel: ksmbd: padding len 2
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 98 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: Search pattern is *
Jan 07 16:27:14 noctis kernel: ksmbd: failed to load dos attribute in xattr
Jan 07 16:27:14 noctis kernel: ksmbd: fail to load dos attribute.
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65464, next_offset : 72, data_count : 72
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65280, next_offset : 184, data_count : 256
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65192, next_offset : 88, data_count : 344
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65112, next_offset : 80, data_count : 424
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :65032, next_offset : 80, data_count : 504
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :64944, next_offset : 88, data_count : 592
Jan 07 16:27:14 noctis kernel: ksmbd: info_level : 2, buf_len :64864, next_offset : 80, data_count : 672
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[38]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 98 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 2 offset 96
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 98
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 query directory request
Jan 07 16:27:14 noctis kernel: ksmbd: Search pattern is *
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[38]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 10
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[38]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 256 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 24 offset 128
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 152
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 create request
Jan 07 16:27:14 noctis kernel: ksmbd: converted name = 2
Jan 07 16:27:14 noctis kernel: ksmbd: get query maximal access context
Jan 07 16:27:14 noctis kernel: ksmbd: check permission using windows acl
Jan 07 16:27:14 noctis kernel: ksmbd: Discard write access to a directory
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[38]
Jan 07 16:27:14 noctis kernel: ksmbd: got SMB2 chained command
Jan 07 16:27:14 noctis kernel: ksmbd: Compound req new_len = 184 rcv off = 152 rsp off = 184
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 data length 0 offset 104
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 105
Jan 07 16:27:14 noctis kernel: ksmbd: Received request smb2 query info request
Jan 07 16:27:14 noctis kernel: ksmbd: GOT SMB2_O_INFO_FILESYSTEM
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[2] granted[2] total_granted[39]
Jan 07 16:27:14 noctis kernel: ksmbd: RFC1002 header 88 bytes
Jan 07 16:27:14 noctis kernel: ksmbd: SMB2 len 88
Jan 07 16:27:14 noctis kernel: ksmbd: Received smb2 close request
Jan 07 16:27:14 noctis kernel: ksmbd: volatile_id = 11
Jan 07 16:27:14 noctis kernel: ksmbd: credits: requested[1] granted[1] total_granted[39]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions