search for: file_attribute

Displaying 20 results from an estimated 52 matches for "file_attribute".

Did you mean: file_attributes
2013 Jan 24
0
64 Bit Build 3.6.11 on AIX 6 with acls enabled dumps core,
...0000011015c290, access_mask = 16777216, access_granted = 0x0010008000100080), line 115 in "open.c" open_directory(conn = 0x0000000110155aa0, req = 0x000000011015c140, smb_dname = 0x000000011015c290, access_mask = 1048704, share_access = 0, create_disposition = 1, create_options = 8388609, file_attributes = 16, pinfo = 0x0fffffffffffd3e0, 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, f...
2011 Jan 27
1
samba acl restore error
...their security settings. The restore is now broken because security settings cannot be restored 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 &...
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
..._dir (len 7) ? 418(is_mangled): ?? ??? ? ??? ??? ??? ?is_mangled sub_dir ? 357(is_mangled_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 = 0...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...16:49.000000000 -0500 +++ samba/source/smbd/nttrans.c 2007-01-30 15:00:45.000000000 -0600 @@ -664,7 +664,7 @@ if (lp_acl_check_permissions(SNUM(conn)) && (share_access & FILE_SHARE_DELETE) && (access_mask & DELETE_ACCESS)) { #endif - status = can_delete(conn, fname, file_attributes, bad_path, True); + status = can_delete(conn, fname, file_attributes, bad_path, True, False); /* We're only going to fail here if it's access denied, as that's the only error we care about for "can we delete this ?" questions. */ if (!NT_STATUS_IS_OK(status) &amp...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...16:49.000000000 -0500 +++ samba/source/smbd/nttrans.c 2007-01-30 15:00:45.000000000 -0600 @@ -664,7 +664,7 @@ if (lp_acl_check_permissions(SNUM(conn)) && (share_access & FILE_SHARE_DELETE) && (access_mask & DELETE_ACCESS)) { #endif - status = can_delete(conn, fname, file_attributes, bad_path, True); + status = can_delete(conn, fname, file_attributes, bad_path, True, False); /* We're only going to fail here if it's access denied, as that's the only error we care about for "can we delete this ?" questions. */ if (!NT_STATUS_IS_OK(status) &amp...
2018 Jun 14
2
No write access on new shares until smbd is restarted
...name) check_reduced_name: New folder reduced to /data/fs/2430-ram/New folder [2018/06/14 16:04:29.229465, 5] ../source3/smbd/open.c:3945(open_directory) open_directory: opening directory New folder, access_mask = 0x100081, share_access = 0x3 create_options = 0x200001, create_disposition = 0x2, file_attributes = 0x90 [2018/06/14 16:04:29.229488, 5] ../source3/smbd/dosmode.c:206(unix_mode) unix_mode: unix_mode(New folder) returning 0775 [2018/06/14 16:04:29.229560, 5] ../source3/smbd/open.c:319(check_parent_access) check_parent_access: access check on directory . for path New folder for mask 0x4 re...
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.
...e(0, 0), real(0, 0)] ../source3/printing/nt_printing.c:1569(move_driver_to_download_area) 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...
2023 Mar 28
1
windows acls
...s_mask = 0x20080 >>> [2023/03/28 10:37:19.643680,? 5] >>> ../../source3/smbd/open.c:4427(open_directory) >>> ?? open_directory: opening directory ., access_mask = 0x20080, >>> share_access = 0x7 create_options = 0x200000, create_disposition = >>> 0x1, file_attributes = 0x10 >> >> I am running out of ideas, is a firewall blocking something ? >> Have you tried logging into Windows as Administrator ? >> >> Rowland >> >> > ok, I got something to work and found some differences.? I added a new > share, created a new...
2007 Oct 23
1
exporting an FUSE base file system to windows
...essage(993) switch message SMBntcreateX (pid 3791) conn 0x8f998a8 [2007/10/02 16:22:12, 4] smbd/uid.c:change_to_user(222) change_to_user: Skipping user change - already user [2007/10/02 16:22:12, 10] smbd/nttrans.c:reply_ntcreate_and_X(506) reply_ntcreateX: flags = 0x16, access_mask = 0x20189 file_attributes = 0x0, share_access = 0x3, create_disposition = 0x1 create_options = 0x40 root_dir_fid = 0x0 [2007/10/02 16:22:12, 5] smbd/filename.c:unix_convert(108) unix_convert called on file "srb_data" [2007/10/02 16:22:12, 10] smbd/statcache.c:stat_cache_lookup(248) stat_cache_lookup: lookup...
2011 May 26
1
Confusion berween file and direcory
...sixacl_sys_acl_set_file) Calling acl_set_file: test-dir, 0 [2011/05/26 15:27:02.144762, 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/testshar...
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 ?
2008 Apr 29
1
NT_STATUS_OBJECT_NAME_NOT_FOUND when print client tries to write to \epmapper named pipe
...switch message SMBntcreateX (pid 16016) conn 0x555555c09660 [2008/04/29 02:30:04, 4] smbd/uid.c:change_to_user(183) change_to_user: Skipping user change - already user [2008/04/29 02:30:04, 10] smbd/nttrans.c:reply_ntcreate_and_X(515) reply_ntcreate_and_X: flags = 0x16, access_mask = 0x2019f file_attributes = 0x0, share_access = 0x3, create_disposition = 0x1 create_options = 0x40 root_dir_fid = 0x0 [2008/04/29 02:30:04, 4] smbd/nttrans.c:nt_open_pipe(328) nt_open_pipe: Opening pipe \epmapper. [2008/04/29 02:30:04, 3] smbd/error.c:error_packet_set(106) error packet at smbd/nttrans.c(343) cmd=162...
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
...27606, 50753), real(27606, 0)] conversion of base_name finished proj/someproj/sub/03_database/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)]...
2017 Dec 06
0
Does Samba 4.3.11 support for opening file with “APPEND” mode?
...quot; operation should not fail. I try to access the file with Win32API CreateFile in append mode, unfortunately I get code error 5(stands for "Access is Denied"). The API CreateFile is called as CreateFile("append.txt", FILE_APPEND_DATA, FILE_SHARED_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE | FILE_FLAG_POSIX_SEMANTICS, NULL). When I look into Samba source code, in function smbd_smb2_create_send, the FILE_FLAG_POSIX_SEMANTICS is removed from in_file_attributes. In function calculate_open_access_flags, FILE_APPEND_DATA is just treated as FILE_WRITE_DATA. So I wonder, samba server mayb...
2018 May 12
0
Fwd: [PATCH] Remove extra 0x in the %p formatting string
...a-technical at lists.samba.org> Hi all! While analyzing debug logs of our customer, 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...
2018 Jun 14
0
No write access on new shares until smbd is restarted
...name: New folder reduced to /data/fs/2430-ram/New > folder [2018/06/14 16:04:29.229465, > 5] ../source3/smbd/open.c:3945(open_directory) open_directory: > opening directory New folder, access_mask = 0x100081, share_access = > 0x3 create_options = 0x200001, create_disposition = 0x2, > file_attributes = 0x90 [2018/06/14 16:04:29.229488, > 5] ../source3/smbd/dosmode.c:206(unix_mode) unix_mode: unix_mode(New > folder) returning 0775 [2018/06/14 16:04:29.229560, 5] > ../source3/smbd/open.c:319(check_parent_access) > check_parent_access: access check on directory . for path New >...
2004 Jul 23
0
Access Denied on Error 0 - 3.0.4
...he attemp is made to browse the 3.0.4 share they get Access Denied (they are an admin user on the share) Explorer and My computer do not exhibit this. Log level 10 shows: [2004/07/23 09:19:52, 10] smbd/nttrans.c:reply_ntcreate_and_X(609) reply_ntcreateX: flags = 0x10, desired_access = 0x100001 file_attributes = 0x0 , share_access = 0x3, create_disposition = 0x1 create_options = 0x4001 root_dir_ fid = 0x0 [2004/07/23 09:19:52, 10] smbd/nttrans.c:map_create_disposition(343) map_create_disposition: Mapped create_disposition 0x1 to 0x1 [2004/07/23 09:19:52, 10] smbd/nttrans.c:map_share_mode(482) map_sh...
2004 Oct 20
0
Access Denied to shares in Lotus Notes and Outlook
....c:switch_message(685) switch message SMBntcreateX (pid 5297) [2004/10/20 12:41:07, 4] smbd/uid.c:change_to_user(186) change_to_user: Skipping user change - already user [2004/10/20 12:41:07, 10] smbd/nttrans.c:reply_ntcreate_and_X(609) reply_ntcreateX: flags = 0x10, desired_access = 0x100001 file_attributes = 0x0, share_access = 0x3, create_disposition = 0x1 create_options = 0x4001 root_dir_fid = 0x0 [2004/10/20 12:41:07, 10] smbd/nttrans.c:map_create_disposition(343) map_create_disposition: Mapped create_disposition 0x1 to 0x1 [2004/10/20 12:41:07, 10] smbd/nttrans.c:map_share_mode(482) map_shar...