summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_getinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-291-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-trans2: only include trans2.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* If possible (O_DIRECTORY exists) open an fd for a directory open.Jeremy Allison2011-02-081-1/+1
| | | | | | | | | | | Start of the move towards handle-based code for directory access. Currently makes fstat/fchown code work for directories rather than falling back to pathnames. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 8 06:34:41 CET 2011 on sn-devel-104
* We need to reply to SMB2_GETINFO_FILE with a class of ↵Jeremy Allison2011-01-281-1/+32
| | | | | | | | | | | | SMB2_FILE_STANDARD_INFO on an IPC$ share. Otherwise a Win7 client issues this request twice (2xroundtrips) if we return NOT_SUPPORTED. We do the same for SMB1 in call_trans2qpipeinfo() Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 28 22:53:18 CET 2011 on sn-devel-104
* Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison2011-01-251-2/+4
| | | | | | Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token.
* Add uint32_t name_hash argument (currently unused) to get_file_infos().Jeremy Allison2011-01-251-2/+2
| | | | Will be used when we store more than one delete on close token.
* s3:Fix a bogus uninitialized variable warningVolker Lendecke2010-07-051-1/+1
|
* (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from ↵Jeremy Allison2010-05-191-1/+1
| | | | | | | | | | | | 64-bit Vista client It turns out that the persistent handles are used by the Microsoft redirector to index files on oplock break requests. So even if we don't do durable handles (yet) we must set the persistent handle on create. For now just use the same handle value as we use for volatile. Jeremy.
* Update (C) for 2010.Jeremy Allison2010-04-281-0/+1
| | | | Jeremy.
* Plumb in get_nt_acl into SMB2.Jeremy Allison2010-04-261-6/+76
| | | | Jeremy.
* Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()Jeremy Allison2010-04-081-2/+0
| | | | | | | | | | | | Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo. It is not possible for this to be a DFS link. Remove the check_msdfs_link() call from call_trans2qfilepathinfo() - the call to filename_convert() above with a ucf_flags of zero *MUST* catch a DFS link and return NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking for msdfs links is redundent. Don't add this to 3.5.x, as it's an optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x. Jeremy.
* s3:smbd: implement SMB2 Cancel correctly.Stefan Metzmacher2009-08-171-5/+1
| | | | metze
* libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2009-08-121-1/+1
| | | | | | This will hold code that's shared between source3 and source4. metze
* s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher2009-08-081-4/+4
| | | | | | | This should avoid confusion between smbd_server_connection and connection_struct variables. metze
* Fix a few uninitialized variable warningsVolker Lendecke2009-07-241-1/+1
| | | | I know those warnings are bogus, but both Coverity and gcc don't get it.
* s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()Tim Prouty2009-07-221-10/+0
|
* s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-201-19/+10
|
* s3:smbd: implement SMB2 GetInfo with Fs*InformationStefan Metzmacher2009-07-151-0/+47
| | | | metze
* s3:smbd: return NT_STATUS_INVALID_INFO_CLASS in SMB2 GetInfoStefan Metzmacher2009-07-151-3/+7
| | | | metze
* s3:smbd: start SMB2 GetInfo support for File*Information levelsStefan Metzmacher2009-07-121-1/+139
| | | | | | TODO: the EA levels are not fully supported. metze
* s3:smbd: add marshalling layer for SMB2 GetInfo supportStefan Metzmacher2009-07-021-0/+258
metze