Are
2018-Jun-20 13:40 UTC
[Samba] Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2
Hi, I am running Samba 4.8.2 with fruit and use it to connect a MacOS to the server. Mostly it works very good, but occasionally the connection halts or the Mac disconnects, and in the log I find these messages: Jun 20 13:00:00 orca smbd[6033]: [2018/06/20 13:00:00.856101, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) Jun 20 13:00:00 orca smbd[6033]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 4217 (sequence id 4287) (granted = 325, low = 3775, range = 512) Jun 20 13:00:33 orca smbd[38213]: [2018/06/20 13:00:33.713824, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) Jun 20 13:00:33 orca smbd[38213]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 4779 (sequence id 4785) (granted = 261, low = 4273, range = 512) Jun 20 13:01:10 orca smbd[92724]: [2018/06/20 13:01:10.074249, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) Jun 20 13:01:10 orca smbd[92724]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 520 (sequence id 520) (granted = 9, low = 8, range = 512) Jun 20 13:01:51 orca smbd[75754]: [2018/06/20 13:01:51.152858, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) Jun 20 13:01:51 orca smbd[75754]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 520 (sequence id 520) (granted = 8, low = 8, range = 512) Jun 20 13:05:10 orca smbd[61155]: [2018/06/20 13:05:10.594843, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) Jun 20 13:05:10 orca smbd[61155]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 4789 (sequence id 4794) (granted = 260, low = 4282, range = 512) Is there something I can do?
Jeremy Allison
2018-Jun-20 15:43 UTC
[Samba] Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2
On Wed, Jun 20, 2018 at 03:40:48PM +0200, Are via samba wrote:> Hi, > I am running Samba 4.8.2 with fruit and use it to connect a MacOS to the server. Mostly it works very good, but occasionally the connection halts or the Mac disconnects, and in the log I find these messages: > > Jun 20 13:00:00 orca smbd[6033]: [2018/06/20 13:00:00.856101, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) > Jun 20 13:00:00 orca smbd[6033]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 4217 (sequence id 4287) (granted = 325, low = 3775, range = 512) > Jun 20 13:00:33 orca smbd[38213]: [2018/06/20 13:00:33.713824, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) > Jun 20 13:00:33 orca smbd[38213]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 4779 (sequence id 4785) (granted = 261, low = 4273, range = 512) > Jun 20 13:01:10 orca smbd[92724]: [2018/06/20 13:01:10.074249, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) > Jun 20 13:01:10 orca smbd[92724]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 520 (sequence id 520) (granted = 9, low = 8, range = 512) > Jun 20 13:01:51 orca smbd[75754]: [2018/06/20 13:01:51.152858, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) > Jun 20 13:01:51 orca smbd[75754]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 520 (sequence id 520) (granted = 8, low = 8, range = 512) > Jun 20 13:05:10 orca smbd[61155]: [2018/06/20 13:05:10.594843, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number) > Jun 20 13:05:10 orca smbd[61155]: smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 4789 (sequence id 4794) (granted = 260, low = 4282, range = 512) > > Is there something I can do?My suspision here is with the MacOSX SMB2 credit handling. Have you asked Apple ?
Are
2018-Jun-20 22:31 UTC
[Samba] Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2
I’ve sent also to Apple, but no reply there yet.> 20. jun. 2018 kl. 17:43 skrev Jeremy Allison <>: > > My suspision here is with the MacOSX SMB2 credit handling. Have > you asked Apple ? >
Maybe Matching Threads
- Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2
- Bug 15346 - 2-3min delays at reconnect with smb2_validate_sequence_number: bad message_id 2 still on new 4.17.10
- smb2_validate_sequence_number: bad message_id 2
- shadow_copy2 not working
- [Announce] Samba 4.17.11 Available for Download