Some interop notes

Moritz Bechler bechler at
Thu Jun 8 17:53:02 UTC 2017


Yikes, didn't even know there were two of those - that explains alot why
my debugging attempts failed ;)

But yes, that is also broken with smbd (testing 4.6.4/Gentoo and also a
4.3.11/Ubuntu), some more details gathered from successful debugging:

TREE_CONNECT + IOCTL - and this seems generally broken (quick test with
CREATE shows the same):

/usr/sbin/smbd: smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK]
body[16] dyn[no:0] at ../source3/smbd/smb2_tcon.c:170
/usr/sbin/smbd: smbd_smb2_request_dispatch: opcode[SMB2_OP_IOCTL] mid = 13
/usr/sbin/smbd: smbd_smb2_request_error_ex: smbd_smb2_request_error_ex:
/usr/sbin/smbd: smbd_smb2_request_done_ex: idx[5]
status[NT_STATUS_NETWORK_NAME_DELETED] body[8] dyn[yes:1] at

Error comes from smbd_smb2_request_check_tcon

1799			in_tid = req->last_tid;
(gdb) print req->last_tid
$1 = 4294967295 (== 0xFFFFFFFF)

which is the unspecified TID from the TREE_CONNECT request.



AgNO3 GmbH & Co. KG, Sitz Tübingen, Amtsgericht Stuttgart HRA 728731
Persönlich haftend:
Metagesellschaft mbH, Sitz Tübingen, Amtsgericht Stuttgart HRB 744820,
Vertreten durch Joachim Keltsch

More information about the samba-technical mailing list