Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | this adds a completely new hash based mangling scheme | Andrew Tridgell | 2002-04-11 | 2 | -0/+511 | |
| | | | | | | | | | | the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well. | |||||
* | This split the mangling code up to allow for the possibility of multiple | Andrew Tridgell | 2002-04-11 | 9 | -996/+1090 | |
| | | | | | | mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty. | |||||
* | Added Shirish's client side caching policy change. | Jeremy Allison | 2002-04-10 | 1 | -1/+2 | |
| | | | | Jeremy. | |||||
* | Shirish pointed out more areas we should be doing roundups for allocation size. | Jeremy Allison | 2002-04-09 | 1 | -17/+16 | |
| | | | | Jeremy. | |||||
* | a fix yet committed to 2.2 sometimes ago and reintroduced here! | Simo Sorce | 2002-04-08 | 1 | -1/+1 | |
| | ||||||
* | Reintroduce the 2.2 name mangling code, until we get are more flexible solution. | Andrew Bartlett | 2002-04-08 | 4 | -830/+805 | |
| | | | | | | | Even for a hash/cache setup, this code needs some more work, in particular it needs to use mangle_get_prefix() etc and to move to unicode internals. Andrew Bartlett | |||||
* | Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works. | Jeremy Allison | 2002-04-02 | 3 | -71/+33 | |
| | | | | | Forward ported some of the code tidyups from 2.2. Jeremy. | |||||
* | added shutdown to smbd | Jean-François Micouleau | 2002-03-29 | 1 | -0/+6 | |
| | | | | J.F. | |||||
* | Ensure that setting file length can return disk full on failure. | Jeremy Allison | 2002-03-28 | 1 | -2/+7 | |
| | | | | Jeremy. | |||||
* | Removed HAVE_LIBDL from most places (except system.c). Added checks for | Jeremy Allison | 2002-03-27 | 2 | -230/+194 | |
| | | | | | | dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy | |||||
* | Removed unused variable. | Jeremy Allison | 2002-03-26 | 1 | -3/+0 | |
| | | | | Jeremy. | |||||
* | Matched W2K *insane* open semantics.... | Jeremy Allison | 2002-03-26 | 1 | -0/+18 | |
| | | | | Jeremy. | |||||
* | Correctly store the hostname of the remote machine if so configured. If the | Andrew Bartlett | 2002-03-23 | 1 | -4/+6 | |
| | | | | reverse DNS fails, then store the IP. | |||||
* | Fix the mp3 rename bug - also tidy up our open code and remove the special | Jeremy Allison | 2002-03-23 | 5 | -195/+232 | |
| | | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. | |||||
* | Fix stupid typo ! | Jeremy Allison | 2002-03-21 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | return . and .. first in readdir - this fixes masktest on IRIX which | Herb Lewis | 2002-03-21 | 1 | -1/+13 | |
| | | | | returns . then single letter files then .. then all other files. | |||||
* | HEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>. | Jeremy Allison | 2002-03-20 | 1 | -1/+1 | |
| | | | | | This code needs replacing with the trans2.c from 2.2.x. Jeremy. | |||||
* | Ensure we get a real fd when opening for set file allocation. | Jeremy Allison | 2002-03-20 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Remove the "stat open" code - make it inline. This should fix the | Jeremy Allison | 2002-03-20 | 8 | -254/+140 | |
| | | | | | | | | 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 Allison | 2002-03-19 | 3 | -181/+39 | |
| | | | | Jeremy. | |||||
* | Renamed get_nt_error_msg() to nt_errstr(). | Tim Potter | 2002-03-17 | 4 | -6/+6 | |
| | ||||||
* | syncing up printing code with SAMBA_2_2 (already done some merges | Gerald Carter | 2002-03-15 | 2 | -5/+5 | |
| | | | | | | | | | | | | | in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions | |||||
* | Actually include some *information* in the mangle debug messages. | Andrew Bartlett | 2002-03-14 | 1 | -14/+39 | |
| | | | | | | | | In particular this shows the filename, prefix and counters involved. The unicode -> unix converion only occours for the error case. Andrew Bartlett | |||||
* | Now we have reliable signals take SIGTERM inband. | Jeremy Allison | 2002-03-14 | 2 | -45/+58 | |
| | | | | Jeremy. | |||||
* | Get the current directory after becoming root. | Jeremy Allison | 2002-03-14 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Fixed bodgy printf arguments in debug statment. | Tim Potter | 2002-03-13 | 1 | -1/+1 | |
| | | | | Who would have guessed it - we now use floating point maths in Samba. | |||||
* | include/smb_macros.h: Don't round up an allocation if the size is zero. | Jeremy Allison | 2002-03-13 | 2 | -8/+10 | |
| | | | | | | | | | | | | | | "One of these locks is not like the others... One of these locks is not quite the same" :-). When is a zero timeout lock not zero ? When it's being processed by Windows 2000 of course.. This code change, ugly though it is - completely fixes the foxpro/access multi-user file system database problems that people have been having. I used a *wonderful* test program donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me to completely reproduce this problem, and to finally determine the correct fix. This also explains why Windows 2000 is *so slow* when responding to the smbtorture lock tests. I *love* it when all these things come together and finally make sense :-). Jeremy. | |||||
* | if we know that the SID is local then don't try via winbindd | Andrew Tridgell | 2002-03-13 | 1 | -0/+5 | |
| | ||||||
* | fixed mapping of SIDs for local users | Andrew Tridgell | 2002-03-13 | 1 | -1/+1 | |
| | ||||||
* | 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 | 4 | -65/+202 | |
| | | | | Jeremy. | |||||
* | Implemented default ACL patch (set inherit acls = true on a per share basis). | Jeremy Allison | 2002-03-11 | 3 | -9/+36 | |
| | | | | | | Based on code donated by Olaf Frączyk <olaf@cbk.poznan.pl>. Further commit will change to sending via vfs interface. Jeremy. | |||||
* | make sure we give an error for unknown lockingX locktype bits | Andrew Tridgell | 2002-03-11 | 1 | -0/+7 | |
| | ||||||
* | failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTED | Andrew Tridgell | 2002-03-10 | 1 | -0/+6 | |
| | ||||||
* | a more informitive debug message when a SID can't be validated | Andrew Tridgell | 2002-03-09 | 1 | -1/+2 | |
| | ||||||
* | get the right return code for batch vs exclusive oplocks | Andrew Tridgell | 2002-03-07 | 1 | -5/+12 | |
| | ||||||
* | Fixed delete on close semantics - preparing for share mode rewrite. | Jeremy Allison | 2002-03-07 | 2 | -13/+14 | |
| | | | | Jeremy. | |||||
* | Reformat preparing for changes to come... | Jeremy Allison | 2002-03-06 | 1 | -155/+155 | |
| | | | | Jeremy. | |||||
* | Added Herb's fix to override log level from command line. | Jeremy Allison | 2002-03-05 | 1 | -0/+2 | |
| | | | | Jeremy. | |||||
* | Mask off the aDIR on setfileinfo. | Jeremy Allison | 2002-03-05 | 3 | -0/+10 | |
| | | | | Jeremy. | |||||
* | Fixed compiler warning about unused variables. | Tim Potter | 2002-03-05 | 1 | -5/+5 | |
| | ||||||
* | Canonicalise pathnames returned to Windows directory separators. | Jeremy Allison | 2002-03-04 | 1 | -0/+1 | |
| | | | | | Found by Andrew at connectathon with some new tests Jeremy. | |||||
* | Fix lseek-on-pipe problem in VFS (where it belongs IMHO). | Jeremy Allison | 2002-03-02 | 2 | -18/+19 | |
| | | | | Jeremy. | |||||
* | Various comment fixes from Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> | Andrew Bartlett | 2002-03-01 | 1 | -1/+1 | |
| | ||||||
* | this allows us to support foreign SIDs in winbindd and smbd | Andrew Tridgell | 2002-02-27 | 1 | -2/+13 | |
| | | | | | | | this means "xcopy /o" has a chance of working with ACLs that contain ACEs that use SIDs that the Samba server has no knowledge of. It's a bit hackish, Tim, can you look at my uid.c changes? | |||||
* | Added "nt status support" parameter. Fix offline synchronisation. | Jeremy Allison | 2002-02-27 | 4 | -28/+32 | |
| | | | | Jeremy. | |||||
* | Fixed usage of uninitialised variable in strict_allocate_ftruncate() | Tim Potter | 2002-02-27 | 1 | -1/+3 | |
| | ||||||
* | This should fix up the level 0 'convert_string' debug messages that we have | Andrew Bartlett | 2002-02-27 | 1 | -1/+1 | |
| | | | | | | | | been seing since the unicode conversion. It looks like a simple oversight in the move away from StrnCpy (which takes amount of space -1 as an arg) to push_ascii etc which take the absolute amount of space. Andrew Bartlett | |||||
* | This is a nasty hack to fix "xcopy /o" from win2000 on a Samba share | Andrew Tridgell | 2002-02-26 | 2 | -16/+53 | |
| | | | | | | | | | | The hack passes the true ntcreate desired_access down to open_file_shared1() from the ntcreatex function. This is used to determine if share modes should be used in denying this open. This hack will become unnecessary when we redo open.c to use the proper NTCreateX semantics rather than trying to jam the ntcreate semantics into openX semantics. | |||||
* | This fixes 4 info levels in a trans2 find_first that should not be null | Andrew Tridgell | 2002-02-25 | 1 | -4/+6 | |
| | | | | | | | | terminated for the filenames. this is what caused win2k to go into a loop sending 20000 packets to set an acl on a directory. It didn't recognise ".." with a null termination as being ".." |