Displaying 3 results from an estimated 3 matches for "lock_db".
2019 Nov 29
4
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
Hello all,
after the upgarde from Samba 4.10.7 to 4.11.2 we get lots of these in
our logfiles:
2019-11-28T20:40:44+01:00 lx-sv-09 smbd_audit: [2019/11/28
20:40:44.886615, 1]
../../source3/locking/share_mode_lock.c:597(get_share_mode_lock)
2019-11-28T20:40:44+01:00 lx-sv-09 smbd_audit: get_share_mode_lock:
get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
There are no symptoms accept
2019 Nov 29
0
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
...ING("get_static_share_mode_data failed: %s\n",
??? ??? ??? ??? ??? nt_errstr(status));
??? ??? ??? goto fail;
??? ??? }
It calls 'get_static_share_mode_data' and the relevant part of that is this:
??? if (value.dptr == NULL) {
??? ??? d = fresh_share_mode_lock(
??? ??? ??? lock_db, servicepath, smb_fname, old_write_time);
??? ??? if (d == NULL) {
??? ??? ??? return NT_STATUS_NO_MEMORY;
??? ??? }
Which I hope you can see, is saying that it cannot find the share
record, this isn't an actual error.
It has also been fixed in Samba git, see here:
https://git.samba.org/...
2019 Nov 29
0
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
...uot;,
> ??? ??? ??? ??? ??? nt_errstr(status));
> ??? ??? ??? goto fail;
> ??? ??? }
>
> It calls 'get_static_share_mode_data' and the relevant part
> of that is this:
>
> ??? if (value.dptr == NULL) {
> ??? ??? d = fresh_share_mode_lock(
> ??? ??? ??? lock_db, servicepath, smb_fname, old_write_time);
> ??? ??? if (d == NULL) {
> ??? ??? ??? return NT_STATUS_NO_MEMORY;
> ??? ??? }
>
> Which I hope you can see, is saying that it cannot find the share
> record, this isn't an actual error.
>
> It has also been fixed in Samb...