[Samba] get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
Peter Eriksson
pen at lysator.liu.se
Thu Nov 14 13:34:29 UTC 2019
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: NT_STATUS_NO_MEMORY
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] ../../source3/locking/share_mode_lock.c:457(fresh_share_mode_lock)
servicepath=0x0, smb_fname=0x0, old_write_time=0x0
[2019/11/14 14:24:23.358965, 1] ../../source3/locking/share_mode_lock.c:598(get_share_mode_lock)
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
More information about the samba
mailing list