search for: file_attribute_directori

Displaying 13 results from an estimated 13 matches for "file_attribute_directori".

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
2004 Dec 14
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
I'm implementing this right now. BY_HANDLE_FILE_INFORMATION isn't the correct API, as Path doesn't have an open file handle handy. Nor does it need one. Reid Spencer wrote: >Henrik, > >modTime.fromWin32Time(ftLastWriteTime); > Note that you'll need write a "fromWin32Time" for the TimeValue > class to make the conversion of ftLastWriteTime to
2004 Dec 13
0
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
Henrik, modTime.fromWin32Time(ftLastWriteTime); Note that you'll need write a "fromWin32Time" for the TimeValue class to make the conversion of ftLastWriteTime to TimeValue's notion of normalized time. isDir = dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY; fileSize = nFileSizeLow + (nFileSizeHigh << sizeof(DWORD)*8); The mode, user, and group fields aren't
2004 Dec 14
0
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
Okay. Sounds good. Look forward to it. Reid On Mon, 2004-12-13 at 20:34, Jeff Cohen wrote: > I'm implementing this right now. BY_HANDLE_FILE_INFORMATION isn't the > correct API, as Path doesn't have an open file handle handy. Nor does > it need one. > > Reid Spencer wrote: > > >Henrik, > > > >modTime.fromWin32Time(ftLastWriteTime); > >
2004 Dec 13
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
Hi, Does any one have an idea which fields and how to the values correctly of the StatusInfo struct when dealing with the information returned in the BY_HANDLE_FILE_INFORMATION struct (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp) from windows instead of the unix stuff in getStatusInfo: --- (excerpt start) -------------
2020 Aug 24
0
smbclient mask command seems not to work the same way with recurse ON for mget and mput
On Mon, Aug 24, 2020 at 09:15:48PM +0200, LPC DPG via samba wrote: > Dear fellows. > > Another piece of information. The issue reprduces on RHEL 7.7, Samba 4.9.1 > > [root at vnhprerhds01 ~]# cat /etc/redhat-release > Red Hat Enterprise Linux Server release 7.7 (Maipo) > [root at vnhprerhds01 ~]# smbclient -V > Version 4.9.1 > > [root at vnhprerhds01 ~]# smbclient
2003 Apr 10
0
Bug in Samba v2.2.8a with Windows API GetFileAttributes ?
Before my company was bought out by another company, we were using Samba v1.9.3 and I'm pretty certain that the GetFileAttributes was working properly but I can't be absolutely sure. Since the move, we're using v2.2.5 and just recently upgraded to v2.2.8a on Solaris 2.7. I'm doing my testing on an XP machine. I'm seeing that GetFileAttributes is always returning 0 instead of
2016 Oct 26
0
[Announce] Samba 4.4.7 Available for Download
====================================================== "To attract men, I wear a perfume called 'New Car Interior'." Rita Rudner ====================================================== Release Announcements --------------------- This is the latest stable release of Samba 4.4. Major enhancements in Samba 4.4.7 include: o Let winbindd discard expired
2016 Oct 26
0
[Announce] Samba 4.4.7 Available for Download
====================================================== "To attract men, I wear a perfume called 'New Car Interior'." Rita Rudner ====================================================== Release Announcements --------------------- This is the latest stable release of Samba 4.4. Major enhancements in Samba 4.4.7 include: o Let winbindd discard expired
2020 Aug 24
2
smbclient mask command seems not to work the same way with recurse ON for mget and mput
Dear fellows. Another piece of information. The issue reprduces on RHEL 7.7, Samba 4.9.1 [root at vnhprerhds01 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.7 (Maipo) [root at vnhprerhds01 ~]# smbclient -V Version 4.9.1 [root at vnhprerhds01 ~]# smbclient -W "${d}" -U "${u}" "${s}" "${p}" Try "help" to get a list of
2016 Oct 26
0
[Announce] Samba 4.5.1 Available for Download
====================================================== "Yesterday's the past, tomorrow's the future, but today is a gift. That's why it's called the present." Bil Keane This release is dedicated to our friend Lars. We miss him, and our hearts are with his family. ====================================================== Release Announcements
2016 Oct 26
0
[Announce] Samba 4.5.1 Available for Download
====================================================== "Yesterday's the past, tomorrow's the future, but today is a gift. That's why it's called the present." Bil Keane This release is dedicated to our friend Lars. We miss him, and our hearts are with his family. ====================================================== Release Announcements
2020 Aug 24
2
smbclient mask command seems not to work the same way with recurse ON for mget and mput
Dear Jeremy. Really appreciate you took your time to answer. I had already reviewed source4/client/client.c looking for mput (cmd_mput) command, but unluckily saying that my C programming skills are poor woud be really overrating them. I'm sorry to disagree for two reasons 1-. It works for mget, true that the source code is completely different. 2-. If taking a look into smbclient man