[PATCH v4 0/3] ksmbd: refactor smb2_notify() to a blocking wait

ChenXiaoSong chenxiaosong at chenxiaosong.com
Fri Aug 21 06:47:25 UTC 2026


Hi Namjae,

Before this patchset, the two test cases also failed. I would like to 
know your test results before this patchset. I am not sure whether there 
is something wrong with my krb5 environment. But I tested the 
`smb2.session.expire1s` and `smb2.session.expire1e` test cases, and they 
passed.

failure: expire2s [
../../source4/torture/smb2/session.c:1611: status was 
NT_STATUS_IO_TIMEOUT, expected NT_STATUS_NETWORK_SESSION_EXPIRED: 
smb2_find returned unexpected ss
]

failure: expire2e [
../../source4/torture/smb2/session.c:1611: status was 
NT_STATUS_IO_TIMEOUT, expected NT_STATUS_NETWORK_SESSION_EXPIRED: 
smb2_find returned unexpected ss
]

On 8/11/2026 8:50 PM, Namjae Jeon wrote:
> Can you check two smbtorture failures from this patch-set ?
> 
> $ ./bin/smbtorture //ksmbd.test/cifsd-test3/
> -Ulinkinjeon at KSMBD.TEST%1234 --use-kerberos=required
> smb2.session.expire2s
> ...
> failure: expire2s [
> ../../source4/torture/smb2/session.c:1482: status was
> NT_STATUS_ACCESS_DENIED, expected NT_STATUS_NETWORK_SESSION_EXPIRED:
> smb2_notify returned unexpected status
> ]
> 
> $ ./bin/smbtorture //ksmbd.test/cifsd-test3/
> -Ulinkinjeon at KSMBD.TEST%1234 --use-kerberos=required
> smb2.session.expire2e
> ...
> failure: expire2e [
> ../../source4/torture/smb2/session.c:1482: status was
> NT_STATUS_ACCESS_DENIED, expected NT_STATUS_NETWORK_SESSION_EXPIRED:
> smb2_notify returned unexpected status
> ]

-- 
ChenXiaoSong <chenxiaosong at chenxiaosong.com>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en




More information about the samba-technical mailing list