[Samba] get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
rpenny at samba.org
Fri Nov 15 13:07:00 UTC 2019
On 15/11/2019 11:31, Markus Dellermann via samba wrote:
> Hi all,
> hope, its ok, to join here..
> Am Donnerstag, 14. November 2019, 14:34:29 CET schrieb Peter Eriksson via samba:
>> Upgraded to Samba 4.11.2 and I’ve now too started seeing the message:
>> get_share_mode_lock: get_static_share_mode_data failed:
>> A lot. I modified the source in source3/locking/share_mode_lock.c a bit in
>> order to print out the values of the service path, smb_fname &
>> old_write_time when it fails and it seems they are all NULL…
>> [2019/11/14 14:24:23.358441, 0]
>> servicepath=0x0, smb_fname=0x0, old_write_time=0x0
>> [2019/11/14 14:24:23.358965, 1]
>> get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
>> fresh_share_mode_lock() only get’s called from get_static_share_mode_data()
>> when dbwrap_record_getvalue(rec) returns a value.dptr == NULL.
>> I’m a bit unsure at the moment if this is a real problem is just an annoying
>> log entry that can be ignored…
>> - Peter
> It seems to be the same here since 4.11..:
There is a very good reason why these messages have started to appear
since 4.11.0, they didn't exist before that version ;-)
As to what the message means ?
I think it just means that a connection failed for some reason, such as
the share doesn't exist or the user doesn't have the required
permissions, but to be certain, perhaps the person who added the message
could clarify this.
More information about the samba