search for: dos_attr

Displaying 20 results from an estimated 22 matches for "dos_attr".

Did you mean: dos_attrs
2011 Jun 21
0
[jra@samba.org: Re: How do i get file attributes using samba.]
...com Cc: Jeremy Allison <jra at samba.org> Subject: Re: [Samba] How do i get file attributes using samba. User-Agent: Mutt/1.5.20 (2009-06-14) On Mon, Jun 20, 2011 at 09:23:25PM -0700, naga_kishore_kommuri at yahoo.com wrote: > Hi Allison, > Thanks for the reply. > Yes I tried system.dos_attr.mode. > But I think it will? give the following attributes only. Snippet from libsmbclient.h..... > .... > /* > ?* Mappings of the DOS mode bits, as returned by smbc_getxattr() when the > ?* attribute name "system.dos_attr.mode" (or "system.dos_attr.*" or > ?*...
2011 Jun 20
2
How do i get file attributes using samba.
Hi, I need to extract the following attributes of a file in Windows share using samba. /* FileAttributesField */ #define FILE_ATTRIBUTE_READONLY???????? 0x001L #define FILE_ATTRIBUTE_HIDDEN?????????? 0x002L #define FILE_ATTRIBUTE_SYSTEM?????????? 0x004L #define FILE_ATTRIBUTE_DIRECTORY??????? 0x010L #define FILE_ATTRIBUTE_ARCHIVE????????? 0x020L #define FILE_ATTRIBUTE_NORMAL?????????? 0x080L
2007 Oct 23
1
exporting an FUSE base file system to windows
...tcache.c:stat_cache_lookup(248) stat_cache_lookup: lookup succeeded for name [SRB_DATA] -> [srb_data] [2007/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] s...
2007 Dec 06
0
[POSIX ACLs] Only ACE rules from Samba Primary Group are applied.
...0 to (NT) 0 But when I try to create the file I get: New file New Text Document (2).txt unix_mode(New Text Document (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...
2004 Nov 09
2
AW: Permissions problem with 3.0.8
...h copied file a second time on itself (permissions of test file are -r-xrw----, user and group match) Maybe the attribute mapping goes another path with acl support? 3.0.7 works fine. Daniel [2004/11/09 17:02:02, 10] smbd/open.c:open_file_shared1(1038) open_file_shared: fname = bootfont.bin, dos_attrs = 27, share_mode = 41, ofun = 12, mode = 560, oplock request = 3 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283) dos_mode: bootfont.bin [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151) dos_mode_from_sbuf returning ra [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)...
2004 Nov 27
0
Samba 3.x problem setting up DFS and XP2
...9:18, 3] smbd/vfs.c:reduce_name(834) reduce_name [.] [/usr/local/samba/exports/dfsroot] ...... [2004/11/26 00:19:18, 5] smbd/files.c:file_new(122) allocated file structure 3158, fnum = 7254 (2 used) [2004/11/26 00:19:18, 10] smbd/open.c:open_file_shared1(1038) open_file_shared: fname = ., dos_attrs = 0, share_mode = 40, ofun = 1, mode = 644, oplock request = 3 [2004/11/26 00:19:18, 3] smbd/vfs.c:reduce_name(834) reduce_name [.] [/usr/local/samba/exports/dfsroot] [2004/11/26 00:19:18, 10] smbd/vfs.c:reduce_name(902) reduce_name realpath [.] -> [/usr/local/samba/exports/dfsroot] [200...
2005 Sep 13
1
Config problems with profiles?
...9/12 16:11:40, 3] smbd/dosmode.c:unix_mode(111) unix_mode(ntconfig.pol) returning 0744 [2005/09/12 16:11:40, 5] smbd/files.c:file_new(129) allocated file structure 9502, fnum = 13598 (1 used) [2005/09/12 16:11:40, 10] smbd/open.c:open_file_shared1(1047) open_file_shared: fname = ntconfig.pol, dos_attrs = 0, share_mode = 20, ofun = 1, mode = 744, oplock request = 3 [2005/09/12 16:11:40, 8] smbd/dosmode.c:dos_mode(283) dos_mode: ntconfig.pol [2005/09/12 16:11:40, 8] smbd/dosmode.c:dos_mode_from_sbuf(151) dos_mode_from_sbuf returning a [2005/09/12 16:11:40, 8] smbd/dosmode.c:dos_mode(315) do...
2005 Nov 14
0
Access denied with hide dot file AND map hidden enabled
...CT] -> [.project] [2005/11/14 13:08:21, 3, pid=25540, effective(2004, 1), real(0, 0)] smbd/dosmode.c:unix_mode(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(...
2005 Nov 23
0
Error copying dot-files to samba share
...CT] -> [.project] [2005/11/14 13:08:21, 3, pid=25540, effective(2004, 1), real(0, 0)] smbd/dosmode.c:unix_mode(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(...
2008 Aug 18
3
Samba 3.0.x access rights issue with secondary groups or Unix rights
...n (len 10) ? [2008/08/15 12:25:22, 5] smbd/filename.c:unix_convert(440) New file ntuser.man [2008/08/15 12: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] s...
2011 May 26
1
Confusion berween file and direcory
...5055, 5] smbd/files.c:119(file_new) allocated file structure 9247, fnum = 13343 (2 used) [2011/05/26 15:27:02.145101, 3] smbd/dosmode.c:166(unix_mode) unix_mode(test-dir) returning 0764 [2011/05/26 15:27:02.145145, 10] smbd/open.c:1533(open_file_ntcreate) open_file_ntcreate: fname=test-dir, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0764 oplock_request=8 [2011/05/26 15:27:02.145192, 3] smbd/vfs.c:881(check_reduced_name) check_reduced_name [test-dir] [/srv/samba/file-shares/testshare] [2011/05/26 15:27:02.145242, 10] smbd/vfs.c:968(...
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 ?
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
2005 Dec 01
3
Saving files with MS Word to samba3 server is very slow!
Hi! I'm currently hunting a strange problem and looking for help! I have a samba3 fileserver (currently samba-3.0.20b, but problem can be reproduced with samba-3.0.7, but _not_ with samba2 like 2.2.8a), and I see performance problems when writing files with MS word 2002 SP3 from a NT4.0 (SP6a) workstation. Saving even the smallest file takes more than 10 seconds! Copying files with Windows
2016 Jun 01
2
access denied with "hide dot files = Yes"
...unix_mode) unix_mode: unix_mode(LaserLightSection/TEST/.hg/.dirstate-3r6ocf) returning 0744 [2016/05/30 17:06:26.602679, 10, pid=21947, effective(10011, 10031), real(10011, 0)] ../source3/smbd/open.c:2479(open_file_ntcreate) open_file_ntcreate: fname=LaserLightSection/TEST/.hg/.dirstate-3r6ocf, dos_attrs=0x80 access_mask=0x12019f share_access=0x7 create_disposition = 0x5 create_options=0x40 unix mode=0744 oplock_request=2 private_flags = 0x0 [2016/05/30 17:06:26.602692, 8, pid=21947, effective(10011, 10031), real(10011, 0)] ../source3/smbd/dosmode.c:566(dos_mode) dos_mode: LaserLightSection/TES...
2006 Sep 19
1
Problem with large files
..._mode(111) unix_mode(s-comp/IFOM/PROVA/Caschetto.tib) returning 0664 [2006/09/19 10:29:41, 5] smbd/files.c:file_new(129) allocated file structure 3875, fnum = 7971 (1 used) [2006/09/19 10:29:41, 10] smbd/open.c:open_file_shared1(1047) open_file_shared: fname = s-comp/IFOM/PROVA/Caschetto.tib, dos_attrs = 80, share_mode = 8040, ofun = 1, mode = 664, oplock request = 3 [2006/09/19 10:29:41, 8] smbd/dosmode.c:dos_mode(283) dos_mode: s-comp/IFOM/PROVA/Caschetto.tib [2006/09/19 10:29:41, 8] smbd/dosmode.c:dos_mode_from_sbuf(151) dos_mode_from_sbuf returning [2006/09/19 10:29:41, 8] smbd/dosmode.c...
2006 Sep 27
1
Intermittent ACCESS DENIED
...ed_component spoolss (len 7) ? [2006/09/26 16:20:44, 5] smbd/filename.c:unix_convert(324) New file spoolss [2006/09/26 16:20:44, 3] smbd/dosmode.c:unix_mode(121) unix_mode(spoolss) returning 0664 [2006/09/26 16:20:44, 10] smbd/open.c:open_file_ntcreate(1236) open_file_ntcreate: fname=spoolss, dos_attrs=0x0 access_mask=0x2019f share_access=0x3 create_disposition = 0x1 create_options=0x400040 unix mode=0664 oplock_request=3 [2006/09/26 16:20:44, 5] smbd/open.c:open_file_ntcreate(1327) open_file_ntcreate: FILE_OPEN requested for file spoolss and file doesn't exist. [2006/09/26 16:20:44, 10] s...
2019 Apr 10
3
Unable to upload printer drivers.
...1218, effective(0, 0), real(0, 0)] ../source3/smbd/dosmode.c:206(unix_mode) unix_mode: unix_mode(x64/3/universalxp) returning 0744 [2019/04/10 15:27:07.157481, 10, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/open.c:3038(open_file_ntcreate) open_file_ntcreate: fname=x64/3/universalxp, dos_attrs=0x80 access_mask=0x120089 share_access=0x3 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0 [2019/04/10 15:27:07.157499, 5, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/open.c:3121(open_file_ntcreate) open_file_ntcreate: FILE_OPEN request...
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
2006 Sep 19
6
Problem logon to PDC
Hello, I have setup a cluster system with drbd and heartbeat. I have samba running as a PDC. Everything works great when I am on server1 But when failover ocuurs I cannot seem to log on the domain anymore. I Have symlinks to my home share : /var/cache/samba , /etc/samba/ who are synced between 2 servers. Do I have to sync another files ?? greets John