Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add static | Jelmer Vernooij | 2003-04-02 | 1 | -1/+1 |
| | |||||
* | Fix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. ↵ | Alexander Bokovoy | 2003-03-31 | 1 | -3/+5 |
| | | | | Based on patch from Metze | ||||
* | - Support absolute paths in vfs and charset modules | Jelmer Vernooij | 2003-03-31 | 1 | -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 Bartlett | 2003-03-31 | 1 | -1/+1 |
| | | | | Andrew Bartlett | ||||
* | Allow the new modules system to function with builtin vfs modules. | Andrew Bartlett | 2003-03-28 | 1 | -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 function | Jelmer Vernooij | 2003-03-27 | 1 | -45/+58 |
| | |||||
* | Use the new modules system in VFS. If a module can't be loaded with the | Jelmer Vernooij | 2003-03-27 | 1 | -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 Bartlett | 2003-03-15 | 1 | -40/+34 |
| | | | | | | rather than a runtime-parsed string. Andrew Bartlett | ||||
* | Const warning fixes. | Jeremy Allison | 2003-03-03 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | untest fix for wide links parameter bug. | Simo Sorce | 2003-02-02 | 1 | -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 in | Andrew Bartlett | 2003-01-06 | 1 | -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 Bartlett | 2003-01-02 | 1 | -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 Allison | 2002-12-04 | 1 | -8/+13 |
| | | | | Jeremy. | ||||
* | First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>. | Jeremy Allison | 2002-10-23 | 1 | -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 Allison | 2002-09-17 | 1 | -0/+3 |
| | | | | Jeremy. | ||||
* | patch from metze: add a 'vfs' debug class | Andrew Bartlett | 2002-09-06 | 1 | -0/+4 |
| | |||||
* | A new utility to test VFS system and modules | Simo Sorce | 2002-08-18 | 1 | -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 Tridgell | 2002-07-30 | 1 | -1/+1 |
| | |||||
* | OK! | Simo Sorce | 2002-07-30 | 1 | -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 dead | Andrew Tridgell | 2002-07-01 | 1 | -3/+3 |
| | | | | code | ||||
* | Get the sco boxes compiling again - use the sys_ intefaces for all the dl* | Andrew Bartlett | 2002-05-17 | 1 | -1/+1 |
| | | | | funcitons. | ||||
* | Removed HAVE_LIBDL from most places (except system.c). Added checks for | Jeremy Allison | 2002-03-27 | 1 | -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 Allison | 2002-03-19 | 1 | -24/+28 |
| | | | | Jeremy. | ||||
* | Missing comma from systems that have ACLs. | Jim McDonough | 2002-03-12 | 1 | -1/+1 |
| | |||||
* | Added POSIX ACL layer into the vfs. | Jeremy Allison | 2002-03-12 | 1 | -1/+24 |
| | | | | Jeremy. | ||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -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 Allison | 2002-01-20 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Getting ready to add UNIX extensions in HEAD also. | Jeremy Allison | 2002-01-10 | 1 | -0/+2 |
| | | | | Jeremy | ||||
* | Re-wrote the guts of the rename_internals code to cope with a reported | Jeremy Allison | 2002-01-04 | 1 | -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 Allison | 2001-11-12 | 1 | -5/+3 |
| | | | | Jeremy | ||||
* | Fixed allocation bug in database prog. Some format fixes. | Jeremy Allison | 2001-11-12 | 1 | -43/+28 |
| | | | | Jeremy. | ||||
* | Added debug in truncate, fixed warning with gcc3. | Jeremy Allison | 2001-11-07 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Made default vfs ops static so we can use this symbol in actual modules. | Tim Potter | 2001-10-24 | 1 | -1/+1 |
| | |||||
* | Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile. | Tim Potter | 2001-10-18 | 1 | -3/+3 |
| | |||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -2/+0 |
| | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 1 | -1/+1 |
| | |||||
* | Merge of transfer file code from 2.2, fix for readbraw. | Jeremy Allison | 2001-09-04 | 1 | -80/+16 |
| | | | | Jeremy. | ||||
* | get rid of compiler warnings | Herb Lewis | 2001-08-24 | 1 | -1/+1 |
| | |||||
* | Correctly report amount written in debug when allocation space. | Jeremy Allison | 2001-08-07 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Fix for getting allocate_file_space to return the correct errno. | Jeremy Allison | 2001-08-06 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | Extra debug to see what errno is on write fail. | Jeremy Allison | 2001-08-04 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Added "strict allocate" per share parameter. This causes actual on-disk ↵ | Jeremy Allison | 2001-08-01 | 1 | -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 Allison | 2001-07-06 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵ | Andrew Tridgell | 2001-07-04 | 1 | -1/+1 |
| | | | | can't redefine them. damn. | ||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 1 | -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 Allison | 2001-06-29 | 1 | -104/+109 |
| | | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. | ||||
* | configure: | Jeremy Allison | 2001-04-14 | 1 | -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 Allison | 2001-03-26 | 1 | -0/+5 |
| | | | | | smbd/vfs.c: Don't call [f]chmod_acl if no acl support. Jeremy. | ||||
* | Added sys_dlopen/sys_dlsym/sys_dlclose. | Jeremy Allison | 2001-03-19 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR | Jeremy Allison | 2001-03-11 | 1 | -2/+0 |
| | | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. |