search for: file_free

Displaying 20 results from an estimated 82 matches for "file_free".

2023 Mar 15
2
Empty folder deletion issue - Samba 4.15 thru 4.18
...2, 0)] ../../source3/smbd/close.c:1134(rmdir_internals) rmdir_internals: couldn't remove directory wrk/anly/testfolder/New folder/New folder2 : Invalid argument [2023/03/15 10:59:21.285596, 5, pid=8606, effective(1617208032, 1617207642), real(1617208032, 0)] ../../source3/smbd/files.c:1814(file_free) file_free: freed files structure 0 (3 used) [2023/03/15 10:59:21.285611, 5, pid=8606, effective(1617208032, 1617207642), real(1617208032, 0)] ../../source3/smbd/close.c:1573(close_directory) close_directory: wrk/anly/testfolder/New folder/New folder2. Delete on close was set - deleting dir...
2016 Mar 09
0
mkdir-dup test flapping
...ure there was no race condition. */ > - if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { > - DEBUG(5,("open_directory: stat struct differs for " > - "directory %s.\n", > - smb_fname_str_dbg(smb_dname))); > - fd_close(fsp); > - file_free(req, fsp); > - return NT_STATUS_ACCESS_DENIED; > + if(!S_ISDIR(fsp->fsp_name->st.st_ex_mode)) { > + DEBUG(5,("open_directory: %s is not a directory !\n", > + smb_fname_str_dbg(smb_dname))); > + return NT_STATUS_NOT_A_DIRECTORY; > + } > + > + if (need_ls...
2024 Jun 06
1
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
...sh 0x3eac6da4 [2024/06/06 19:02:40.521608, 10, pid=1173240, effective(1000, 1000), real(1000, 0)] source3/smbd/open.c:930(fd_openat) fd_openat: name ., flags = 0400000 mode = 00, fd = 38 [2024/06/06 19:02:40.521669, 5, pid=1173240, effective(1000, 1000), real(1000, 0)] source3/smbd/files.c:1985(file_free) file_free: freed files structure 0 (9 used) [2024/06/06 19:02:40.521711, 10, pid=1173240, effective(1000, 1000), real(1000, 0)] source3/smbd/files.c:1172(openat_pathref_fsp_nosymlink) openat_pathref_fsp_nosymlink: SMB_VFS_OPENAT() failed: No such file or directory [2024/06/06 19:02:40.521781...
2012 Aug 08
2
samba is failing to save to samba share
...e apps and saving error. What have seen so far is this following error: [2012/08/08 14:24:00.595122, 5] smbd/open.c:1684(open_file_ntcreate) open_file_ntcreate: attributes missmatch for file 06. Informatique/test/480E.tmp (24 0) (0100770, 0760) [2012/08/08 14:24:00.595132, 5] smbd/files.c:497(file_free) freed files structure 4787 (0 used) [2012/08/08 14:24:00.595132, 3] smbd/error.c:80(error_packet_set) error packet at smbd/error.c(160) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED I've also attached the output of tertparm any help are welcome babatoko
2023 Mar 15
1
Empty folder deletion issue - Samba 4.15 thru 4.18
...dir_internals: couldn't remove directory wrk/anly/testfolder/New >>>folder/New folder2 : Invalid argument >>> >>>[2023/03/15 10:59:21.285596,? 5, pid=8606, effective(1617208032, >>>1617207642), real(1617208032, 0)] >>>../../source3/smbd/files.c:1814(file_free) >>> >>>?file_free: freed files structure 0 (3 used) >>> >>>[2023/03/15 10:59:21.285611,? 5, pid=8606, effective(1617208032, >>>1617207642), real(1617208032, 0)] >>>../../source3/smbd/close.c:1573(close_directory) >>> >>>?close...
2007 Jun 07
1
3.0.25a closing network drive connections?
...mentary groups [2007/06/07 10:54:46, 5] smbd/uid.c:change_to_root_user(288) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/07 10:54:46, 2] smbd/close.c:close_normal_file(399) josh closed file Downloads/SysInternals/psexec.exe (numopen=2) NT_STATUS_OK [2007/06/07 10:54:46, 5] smbd/files.c:file_free(451) freed files structure 11353 (2 used) [2007/06/07 10:54:46, 5] smbd/files.c:file_free(451) freed files structure 11191 (1 used) [2007/06/07 10:54:46, 5] smbd/files.c:file_free(451) freed files structure 11076 (0 used) [2007/06/07 10:54:46, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec...
2004 Jan 29
0
change_to_user: Invalid vuid - sporadically access denied
...lasses\ReportService mkdir classes\ReportService > copy Makefile.rm classes\ReportService\_ReportTemplateManagerStub.class > Access Denied > 0 Files copied. > > > Samba Logfile:(loglevel 9) > > > [2004/01/28 09:03:24, 5, effective(0, 0), real(0, 0)] > smbd/files.c:file_free(346) > freed files structure 12268 (3 used) > [2004/01/28 09:03:24, 2, effective(0, 0), real(0, 0)] > smbd/close.c:close_normal_file(229) > wa38039 closed file > vobs/as/src_as2.vbs/c/cdft/22/c/6800c6dfe44811d79bbd00105af6d150 (numopen=2) > [2004/01/28 09:03:24, 5, effective...
2016 Mar 03
2
Weird permissions problem
...check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb [2016/03/03 13:37:52.006029, 5] ../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor) release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb [2016/03/03 13:37:52.006089, 5] ../source3/smbd/files.c:554(file_free) freed files structure 3023466581 (4 used) [2016/03/03 13:37:52.006942, 4] ../source3/smbd/uid.c:384(change_to_user) Skipping user change - already user [2016/03/03 13:37:52.007015, 5] ../source3/smbd/filename.c:257(unix_convert) unix_convert called on file "" [2016/03/03 13:3...
2003 Oct 20
1
Office2K & file overwriting problems
...it should have worked, but it didn't. No idea why. I ran a log level 10 on this and found these entries: [2003/10/20 15:51:16, 5] smbd/open.c:open_file_shared1(877) open_file_shared: create new requested for file test/Book1.xls and file already exists. [2003/10/20 15:51:16, 5] smbd/files.c:file_free(385) freed files structure 9281 (1 used) [2003/10/20 15:51:16, 10] smbd/trans2.c:set_bad_path_error(1785) set_bad_path_error: err = 17 bad_path = 0 [2003/10/20 15:51:16, 3] smbd/error.c:error_packet(94) error string = File exists [2003/10/20 15:51:16, 3] smbd/error.c:error_packet(113) error...
2012 Feb 24
2
STATUS_ACCESS_DENIED with NTCreateAndX if Access Mask has System Security bit set
...ess mask[0x101F01FF] orig[0x01020080] mapped[0x01020080] reject[0x01000000] [2012/02/23 12:35:24.191049, 10] smbd/open.c:1761(open_file_ntcreate) open_file_ntcreate: smbd_calculate_access_mask on file Administrator returned NT_STATUS_ACCESS_DENIED [2012/02/23 12:35:24.191107, 5] smbd/files.c:464(file_free) freed files structure 9877 (0 used) [2012/02/23 12:35:24.191162, 10] smbd/open.c:3420(create_file_unixpath) create_file_unixpath: NT_STATUS_ACCESS_DENIED [2012/02/23 12:35:24.191216, 10] smbd/open.c:3700(create_file_default) create_file: NT_STATUS_ACCESS_DENIED Other things I've tried:...
2016 Mar 09
4
mkdir-dup test flapping
We looked at this some more, and Andrew seemed to understand and wrote the attached patch. > > We got the logs by forcing smbd to run with -d10 by patching > file_server/fileserver.c. The issue appears to be in this call: 3638 /* Ensure there was no race condition. */ 3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { 3640
2004 Oct 15
1
Directory Name '.../pipe' not allowed ? Samba Bug ?
...henablage/Jaeger/pipe/projects.INF, flags = 00 mode = 0777, fd = -1. No such file or directory [2004/10/15 10:24:52, 3] smbd/open.c:open_file(177) Error opening file Zwischenablage/Jaeger/pipe/projects.INF (No such file or directory) (local_flags=0) (flags=0) [2004/10/15 10:24:52, 5] smbd/files.c:file_free(346) freed files structure 13643 (2 used) [2004/10/15 10:24:52, 3] smbd/error.c:error_packet(94) error string = No such file or directory [2004/10/15 10:24:52, 3] smbd/error.c:error_packet(113) error packet at smbd/nttrans.c(889) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND ******...
2016 Mar 09
0
Weird permissions problem
...1 for /var/lib/samba/lock/smbXsrv_open_global.tdb > [2016/03/03 13:37:52.006029, 5] > ../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor) > release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb > [2016/03/03 13:37:52.006089, 5] ../source3/smbd/files.c:554(file_free) > freed files structure 3023466581 (4 used) > [2016/03/03 13:37:52.006942, 4] > ../source3/smbd/uid.c:384(change_to_user) > Skipping user change - already user > [2016/03/03 13:37:52.007015, 5] > ../source3/smbd/filename.c:257(unix_convert) > unix_convert called on f...
2016 Mar 03
2
Weird permissions problem
Hello, I'm having a permissions problem I just can't quite figure out. I can not access any directory that is owned by my userid if the permissions are 700. If I change them to 770, with my default group on the directory, then I can access the directory. This was working fine with Fedora 19 for several years, and it broke when I upgraded to Fedora 22, and still broken with F23. my
2009 Dec 23
2
Can't create file.
...0 00:57:35, 4] smbd/open.c:open_file_ntcreate(1605) calling open_file with flags=0x2 flags2=0x80 mode=0744, access_mask = 0x2019f, open_access_mask = 0x2019f [2009/12/20 00:57:35, 3] smbd/open.c:open_file(237) Permission denied opening New Text Document.txt [2009/12/20 00:57:35, 5] smbd/files.c:file_free(454) freed files structure 13418 (0 used) [2009/12/20 00:57:35, 3] smbd/error.c:error_packet_set(106) error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED other than the mode of the directory, what would cause this to return access_denied?
2009 Feb 16
2
A beautiful panic action
...bin/smbd(log_stack_trace+0x1a) [0x2af325cab6a0] #1 /usr/local/sbin/smbd(smb_panic+0x5b) [0x2af325cab7b0] #2 /usr/local/sbin/smbd [0x2af325c980da] #3 /lib64/libpthread.so.0 [0x2af327b4de70] #4 /usr/local/sbin/smbd(destroy_fake_file_handle+0x1e) [0x2af325b355a1] #5 /usr/local/sbin/smbd(file_free+0x7d) [0x2af325ac6832] #6 /usr/local/sbin/smbd(close_fake_file+0x9) [0x2af325b35579] #7 /usr/local/sbin/smbd(close_file+0x32e) [0x2af325b1901a] #8 /usr/local/sbin/smbd [0x2af325cd4dcd] #9 /usr/local/sbin/smbd(move_driver_to_download_area+0xa21) [0x2af325cd7728] #10 /usr/local/sbin/s...
2009 Feb 02
1
Large file problem with version 3.0.34
...tcreate(1605) calling open_file with flags=0x0 flags2=0x0 mode=0766, access_mask = 0x20089, open_access_mask = 0x20089 [2009/02/02 09:40:15, 3] smbd/open.c:open_file(301) Error opening file PATH/FILE.zip (NT_STATUS_ACCESS_DENIED) (local_flags=0) (flags=0) [2009/02/02 09:40:15, 5] smbd/files.c:file_free(456) freed files structure 4286 (1 used) [2009/02/02 09:40:15, 3] smbd/error.c:error_packet_set(106) error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED [2009/02/02 09:40:15, 5] lib/util.c:show_msg(484) [2009/02/02 09:40:15, 5] lib/util.c:show_msg(494) But the u...
2005 Jul 16
1
Shares all empty after upgrade to 3.0.14a-fc4
...ch sid from uid cache 501 -> > S-1-5-21-*********-*********-*********-2002 > [2005/07/16 00:57:12, 3] > passdb/lookup_sid.c:fetch_sid_from_gid_cache(233) > fetch sid from gid cache 100 -> > S-1-5-21-*********-*********-*********-1201 > [2005/07/16 00:57:12, 5] smbd/files.c:file_free(439) > freed files structure 8593 (0 used) > [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(251) > [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(252) > se_access_check: user sid is > S-1-5-21-*********-*********-*********-2002 > se_access_check:...
2005 Sep 13
2
Problems installing printer driver
...ge "Access Denied". The (reproducible) problem is a file which is tried to be copied to W32X86/: [2005/09/07 13:12:28, 5] smbd/open.c:open_file_shared1(1148) open_file_shared: read/write access requested for file W32X86/SET12.tmp on read only file [2005/09/07 13:12:28, 5] smbd/files.c:file_free(439) freed files structure 9190 (0 used) [2005/09/07 13:12:28, 10] smbd/trans2.c:set_bad_path_error(2191) set_bad_path_error: err = 13 bad_path = 0 [2005/09/07 13:12:28, 3] smbd/error.c:error_packet(105) error string = Permission denied [2005/09/07 13:12:28, 3] smbd/error.c:error_packet(129)...
2003 Jun 04
1
DOS programs unable to create files on Samba 2.2.7a
...fd_open: name dwg/TANGO/950124/950124PX.INI, flags = 01 mode = 0764, fd = -1. No such file or directory [2003/06/04 16:36:17, 3] smbd/open.c:open_file(176) Error opening file dwg/TANGO/950124/950124PX.INI (Operation not supported) (local_flags=1) (flags=1) [2003/06/04 16:36:17, 5] smbd/files.c:file_free(346) freed files structure 5834 (0 used) [2003/06/04 16:36:17, 3] smbd/error.c:error_packet(94) error string = Operation not supported [2003/06/04 16:36:17, 3] smbd/error.c:error_packet(113) error packet at smbd/nttrans.c(889) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED [2003/06/04 16:...