summaryrefslogtreecommitdiffstats
path: root/source/smbd/vfs.c
Commit message (Collapse)AuthorAgeFilesLines
* Add staticJelmer Vernooij2003-04-021-1/+1
|
* Fix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. ↵Alexander Bokovoy2003-03-311-3/+5
| | | | Based on patch from Metze
* - Support absolute paths in vfs and charset modulesJelmer Vernooij2003-03-311-11/+18
| | | | | | | - Fix typo in Makefile.in - Fix compatibility with older vfs modules (from patch by metze) - Build some modules shared by default and some static (and fall back to static when dlopen() is not available)
* Success is not a level-0 issue...Andrew Bartlett2003-03-311-1/+1
| | | | Andrew Bartlett
* Allow the new modules system to function with builtin vfs modules.Andrew Bartlett2003-03-281-1/+1
| | | | | | | | If we don't have a vfs path set, just pass the original file name. In future, we need to seperate the default path as a seperate paramater. Andrew Bartlett
* Put backwards compatibility support for old modules in a seperate functionJelmer Vernooij2003-03-271-45/+58
|
* Use the new modules system in VFS. If a module can't be loaded with theJelmer Vernooij2003-03-271-33/+110
| | | | new modules system, we still fall back to the old system.
* Clean up the VFS module loading logic by making the parameter an P_LIST,Andrew Bartlett2003-03-151-40/+34
| | | | | | rather than a runtime-parsed string. Andrew Bartlett
* Const warning fixes.Jeremy Allison2003-03-031-2/+2
| | | | Jeremy.
* untest fix for wide links parameter bug.Simo Sorce2003-02-021-2/+65
| | | | it work properly on 2.2 and the patch apply so I think it should be ok.
* Fix a segfault when we don't correctly load a VFS module (don't keep it inAndrew Bartlett2003-01-061-0/+6
| | | | | | | | | | | the loaded list on error). Also change some of the error returns, becouse NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client. As for which error, my logic is that a share without a valid VFS module is not a valid share, and therefore should return the same error as a non-existant share. Andrew Bartlett
* BIG patch...Andrew Bartlett2003-01-021-1/+1
| | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett
* Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison2002-12-041-8/+13
| | | | Jeremy.
* First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison2002-10-231-0/+3
| | | | | | | This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy.
* Actually use sendfile if selected.Jeremy Allison2002-09-171-0/+3
| | | | Jeremy.
* patch from metze: add a 'vfs' debug classAndrew Bartlett2002-09-061-0/+4
|
* A new utility to test VFS system and modulesSimo Sorce2002-08-181-1/+1
| | | | | | | | | | | | Just now it is acommandline tool like smbclient and rpcclient that is able to perform operations on the file system passing through the vfs layer It is not complete yet, some functions have simply faked up data, but module loading works yet and basic operations too. Thanks to Eric Lorimer for helping out with the initial setup. Simo.
* always include the (void) for void fns ...Andrew Tridgell2002-07-301-1/+1
|
* OK!Simo Sorce2002-07-301-36/+111
| | | | | | | | Finally the cascaded VFS patch is in. Testing is very welcome, specially with layered multiple vfs modules. A big thank to Alexander Bokovoy for his work and patience :) Simo.
* used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-011-3/+3
| | | | code
* Get the sco boxes compiling again - use the sys_ intefaces for all the dl*Andrew Bartlett2002-05-171-1/+1
| | | | funcitons.
* Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison2002-03-271-228/+194
| | | | | | dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy
* Sync up vfs changes from 2.2.x.Jeremy Allison2002-03-191-24/+28
| | | | Jeremy.
* Missing comma from systems that have ACLs.Jim McDonough2002-03-121-1/+1
|
* Added POSIX ACL layer into the vfs.Jeremy Allison2002-03-121-1/+24
| | | | Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Attempt to fix bugs in write cache code (yes I know it's going away :-).Jeremy Allison2002-01-201-0/+2
| | | | Jeremy.
* Getting ready to add UNIX extensions in HEAD also.Jeremy Allison2002-01-101-0/+2
| | | | Jeremy
* Re-wrote the guts of the rename_internals code to cope with a reportedJeremy Allison2002-01-041-3/+20
| | | | | | | bug (renaming name -> name was failing, on W2K it succeeds). Simplified the common case, did a lot of work to ensure NT error codes are correctly reported back to client. Jeremy.
* Don't check space on every extend if strict allocate not set.Jeremy Allison2001-11-121-5/+3
| | | | Jeremy
* Fixed allocation bug in database prog. Some format fixes.Jeremy Allison2001-11-121-43/+28
| | | | Jeremy.
* Added debug in truncate, fixed warning with gcc3.Jeremy Allison2001-11-071-0/+1
| | | | Jeremy.
* Made default vfs ops static so we can use this symbol in actual modules.Tim Potter2001-10-241-1/+1
|
* Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.Tim Potter2001-10-181-3/+3
|
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
|
* move to SAFE_FREE()Simo Sorce2001-09-171-1/+1
|
* Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison2001-09-041-80/+16
| | | | Jeremy.
* get rid of compiler warningsHerb Lewis2001-08-241-1/+1
|
* Correctly report amount written in debug when allocation space.Jeremy Allison2001-08-071-1/+1
| | | | Jeremy.
* Fix for getting allocate_file_space to return the correct errno.Jeremy Allison2001-08-061-2/+2
| | | | Jeremy.
* Extra debug to see what errno is on write fail.Jeremy Allison2001-08-041-0/+2
| | | | Jeremy.
* Added "strict allocate" per share parameter. This causes actual on-disk ↵Jeremy Allison2001-08-011-2/+79
| | | | | | | allocation to be done. Without it just does the ftruncate. Jeremy.
* Wrapped dlerror() in the same way as the other dlxxx() calls.Jeremy Allison2001-07-061-1/+1
| | | | Jeremy.
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-1/+1
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-041-163/+39
| | | | | | | 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-104/+109
| | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy.
* configure:Jeremy Allison2001-04-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | 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: Sync up with 2.2 changes - don't return deny ACE's.Jeremy Allison2001-03-261-0/+5
| | | | | smbd/vfs.c: Don't call [f]chmod_acl if no acl support. Jeremy.
* Added sys_dlopen/sys_dlsym/sys_dlclose.Jeremy Allison2001-03-191-2/+2
| | | | Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-111-2/+0
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.