summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* this adds a completely new hash based mangling schemeAndrew Tridgell2002-04-112-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 multipleAndrew Tridgell2002-04-119-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 Allison2002-04-101-1/+2
| | | | Jeremy.
* Shirish pointed out more areas we should be doing roundups for allocation size.Jeremy Allison2002-04-091-17/+16
| | | | Jeremy.
* a fix yet committed to 2.2 sometimes ago and reintroduced here!Simo Sorce2002-04-081-1/+1
|
* Reintroduce the 2.2 name mangling code, until we get are more flexible solution.Andrew Bartlett2002-04-084-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 Allison2002-04-023-71/+33
| | | | | Forward ported some of the code tidyups from 2.2. Jeremy.
* added shutdown to smbdJean-François Micouleau2002-03-291-0/+6
| | | | J.F.
* Ensure that setting file length can return disk full on failure.Jeremy Allison2002-03-281-2/+7
| | | | Jeremy.
* Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison2002-03-272-230/+194
| | | | | | dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy
* Removed unused variable.Jeremy Allison2002-03-261-3/+0
| | | | Jeremy.
* Matched W2K *insane* open semantics....Jeremy Allison2002-03-261-0/+18
| | | | Jeremy.
* Correctly store the hostname of the remote machine if so configured. If theAndrew Bartlett2002-03-231-4/+6
| | | | reverse DNS fails, then store the IP.
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-235-195/+232
| | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy.
* Fix stupid typo !Jeremy Allison2002-03-211-2/+2
| | | | Jeremy.
* return . and .. first in readdir - this fixes masktest on IRIX whichHerb Lewis2002-03-211-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 Allison2002-03-201-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 Allison2002-03-201-1/+1
| | | | Jeremy.
* Remove the "stat open" code - make it inline. This should fix theJeremy Allison2002-03-208-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 Allison2002-03-193-181/+39
| | | | Jeremy.
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-174-6/+6
|
* syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter2002-03-152-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 Bartlett2002-03-141-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 Allison2002-03-142-45/+58
| | | | Jeremy.
* Get the current directory after becoming root.Jeremy Allison2002-03-141-1/+1
| | | | Jeremy.
* Fixed bodgy printf arguments in debug statment.Tim Potter2002-03-131-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 Allison2002-03-132-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 winbinddAndrew Tridgell2002-03-131-0/+5
|
* fixed mapping of SIDs for local usersAndrew Tridgell2002-03-131-1/+1
|
* Missing comma from systems that have ACLs.Jim McDonough2002-03-121-1/+1
|
* Added POSIX ACL layer into the vfs.Jeremy Allison2002-03-124-65/+202
| | | | Jeremy.
* Implemented default ACL patch (set inherit acls = true on a per share basis).Jeremy Allison2002-03-113-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 bitsAndrew Tridgell2002-03-111-0/+7
|
* failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTEDAndrew Tridgell2002-03-101-0/+6
|
* a more informitive debug message when a SID can't be validatedAndrew Tridgell2002-03-091-1/+2
|
* get the right return code for batch vs exclusive oplocksAndrew Tridgell2002-03-071-5/+12
|
* Fixed delete on close semantics - preparing for share mode rewrite.Jeremy Allison2002-03-072-13/+14
| | | | Jeremy.
* Reformat preparing for changes to come...Jeremy Allison2002-03-061-155/+155
| | | | Jeremy.
* Added Herb's fix to override log level from command line.Jeremy Allison2002-03-051-0/+2
| | | | Jeremy.
* Mask off the aDIR on setfileinfo.Jeremy Allison2002-03-053-0/+10
| | | | Jeremy.
* Fixed compiler warning about unused variables.Tim Potter2002-03-051-5/+5
|
* Canonicalise pathnames returned to Windows directory separators.Jeremy Allison2002-03-041-0/+1
| | | | | Found by Andrew at connectathon with some new tests Jeremy.
* Fix lseek-on-pipe problem in VFS (where it belongs IMHO).Jeremy Allison2002-03-022-18/+19
| | | | Jeremy.
* Various comment fixes from Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>Andrew Bartlett2002-03-011-1/+1
|
* this allows us to support foreign SIDs in winbindd and smbdAndrew Tridgell2002-02-271-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 Allison2002-02-274-28/+32
| | | | Jeremy.
* Fixed usage of uninitialised variable in strict_allocate_ftruncate()Tim Potter2002-02-271-1/+3
|
* This should fix up the level 0 'convert_string' debug messages that we haveAndrew Bartlett2002-02-271-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 shareAndrew Tridgell2002-02-262-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 nullAndrew Tridgell2002-02-251-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 ".."