Displaying 20 results from an estimated 245 matches for "smb2_server".
2024 Nov 26
2
Random EINVAL when opening files with SMB3 POSIX extensions enabled
...chenxiaolong closed file Documents/Notes/Linux/Shells.txt (numopen=1) NT_STATUS_OK
[2024/11/26 16:02:01.537483, 2] ../../source3/smbd/open.c:1614(open_file)
chenxiaolong opened file Documents/Notes/Linux/Shells.txt read=No write=No (numopen=2)
[2024/11/26 16:02:01.537520, 3] ../../source3/smbd/smb2_server.c:4052(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NOT_A_REPARSE_POINT] || at ../../source3/smbd/smb2_ioctl.c:355
[2024/11/26 16:02:01.537531, 2] ../../source3/smbd/close.c:924(close_normal_file)
chenxiaolong closed file Documents...
2023 Jul 14
0
smb2_validate_sequence_number: bad message_id 2
...time later, it happens again, and so on. No error screens are presented during or after this delay.
We found this log messages on both DCs watching the RSAT station specific file log.
This specific messages appears only when the delay happens.
[2023/07/13 09:01:10.307842, 0] ../../source3/smbd/smb2_server.c:677(smb2_validate_sequence_number)
smb2_validate_sequence_number: smb2_validate_sequence_number: bad message_id 2 (sequence id 2) (granted = 1, low = 1, range = 1)
[2023/07/13 09:14:03.951134, 0] ../../source3/smbd/smb2_server.c:677(smb2_validate_sequence_number)
smb2_validate_sequence_number:...
2017 Aug 29
3
Shares not accessible when using FQDN
...t works on some workstations but not all..
Client clients are OK.
Do you have any idea ?!?
==> /var/log/samba/log.smbd <==
[2017/08/29 10:59:55.925684, 4] ../source3/smbd/uid.c:384(change_to_user)
Skipping user change - already user
[2017/08/29 10:59:55.925776, 3] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_INVALID_PARAMETER] || at ../source3/smbd/smb2_ioctl.c:309
[2017/08/29 10:59:55.926835, 4] ../source3/smbd/uid.c:384(change_to_user)
Skipping user change - already user
[2017/08/29...
2015 Apr 09
3
After Update Member Server not working
...failed: NT_STATUS_LOGON_FAILURE
SPNEGO login failed: NT_STATUS_LOGON_FAILURE
smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_LOGON_FAILURE] || at ../source3/smbd/smb2_sesssetup.c:131
smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_LOGON_FAILURE] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:2646
SPNEGO(gse_krb5) NEG_TOKEN_INIT failed: NT_STATUS_LOGON_FAILURE
SPNEGO login failed: NT_STATUS_LOGON_FAILURE
smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_LOGON_FAILURE] || at ../source3/smbd/smb2_sesssetup.c:131
smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_LOGON_FAIL...
2018 Jun 20
2
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/sm...
2023 Jul 07
0
Very strange issue copying only certain files to a share
...=
# ls -lZ /srv/test/
-rwxr--r--. 1 jaadmin jaadmin system_u:object_r:samba_share_t:s0 0 Jul 7
16:38 a
==> log.smbd <==
[2023/07/07 16:38:16.793627, 3]
../../source3/smbd/smb2_trans2.c:2151(smbd_do_qfsinfo)
smbd_do_qfsinfo: level = 1007
[2023/07/07 16:38:16.795140, 3]
../../source3/smbd/smb2_server.c:3962(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_CANCELLED] || at ../../source3/smbd/smb2_notify.c:126
[2023/07/07 16:38:16.795705, 3]
../../source3/smbd/smb2_server.c:3962(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex:...
2017 Aug 29
0
Shares not accessible when using FQDN
...OK.
>
>
> Do you have any idea ?!?
>
>
>
>
>
> ==> /var/log/samba/log.smbd <==
> [2017/08/29 10:59:55.925684,
> 4] ../source3/smbd/uid.c:384(change_to_user) Skipping user change -
> already user [2017/08/29 10:59:55.925776,
> 3] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
> smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
> status[NT_STATUS_INVALID_PARAMETER] ||
> at ../source3/smbd/smb2_ioctl.c:309 [2017/08/29 10:59:55.926835,
> 4] ../source3/smbd/uid.c:384(change_to_user) Skipping user change -
> alre...
2018 Jun 26
1
Samba works, but no acces to home directories
...8f60-699cf3486251 / ext4
acl,user_xattr 0 1 UUID=086480e2-d313-495f-8fba-fef25c9149a3
/mnt/home/ ext4 acl,user_xattr 0 1 All shares are working EXCEPT
the user homes. With a raised log level I found:
--------------------------
[2018/06/25 16:45:25.652326, 3]
../source3/smbd/smb2_server.c:3171(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_create.c:296
[2018/06/25 16:45:25.652388, 3]
../source3/smbd/smb2_server.c:3171(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: s...
2014 Mar 28
1
shadow_copy2 not working
...=4038, effective(3000019, 100),
real(3000019, 0)]
../source3/smbd/smb2_ioctl.c:291(smbd_smb2_request_ioctl_done)
smbd_smb2_request_ioctl_done: smbd_smb2_ioctl_recv returned 68 status
NT_STATUS_OK
[2014/03/28 15:41:16.618180, 10, pid=4038, effective(3000019, 100),
real(3000019, 0)]
../source3/smbd/smb2_server.c:2499(smbd_smb2_request_done_ex)
smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[48]
dyn[yes:68] at ../source3/smbd/smb2_ioctl.c:358
[2014/03/28 15:41:16.618220, 10, pid=4038, effective(3000019, 100),
real(3000019, 0)]
../source3/smbd/smb2_server.c:874(smb2_set_operation_credit)
sm...
2017 Aug 29
3
Shares not accessible when using FQDN
...>
> >
> >
> >
> >
> > ==> /var/log/samba/log.smbd <==
> > [2017/08/29 10:59:55.925684,
> > 4] ../source3/smbd/uid.c:384(change_to_user) Skipping user change -
> > already user [2017/08/29 10:59:55.925776,
> > 3] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
> > smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
> > status[NT_STATUS_INVALID_PARAMETER] ||
> > at ../source3/smbd/smb2_ioctl.c:309 [2017/08/29 10:59:55.926835,
> > 4] ../source3/smbd/uid.c:384(change_to_user) Skipping...
2014 Sep 24
2
High CPU Load samba 4.1.12 possibly because of Notify Request problem
...SMB2 258 Create Request File: a\directory
<starting over and over and over>
---------------------------------
?
?
A debug level of 10 on such an smbd gives me:
---------------------------------
[2014/09/24 16:15:04.429169, 10, pid=2495, effective(547, 500), real(547, 0)] ../source3/smbd/smb2_server.c:874(smb2_set_operation_credit)? smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 482/512, total granted/max/low/range 31/8192/3287320/31
[2014/09/24 16:15:04.433078, 10, pid=2495, effective(547, 500), real(547, 0)] ../source3/smbd/smb2_server.c:3257(smbd_smb2_io_...
2017 Aug 29
0
Shares not accessible when using FQDN
...gt;
>
> Do you have any idea ?!?
>
>
>
>
>
> ==> /var/log/samba/log.smbd <==
> [2017/08/29 10:59:55.925684, 4]
> ../source3/smbd/uid.c:384(change_to_user)
> Skipping user change - already user
> [2017/08/29 10:59:55.925776, 3]
> ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
> smbd_smb2_request_error_ex: smbd_smb2_request_error_ex:
> idx[1] status[NT_STATUS_INVALID_PARAMETER] || at
> ../source3/smbd/smb2_ioctl.c:309
> [2017/08/29 10:59:55.926835, 4]
> ../source3/smbd/uid.c:384(change_to_user)
> Skipping user chang...
2023 Jul 21
2
Bug 15346 - 2-3min delays at reconnect with smb2_validate_sequence_number: bad message_id 2 still on new 4.17.10
...that the bug, smb2_validate_sequence_number:
Jul 21 08:22:44 dom2 smbd[1908004]: smb2_validate_sequence_number:
smb2_validate_sequence_number: bad message_id 2 (sequence id 2) (granted =
1, low = 1, range = 1)
Jul 21 09:24:39 dom2 smbd[1908332]: [2023/07/21 09:24:39.140658, 0]
../../source3/smbd/smb2_server.c:677(smb2_validate_sequence_number)
Jul 21 09:24:39 dom2 smbd[1908332]: smb2_validate_sequence_number:
smb2_validate_sequence_number: bad message_id 2 (sequence id 2) (granted =
1, low = 1, range = 1)
Jul 21 09:25:54 dom2 smbd[1908342]: [2023/07/21 09:25:54.376344, 0]
../../source3/smbd/smb2_se...
2020 Apr 23
2
Share inaccessible intermittently and often - restarting smb cures for short time
Ok increased logging and got the error here is what got logged:
2020/04/23 14:03:17.514132, 3] ../../source3/smbd/smb2_server.c:3274(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_SHARING_VIOLATION] || at ../../source3/smbd/smb2_create.c:334
[2020/04/23 14:03:17.514206, 3] ../../source3/smbd/smb2_server.c:3274(smbd_smb2_request_error_ex)
smbd_smb2_request_e...
2016 Aug 31
0
Certain systems can no longer access samba post upgrade to 4.3.9
...> comment=
> usershare_acl=S-1-1-0:F
> guest ok = yes
>
>
>
>
We were able to reproduce the incident in dev. Here are the log entries
with log level set to 10, this repeats over and over:
[2016/08/31 08:00:40.640956, 10, pid=6463, effective(0, 0), real(0, 0)]
../source3/smbd/smb2_server.c:3539(smbd_smb2_io_handler)
smbd_smb2_request idx[1] of 5 vectors
[2016/08/31 08:00:40.641051, 10, pid=6463, effective(0, 0), real(0, 0)]
../source3/smbd/smb2_server.c:654(smb2_validate_sequence_number)
smb2_validate_sequence_number: clearing id 66899 (position 1363) from
bitmap
[2016/08/31 08...
2020 Jan 03
2
delayed write files errors
...=======================
Samba log file :
[2019/12/31 23:09:18.415104,? 2] ../source3/smbd/open.c:4032(open_directory)
? open_directory: unable to create
user/.system/Thunderbird/profile.default-release. Error was
NT_STATUS_OBJECT_NAME_COLLISION
[2019/12/31 23:09:18.415157,? 3]
../source3/smbd/smb2_server.c:3190(smbd_smb2_request_error_ex)
? smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_OBJECT_NAME_COLLISION] || at
../source3/smbd/smb2_create.c:296
(...)
[2020/01/01 16:36:23.462929,? 2]
../source3/smbd/close.c:802(close_normal_file)
? EXAMPLE\user closed file...
2015 Apr 09
2
After Update Member Server not working
...E
>>> smbd_smb2_request_error_ex: idx[1]
>>> status[NT_STATUS_LOGON_FAILURE] || at
>>> ../source3/smbd/smb2_sesssetup.c:131
>>> smbd_smb2_request_done_ex: idx[1]
>>> status[NT_STATUS_LOGON_FAILURE] body[8] dyn[yes:1] at
>>> ../source3/smbd/smb2_server.c:2646
>>> SPNEGO(gse_krb5) NEG_TOKEN_INIT failed: NT_STATUS_LOGON_FAILURE
>>> SPNEGO login failed: NT_STATUS_LOGON_FAILURE
>>> smbd_smb2_request_error_ex: idx[1]
>>> status[NT_STATUS_LOGON_FAILURE] || at
>>> ../source3/smbd/smb2_sesssetup.c:131...
2020 Sep 24
2
Can't connect after AuthN: NT_STATUS_ACCESS_DENIED
...3]
../../source3/rpc_server/srv_pipe.c:1531(api_rpcTNP)
api_rpcTNP: rpc command: LSA_CLOSE
[2020/09/23 19:03:37.028187, 3]
../../source3/smbd/service.c:1131(close_cnum)
colive-12867 (ipv4:172.16.112.1:56106) closed connection to service IPC$
[2020/09/23 19:03:37.029241, 3]
../../source3/smbd/smb2_server.c:3266(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at ../../source3/smbd/smb2_create.c:296
[2020/09/23 19:03:37.029259, 3]
../../source3/smbd/smb2_server.c:3266(smbd_smb2_request_error_ex)
smbd_smb2_request_error...
2020 Apr 24
3
Share inaccessible intermittently and often - restarting smb cures for short time
...or write a file.
On a different server running Samba 4.9.2 and a relatively similar setup (same build commands but running on CentOS 7) I do not have this issue.
> Ok increased logging and got the error here is what got logged:
>
> 2020/04/23 14:03:17.514132, 3]
> ../../source3/smbd/smb2_server.c:3274(smbd_smb2_request_error_ex)
> smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
> status[NT_STATUS_SHARING_VIOLATION] || at ../../source3/smbd/smb2_create.c:334
> [2020/04/23 14:03:17.514206, 3]
> ../../source3/smbd/smb2_server.c:3274(smbd_smb2_request_error_ex)
&...
2016 Sep 22
2
Samba Member NT_STATUS_NETWORK_SESSION_EXPIRED
...9; for service IPC$
[2016/09/22 08:58:56.928361, 3] ../source3/smbd/service.c:907(make_connection_snum)
192.168.111.159 (ipv4:192.168.111.159:45070) connect to service IPC$ initially as user HQKONTRAST\pl0024$ (uid=3000085, gid=3000015) (pid 3755)
[2016/09/22 17:21:05.879733, 3] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NETWORK_SESSION_EXPIRED] || at ../source3/smbd/smb2_server.c:2415
[2016/09/22 17:21:05.880494, 3] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
smbd_smb2_request_...