Displaying 13 results from an estimated 13 matches for "servicepath".
Did you mean:
devicepath
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
...s in the logs.
There wouldn't be, it isn't an error ;-)
If you look at '/source3/locking/share_mode_lock.c' 'get_share_mode_lock'
The relevant part is this:
??? ??? status = get_static_share_mode_data(
??? ??? ??? static_share_mode_record,
??? ??? ??? id,
??? ??? ??? servicepath,
??? ??? ??? smb_fname,
??? ??? ??? old_write_time);
??? ??? if (!NT_STATUS_IS_OK(status)) {
??? ??? ??? DBG_WARNING("get_static_share_mode_data failed: %s\n",
??? ??? ??? ??? ??? nt_errstr(status));
??? ??? ??? goto fail;
??? ??? }
It calls 'get_static_share_mode_data' an...
2019 Nov 29
0
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
...an error ;-)
>
> If you look at '/source3/locking/share_mode_lock.c'
> 'get_share_mode_lock'
>
> The relevant part is this:
>
> ??? ??? status = get_static_share_mode_data(
> ??? ??? ??? static_share_mode_record,
> ??? ??? ??? id,
> ??? ??? ??? servicepath,
> ??? ??? ??? smb_fname,
> ??? ??? ??? old_write_time);
> ??? ??? if (!NT_STATUS_IS_OK(status)) {
> ??? ??? ??? DBG_WARNING("get_static_share_mode_data failed: %s\n",
> ??? ??? ??? ??? ??? nt_errstr(status));
> ??? ??? ??? goto fail;
> ??? ??? }
>
> It...
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
...cture fnum 3330821925 (1 used): ?? ??? ?
747(file_name_hash): ?? ??? ? ??? ??? ?file_name_hash: /top1/share/sub_dir
hash 0xe1a55ab3
4213(open_directory): ?? ??? ? ??? ??? ?Not opening Directory sub_dir
130(dbwrap_lock_order_lock): ?? ??? ?bwrap_lock_order_lock: check lock
order 1 for locking.tdb
--
servicepath:?? ??? ??? ??? ??? ??? ?'/top1/share'
base_name:?? ??? ??? ??? ??? ??? ??? ?*
base_name:?? ??? ??? ??? ??? ??? ??? ?'sub_dir'
stream_name:?? ??? ??? ??? ??? ??? ?NULL
num_share_modes ? ? ? ? ?? ??? ??? ?0x00000001 (1): ?? ??? ?
extid:?? ??? ??? ??? ??? ??? ??? ??? ?0x000000000000000...
2019 Nov 14
6
get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
...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 d...
2006 May 29
0
smbd hanging at BDC
...pinlock.c:388
#5 0x0036e7b0 in tdb_lock (tdb=0x91ebc70, list=1003, ltype=1) at
tdb/tdb.c:302
#6 0x003725c3 in tdb_chainlock (tdb=0x91ebc70, key=
{dptr = 0x49e6a0 "\022\b", dsize = 16}) at tdb/tdb.c:2030
#7 0x002fb867 in get_share_mode_lock (mem_ctx=0x0, dev=2066, ino=7884964,
servicepath=0x91e8aa0 "/data/Server",
fname=0x9204bb0 "FINALQC/HEMANTH QC/Sub Assy Codes")
at locking/locking.c:619
#8 0x001d98a8 in open_directory (conn=0x91f5a20,
fname=0x9204bb0 "FINALQC/HEMANTH QC/Sub Assy Codes", psbuf=0xbfebcf90,
access_mask=131072, share_ac...
2019 Nov 03
1
[smbd] get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
...d help. If
talloc actually fails then it would say "talloc failed" in
fresh_share_mode_lock().
Can you check that for me?
Assuming it doesn't say that, then the conditions for returning
N_STATUS_NO_MEMORY from fresh_share_mode_lock() and
so get_static_share_mode_data() are:
if ((servicepath == NULL) || (smb_fname == NULL) ||
(old_write_time == NULL)) {
return NULL;
}
None of these are memory related, confusingly.
The full smb.conf Rowland asked for might help.
Otherwise, if you are confident and if you have self-compiled this then
if you can patch in a smb_panic() rather t...
2019 Nov 14
0
get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
...ng/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 fro...
2019 Nov 15
0
get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
...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_sta...
2018 Oct 16
2
high cpu load with share_conflict on browsing and opening files
...e_lock.c:368(unparse_share_modes)
unparse_share_modes:
[2018/10/12 12:05:09.533316, 1, pid=3350, effective(1017, 1003), real(1017,
0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
d: struct share_mode_data
sequence_number : 0x0fd86cb424e915bc
(1141782026507589052)
servicepath : *
servicepath : '/home/quality'
base_name : *
base_name : '.'
stream_name : NULL
num_share_modes : 0x00000004 (4)
share_modes: ARRAY(4)...
2006 Apr 03
0
Samba Process Getting Hanged
...w_type=1) at
tdb/spinlock.c:388
#5 0x00a77918 in tdb_lock (tdb=0x9779a38, list=979, ltype=1) at
tdb/tdb.c:302
#6 0x00a7b72b in tdb_chainlock (tdb=0x9779a38, key={dptr = 0xba3600 "1\b",
dsize = 16})
at tdb/tdb.c:2030
#7 0x00a0507b in get_share_mode_lock (mem_ctx=0x0, dev=2097, ino=8356202,
servicepath=0x0,
fname=0x0) at locking/locking.c:619
#8 0x00a05334 in get_delete_on_close_flag (dev=2097, inode=8356202,
fname=0xbfe1cd50 "STEPMOT/cd_down_load/memorey") at locking/locking.c:665
#9 0x008d4fc6 in call_trans2qfilepathinfo (conn=0x9783c80, inbuf=0xb7d66008
"",
outbuf=0xb7d4500...
2019 Nov 14
1
get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
...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_l...
2019 Nov 02
7
suddenly change: idmap uid + gid
Hi
The server suddenly changed the uid + gid. this happened to times,
yesterday and the week after. The default group at example
The samba is a AD member where we have many users (>20 000) and we use
autorid in that way
[global]
security = ads
workgroup = CUSTOMER
realm = CUSTOMER.COM
winbind use default domain = yes
winbind enum users = yes
winbind enum group = yes