search for: oplock_request

Displaying 20 results from an estimated 27 matches for "oplock_request".

Did you mean: lock_request
2013 Jan 24
0
64 Bit Build 3.6.11 on AIX 6 with acls enabled dumps core,
...ffd3e0, result = 0x0fffffffffffd3f0), line 2706 in "open.c" create_file_unixpath(conn = 0x0fffffffffffd590, req = 0x000000011014b680, smb_fname = 0x00000001005b8120, access_mask = 0, share_access = 268435455, create_disposition = 1, create_options = 150994944, file_attributes = 268435455, oplock_request = 0, allocation_size = 0, private_flags = 0, sd = (nil), ea_list = (nil), result = 0x0fffffffffffd548, pinfo = 0x0fffffffffffd540), line 3341 in "open.c" create_file_default(conn = (nil), req = (nil), root_dir_fid = 4095, smb_fname = 0x2844420800000020, access_mask = 1, share_access = 1,...
2011 Jan 27
1
samba acl restore error
...ed any more. I have enabled samba loglevel 10 . I see the problem is coming here. ---------- 2011/01/26 10:41:04, 10] smbd/open.c:2896(create_file_unixpath) create_file_unixpath: access_mask = 0x11e019f file_attributes = 0x80, share_access = 0x3, create_disposition = 0x1 create_options = 0x4004 oplock_request = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = Share2/file2.txt -------------- SEC_FLAG_SYSTEM_SECURITY is 0x01000000 /* We need to support SeSecurityPrivilege for this. */ if (access_mask & SEC_FLAG_SYSTEM_SECURITY) { status = NT_STATUS_PRIVILEGE_NOT_HELD;...
2023 Jan 24
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
..., not a lease, >again as per your prior explanations. As I wrote before, this LEASE() >appeared here (instead of LEASE(RH) etc) when I enabled kernel oplocks >(for this share anyway). What are the settings in your smb.conf ? The 4.17 code does (in source3/smbd/open.c): 2727 if (oplock_request == LEASE_OPLOCK) { 2728 if (lease == NULL) { 2729 /* 2730 * The SMB2 layer should have checked this 2731 */ 2732 return NT_STATUS_INTERNAL_ERROR; 2733 } 2734 2735...
2011 May 26
1
Confusion berween file and direcory
...10] modules/vfs_posixacl.c:108 (posixacl_sys_acl_set_file) acl_set_file failed: Operation not permitted [2011/05/26 15:27:02.144815, 10] smbd/open.c:3381(create_file_default) create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = test-dir [2011/05/26 15:27:02.144863, 3] smbd/vfs.c:881(check_reduced_name) check_reduced_name [test-dir] [/srv/samba/file-shares/testshare] [2011/05/26 15:27:02.144917, 10] smbd/vfs.c:968(check_reduced_name) check_reduced_nam...
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
...component): ?? ??? ??? ?is_mangled_component sub_dir (len 7) ? 1123(unix_convert): ?? ??? ? ??? ??? ?New file sub_dir 5625(create_file_default): ?? ??? ??? ?create_file_default: create_file: access_mask = 0x80 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x2 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = sub_dir 5075(create_file_unixpath): ?? ??? ?create_file_unixpath: create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x2 create_options = 0x1 oplock_request = 0x...
1999 Jul 02
1
preexec: return code not used? (PR#18576)
T.D.Lee@durham.ac.uk wrote: > > > But we'd like to go one step further and have the return code from preexec > be used to continue or abort the connection being established. The script > above would be modified to generate this return code. > > Looking through the source code (smbd/service.c), it doesn't seem to check > the return code (calling smbrun to do the
2010 Jul 07
5
Problem After Upgrade - NT_STATUS_FILE_IS_A_DIRECTORY
I'm running Samba 3.4.7 on Ubuntu 10.04. This is a recent upgrade and we've starting experience a sporadic problem after this upgrade. When users are browsing through Windows Explorer they sometimes run across folders that appear as unassociated files. This requires the user to click the 'Refresh' button in Windows Explorer to properly see the folders. The files and folders are
2019 Apr 10
3
Unable to upload printer drivers.
...Creating first directory: x64/3 [2019/04/10 15:27:07.145894, 10, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/open.c:5627(create_file_default) create_file_default: create_file: access_mask = 0x80 file_attributes = 0x10, share_access = 0x0, create_disposition = 0x2 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = x64/3 [2019/04/10 15:27:07.145913, 10, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/open.c:5077(create_file_unixpath) create_file_unixpath: create_file_unixpath: access_mask = 0x80 file_attributes = 0x10,...
2007 Oct 23
1
exporting an FUSE base file system to windows
...10/02 16:22:12, 3] smbd/dosmode.c:unix_mode(121) unix_mode(srb_data) returning 0744 [2007/10/02 16:22:12, 10] smbd/open.c:open_file_ntcreate(1091) open_file_ntcreate: fname=srb_data, dos_attrs=0x0 access_mask=0x20189 share_access=0x3 create_disposition = 0x1 create_options=0x40 unix mode=0744 oplock_request=3 [2007/10/02 16:22:12, 5] smbd/open.c:open_file_ntcreate(1178) open_file_ntcreate: FILE_OPEN requested for file srb_data and file doesn't exist. [2007/10/02 16:22:12, 10] smbd/trans2.c:set_bad_path_error(2623) set_bad_path_error: err = 2 bad_path = 0 [2007/10/02 16:22:12, 3] smbd/error.c:...
2007 Dec 06
0
[POSIX ACLs] Only ACE rules from Samba Primary Group are applied.
...ocument (2).txt) inheriting from . unix_mode(New Text Document (2).txt) inherit mode 42770 unix_mode(New Text Document.txt) returning 0760 open_file_ntcreate: fname=New Text Document.txt, dos_attrs=0x80 access_mask=0x2019f share_access=0x7 create_disposition = 0x2 create_options=0x40 unix mode=0760 oplock_request=3 open_file_ntcreate: fname=New Text Document.txt, after mapping access_mask=0x2019f allocated file structure 2723, fnum = 6819 (2 used) calling open_file with flags=0x2 flags2=0x80 mode=0777, access_mask = 0x2019f, open_access_mask = 0x2019f Permission denied opening New Text Document (2).txt If...
2011 Sep 28
3
Can't remember name of command to temporarily disable a share
I need to temporarily disable a share for a few days, I remember there was an entry I could add to the share definition to temporarily disable the share (I think it was disabled=true or enabled=false) but I can't remember what it was for sure, nor can I find it in the manual. what is it ?
2019 Apr 08
4
Unable to upload printer drivers
Hi, Am 25.03.2019 um 14:12 schrieb Marco Gaiarin via samba: > [...] > Some drivers there's no way to load (for example, some samsung MFP). > Some other load, but you have to do 2-5 try before they work. I did now try many different drivers from different vendors none of them worked thus I think there is something else wrong. I then did some more tests, trying to find anything being
2023 Nov 10
2
understanding stat cache
...tabase/AA/bb_bb_bb -> proj/someproj/sub/03_database/AA/bb_bb_bb [2023/11/07 14:24:01.004193, 10, pid=21305, effective(27606, 50753), real(27606, 0)] create_file_default: create_file: access_mask = 0x100080 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = proj/someproj/sub/03_database/AA/bb_bb_bb [2023/11/07 14:24:01.004205, 10, pid=21305, effective(27606, 50753), real(27606, 0)] create_file_unixpath: create_file_unixpath: access_mask = 0x100080 file_attributes = 0x...
2018 May 12
0
Fwd: [PATCH] Remove extra 0x in the %p formatting string
...I've noticed strange looking lines like: [2018/05/09 16:02:52.629315, 10, pid=907, effective(1001, 1001), real(0, 0)] ../source3/smbd/open.c:5543(create_file_default) create_file: access_mask = 0x100080 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x0x0, sd = 0x0x0, fname = . That 0x0x0 puzzled me and short investigation showed that in few places we use "0x%p" format string to represent buffer address in the debug logs. Man page for *printf says: p The void *...
2002 Mar 15
1
W2K and XP Offline files stopped working with 2.2.3a
Hi - It appears that Samba 2.2.3a broke Windows ability to use offline files from a Samba share. This used to work fine under 2.2.2. When a user syncs an offline folder, everything appears to work properly, but once disconnected, only a small portion of the files are visible in the offline folder, and the files are not accessible - they give strange error messages about files being read-only or
2002 Jun 07
0
smbd: Too many open files
...lose(255) reply_pipe_close: pnum:71e8 [2002/06/07 14:33:53, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(955) closed pipe name srvsvc pnum=71e8 (pipes_open=0) allocated file structure 909, fnum = 5005 (2 used) [2002/06/07 14:33:53, 5] smbd/open.c:open_mode_check(574) open_mode_check: oplock_request = 0, breaking oplock (3) on file O/a1/KO-I_X8-eh.dft, dev = 900, inode = 1556900 Current oplocks_open (exclusive = 1, levelII = 0) Current oplocks_open (exclusive = 1, levelII = 0) switch message SMBclose (pid 6617) [2002/06/07 14:33:53, 3] smbd/reply.c:reply_close(3019) close fd=24 fn...
2005 Nov 14
0
Access denied with hide dot file AND map hidden enabled
...e(121) unix_mode(.project) returning 0744 [2005/11/14 13:08:21, 10, pid=25540, effective(2004, 1), real(0, 0)] smbd/open.c:open_file_ntcreate(1236) open_file_ntcreate: fname=.project, dos_attrs=0x20 access_mask=0x30196 share_access=0x3 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 [2005/11/14 13:08:21, 8, pid=25540, effective(2004, 1), real(0, 0)] smbd/dosmode.c:dos_mode(294) dos_mode: .project [2005/11/14 13:08:21, 8, pid=25540, effective(2004, 1), real(0, 0)] smbd/dosmode.c:dos_mode_from_sbuf(162) dos_mode_from_sbuf returning a [2005/11/14 13:08:21, 8, pid=25540, eff...
2005 Nov 23
0
Error copying dot-files to samba share
...e(121) unix_mode(.project) returning 0744 [2005/11/14 13:08:21, 10, pid=25540, effective(2004, 1), real(0, 0)] smbd/open.c:open_file_ntcreate(1236) open_file_ntcreate: fname=.project, dos_attrs=0x20 access_mask=0x30196 share_access=0x3 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 [2005/11/14 13:08:21, 8, pid=25540, effective(2004, 1), real(0, 0)] smbd/dosmode.c:dos_mode(294) dos_mode: .project [2005/11/14 13:08:21, 8, pid=25540, effective(2004, 1), real(0, 0)] smbd/dosmode.c:dos_mode_from_sbuf(162) dos_mode_from_sbuf returning a [2005/11/14 13:08:21, 8, pid=25540, eff...
2002 Jun 12
0
Win2k oplocks and you
...rvericon.cdr] [2002/06/12 17:15:40, 10] locking/locking.c:get_share_modes(454) get_share_modes: share_mode_entry[0]: pid = 18911, share_mode = 0x40, port = 0x8e16, type= 0x3, file_id = 6, dev = 0x801, inode = 359229 [2002/06/12 17:15:40, 5] smbd/open.c:open_mode_check(495) open_mode_check: oplock_request = 3, breaking oplock (3) on file marketing/Slicks/Components/servericon.cdr, dev = 801, inode = 359229 [2002/06/12 17:15:40, 5] smbd/oplock.c:request_oplock_break(888) request_oplock_break: breaking our own oplock [2002/06/12 17:15:40, 3] smbd/oplock.c:initial_break_processing(491) initial...
2008 Aug 18
3
Samba 3.0.x access rights issue with secondary groups or Unix rights
...:25:22, 3] smbd/dosmode.c:unix_mode(142) unix_mode(jdoe/ntuser.man) returning 0700 [2008/08/15 12:25:22, 10] smbd/open.c:open_file_ntcreate(1184) open_file_ntcreate: fname=jdoe/ntuser.man, dos_attrs=0x0 access_mask=0x1 share_access=0x7 create_disposition = 0x1 create_options=0x140 unix mode=0700 oplock_request=3 [2008/08/15 12:25:22, 5] smbd/open.c:open_file_ntcreate(1264) open_file_ntcreate: FILE_OPEN requested for file jdoe/ntuser.man and file doesn't exist. [2008/08/15 12:25:22, 3] smbd/error.c:error_packet_set(106) error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NA...