SMB disconnect

tomeks11

Cadet
Joined
May 25, 2021
Messages
8
I have a problem disconnecting Winows from Samba.
When I detach a samba resource under Widows and it is not used for about an hour, the resource disconnects. The Explorer window closes by itself. I checked communication in WireShark.
I have similar logs with the Samba resource in Debian but this problem does not occur.



xx is windows

462 2021-05-26 08:43:24,420005 xx.xx.xx.xx yy.yy.yy.yy TCP 1514 1100 → 445 [ACK] Seq=8936 Ack=30138 Win=1024 Len=1460 [TCP segment of a reassembled PDU]
463 2021-05-26 08:43:24,420005 xx.xx.xx.xx yy.yy.yy.yy SMB2 427 Session Setup Request
464 2021-05-26 08:43:24,420349 yy.yy.yy.yy xx.xx.xx.xx TCP 60 445 → 1100 [ACK] Seq=30138 Ack=10769 Win=999 Len=0
465 2021-05-26 08:43:24,430612 yy.yy.yy.yy xx.xx.xx.xx SMB2 292 Session Setup Response
466 2021-05-26 08:43:24,430961 xx.xx.xx.xx yy.yy.yy.yy SMB2 160 Tree Connect Request Tree: \\ds-wenus\IPC$
467 2021-05-26 08:43:24,431996 yy.yy.yy.yy xx.xx.xx.xx SMB2 138 Tree Connect Response
468 2021-05-26 08:43:24,432369 xx.xx.xx.xx yy.yy.yy.yy SMB2 220 Ioctl Request FSCTL_DFS_GET_REFERRALS, File: \ds-wenus\developer
469 2021-05-26 08:43:24,433061 yy.yy.yy.yy xx.xx.xx.xx SMB2 131 Ioctl Response, Error: STATUS_NOT_FOUND
470 2021-05-26 08:43:24,434293 xx.xx.xx.xx yy.yy.yy.yy SMB2 170 Tree Connect Request Tree: \\ds-wenus\developer
471 2021-05-26 08:43:24,435468 yy.yy.yy.yy xx.xx.xx.xx SMB2 138 Tree Connect Response
472 2021-05-26 08:43:24,436527 xx.xx.xx.xx yy.yy.yy.yy SMB2 160 Tree Connect Request Tree: \\ds-wenus\IPC$
473 2021-05-26 08:43:24,437387 yy.yy.yy.yy xx.xx.xx.xx SMB2 138 Tree Connect Response
474 2021-05-26 08:43:24,437632 xx.xx.xx.xx yy.yy.yy.yy SMB2 220 Ioctl Request FSCTL_DFS_GET_REFERRALS, File: \ds-wenus\developer
475 2021-05-26 08:43:24,438050 yy.yy.yy.yy xx.xx.xx.xx SMB2 131 Ioctl Response, Error: STATUS_NOT_FOUND
476 2021-05-26 08:43:24,479987 xx.xx.xx.xx yy.yy.yy.yy TCP 54 1100 → 445 [ACK] Seq=11429 Ack=30782 Win=1022 Len=0
477 2021-05-26 08:43:24,736857 xx.xx.xx.xx yy.yy.yy.yy SMB2 234 Create Request File:
478 2021-05-26 08:43:24,737984 yy.yy.yy.yy xx.xx.xx.xx SMB2 298 Create Response File:
479 2021-05-26 08:43:24,738375 xx.xx.xx.xx yy.yy.yy.yy SMB2 275 GetInfo Request FS_INFO/FileFsVolumeInformation File: ;GetInfo Request FS_INFO/FileFsAttributeInformation File:
480 2021-05-26 08:43:24,738866 yy.yy.yy.yy xx.xx.xx.xx SMB2 266 GetInfo Response;GetInfo Response
481 2021-05-26 08:43:24,738967 xx.xx.xx.xx yy.yy.yy.yy SMB2 162 GetInfo Request FILE_INFO/SMB2_FILE_EA_INFO File:
482 2021-05-26 08:43:24,739465 yy.yy.yy.yy xx.xx.xx.xx SMB2 134 GetInfo Response
483 2021-05-26 08:43:24,746639 xx.xx.xx.xx yy.yy.yy.yy SMB2 382 Create Request File: Desktop.ini
484 2021-05-26 08:43:24,747250 yy.yy.yy.yy xx.xx.xx.xx SMB2 131 Create Response, Error: STATUS_OBJECT_NAME_NOT_FOUND
485 2021-05-26 08:43:24,747722 xx.xx.xx.xx yy.yy.yy.yy SMB2 250 Create Request File: AutoRun.inf
486 2021-05-26 08:43:24,748261 yy.yy.yy.yy xx.xx.xx.xx SMB2 131 Create Response, Error: STATUS_OBJECT_NAME_NOT_FOUND
487 2021-05-26 08:43:24,798143 xx.xx.xx.xx yy.yy.yy.yy TCP 54 1100 → 445 [ACK] Seq=12462 Ack=31472 Win=1025 Len=0
488 2021-05-26 08:43:25,070122 xx.xx.xx.xx yy.yy.yy.yy SMB2 162 GetInfo Request FILE_INFO/SMB2_FILE_EA_INFO File:
489 2021-05-26 08:43:25,070576 yy.yy.yy.yy xx.xx.xx.xx SMB2 134 GetInfo Response
490 2021-05-26 08:43:25,114284 xx.xx.xx.xx yy.yy.yy.yy TCP 54 1100 → 445 [ACK] Seq=12570 Ack=31552 Win=8212 Len=0
491 2021-05-26 08:43:37,885060 xx.xx.xx.xx yy.yy.yy.yy SMB2 126 Tree Disconnect Request
492 2021-05-26 08:43:37,885087 xx.xx.xx.xx yy.yy.yy.yy SMB2 126 Tree Disconnect Request
493 2021-05-26 08:43:37,885669 yy.yy.yy.yy xx.xx.xx.xx TCP 60 445 → 1100 [ACK] Seq=31552 Ack=12714 Win=1025 Len=0
494 2021-05-26 08:43:37,885961 yy.yy.yy.yy xx.xx.xx.xx SMB2 126 Tree Disconnect Response
495 2021-05-26 08:43:37,886183 yy.yy.yy.yy xx.xx.xx.xx SMB2 126 Tree Disconnect Response
496 2021-05-26 08:43:37,886219 xx.xx.xx.xx yy.yy.yy.yy TCP 54 1100 → 445 [ACK] Seq=12714 Ack=31696 Win=8211 Len=0
 
Top