summaryrefslogtreecommitdiffstats
path: root/source/smbd/vfs-wrap.c
Commit message (Collapse)AuthorAgeFilesLines
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-1104/+0
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r15450: Change profiling data macros to use stack variables rather thanJames Peach2007-10-101-1/+1
| | | | | globals. This catches mismatched start/end calls and removes the need for special nested profiling calls.
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-101-1/+11
| | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy.
* r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.Jeremy Allison2007-10-101-0/+5
| | | | Jeremy.
* r11190: Fix enhancement request #3192.Jeremy Allison2007-10-101-1/+1
| | | | | | | | This does 2 things. 1). Makes dfree command a per-share parameter (it should be anyway IMHO). 2). Adds a "dfree cache time" parameter in seconds that specifies how long a dfree command output should be cached for. Default is zero (no caching). Jeremy.
* r10186: More 64-bit warning fixes.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2007-10-101-7/+7
| | | | | | | UNIX vendor not understanding abstract data types :-(. Jeremy.
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2007-10-101-3/+3
| | | | | | | | | tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy.
* r7963: Add aio support to 3.0.Jeremy Allison2007-10-101-0/+35
| | | | Jeremy.
* r7893: Add in the extra parameters to opendir() to fix the large ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | directory/insane app problem. Rev vfs version. Doesn't change the normal codepath. Jeremy.
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-3/+3
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r3670: Warning fixes from Rob Foehl <rwf@loonybin.net>.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have toJeremy Allison2007-10-101-4/+27
| | | | | | fix the modules too... First step in fixing out large directories problem. Jeremy.
* Merge from HEAD.Tim Potter2004-03-071-0/+4
|
* Patch based on work from James Peach <jpeach@sgi.com> to convert over toJeremy Allison2004-01-061-120/+200
| | | | | | using pread/pwrite. Modified a little to ensure fsp->pos is correct. Fix for #889. Jeremy.
* Fix for rename across filesystems. Noticed by Rainer Link ↵Jeremy Allison2003-11-211-5/+95
| | | | | | <link@foo.fh-furtwangen.de>. Jeremy.
* Shadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adaptedJeremy Allison2003-08-071-30/+36
| | | | | into a patch by "Stefan (metze) Metzmacher" <metze@metzemix.de>. Jeremy.
* Added EA operations to VFS layer.Jeremy Allison2003-06-061-0/+64
| | | | Jeremy.
* Change get_nt_acl() to include security_info wanted. Only return this.Jeremy Allison2003-05-291-4/+4
| | | | | | | This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). Jeremy.
* Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy2003-05-141-2/+12
| | | | Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
* Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy2003-05-141-13/+13
| | | | VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out
* Fix obvious compiler warnings.Jeremy Allison2003-05-121-1/+0
| | | | Jeremy.
* Eliminate NULL pointers from VFS interface. All hooks now really callable, ↵Alexander Bokovoy2003-05-121-6/+14
| | | | producing either correct result or returning error if the feature isn't supported in the configuration
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-121-6/+14
| | | | | | | 1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow
* Fix VFS layer:Alexander Bokovoy2003-05-111-83/+93
| | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow
* Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison2003-05-071-5/+16
| | | | Jeremy.
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-0/+15
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-2/+2
|
* Remove the "stat open" code - make it inline. This should fix theJeremy Allison2002-03-201-2/+4
| | | | | | | | bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy.
* Sync up vfs changes from 2.2.x.Jeremy Allison2002-03-191-156/+10
| | | | Jeremy.
* Added POSIX ACL layer into the vfs.Jeremy Allison2002-03-121-3/+113
| | | | Jeremy.
* Implemented default ACL patch (set inherit acls = true on a per share basis).Jeremy Allison2002-03-111-7/+11
| | | | | | Based on code donated by Olaf Fr±czyk <olaf@cbk.poznan.pl>. Further commit will change to sending via vfs interface. Jeremy.
* Fix lseek-on-pipe problem in VFS (where it belongs IMHO).Jeremy Allison2002-03-021-5/+18
| | | | Jeremy.
* Fixed usage of uninitialised variable in strict_allocate_ftruncate()Tim Potter2002-02-271-1/+3
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Fix "strict allocate" to write the data out on ftruncate with extend.Jeremy Allison2002-01-291-8/+70
| | | | Jeremy.
* Getting ready to add UNIX extensions in HEAD also.Jeremy Allison2002-01-101-0/+30
| | | | Jeremy
* merge profile data changes from 2.2Herb Lewis2001-09-051-6/+36
|
* Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison2001-09-041-2/+2
| | | | Jeremy.
* this fixes the failure of MS office on VFAT partitions on LinuxAndrew Tridgell2001-07-051-30/+29
| | | | | | | | The problem is that ftruncate can't expand on VFAT, but it can on ext2. That means our autoconf test is useless. I have recoded it to use the alternative to ftruncate when then sys_ftruncate fails. Jeremy, do you want this for 2.2.1?
* The big character set handling changeover!Andrew Tridgell2001-07-041-18/+18
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2001-06-291-0/+32
| | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy.
* configure:Jeremy Allison2001-04-141-1/+40
| | | | | | | | | | | | | | | | | | | | | | configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Also - in removing the tmpdir param in smbrun an extra NULL parameter was missed in each print_run_command() call (which is a varargs fn.). Now fixed. Jeremy.
* smbd/posix_acls.c: Saving and restoring errno here is the wrong place. Moved itJeremy Allison2001-03-261-1/+7
| | | | | to the places where [f]chmod_acl is called instead. Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-111-3/+0
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* include/vfs.h:Jeremy Allison2001-01-231-0/+38
| | | | | | | | | | | | | smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod_acl and chmod_acl. lib/substitute.c: smbd/lanman.c: smbd/open.c: smbd/process.c: smbd/reply.c: smbd/service.c: Removed sessetup_user variable. Added current_user_info struct which conatins domain info etc. Added '%D' for client domain parameter. Jeremy.
* Fixed compiler warning.Jeremy Allison2000-12-081-2/+2
| | | | Jeremy.
* Added OLD_NTDOMAIN to remove warnings about undefined functions.Jeremy Allison2000-12-081-0/+2
| | | | Jeremy.
* Fixed compiler warning.Tim Potter2000-12-061-2/+2
|
* Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-161-4/+64
| | | | | | | | | a byte range lock (write lock only, but Win2k breaks on read lock also so I do the same) - if you think about why, this is obvious. Also fixed our client code to do level II oplocks, if requested, and fixed the code where we would assume the client wanted level II if it advertised itself as being level II capable - it may not want that. Jeremy.