summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2002-04-02Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison3-71/+33
Forward ported some of the code tidyups from 2.2. Jeremy. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
2002-03-29added shutdown to smbdJean-François Micouleau1-0/+6
J.F. (This used to be commit 51a5bbfee71e064c73283a090e9e922a31b1e21b)
2002-03-28Ensure that setting file length can return disk full on failure.Jeremy Allison1-2/+7
Jeremy. (This used to be commit 14e2beca9b8fa1c8d893013f52f42b2721a82758)
2002-03-27Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison2-230/+194
dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
2002-03-26Removed unused variable.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)
2002-03-26Matched W2K *insane* open semantics....Jeremy Allison1-0/+18
Jeremy. (This used to be commit 6819e81da490914d2db91c4d2419d408b8d4c818)
2002-03-23Correctly store the hostname of the remote machine if so configured. If theAndrew Bartlett1-4/+6
reverse DNS fails, then store the IP. (This used to be commit d97771aa80b48fbdb9cae3e9712e35fcc895b148)
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison5-195/+232
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-21Fix stupid typo !Jeremy Allison1-2/+2
Jeremy. (This used to be commit d0b58f66edeac516bde2dff79ab5cf529c37954b)
2002-03-21return . and .. first in readdir - this fixes masktest on IRIX whichHerb Lewis1-1/+13
returns . then single letter files then .. then all other files. (This used to be commit d4d9361eec11f50c780ed4c79bc9775ac24d8c0e)
2002-03-20HEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.Jeremy Allison1-1/+1
This code needs replacing with the trans2.c from 2.2.x. Jeremy. (This used to be commit bc8d4b98807ece734db3e1c3a2baabf4b28e7b4f)
2002-03-20Ensure we get a real fd when opening for set file allocation.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 00cabb2346fb11c5568b6c7a038c313ae293a0c2)
2002-03-20Remove the "stat open" code - make it inline. This should fix theJeremy Allison8-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. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
2002-03-19Sync up vfs changes from 2.2.x.Jeremy Allison3-181/+39
Jeremy. (This used to be commit ad1e858d8e72adf924ff435eab8da3e60842e2e6)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter4-6/+6
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-15syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter2-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 (This used to be commit 5760315c1de4033fdc22684c940f18010010924f)
2002-03-14Actually include some *information* in the mangle debug messages.Andrew Bartlett1-14/+39
In particular this shows the filename, prefix and counters involved. The unicode -> unix converion only occours for the error case. Andrew Bartlett (This used to be commit 9c8de8c6cf44ead0719efa48a34c9c9d54402ac6)
2002-03-14Now we have reliable signals take SIGTERM inband.Jeremy Allison2-45/+58
Jeremy. (This used to be commit cad82926a8baf7605cef81f0e0d4daa8e527e6ee)
2002-03-14Get the current directory after becoming root.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f032c6f710cb0edcf02f25db81c83478b9a8ab1e)
2002-03-13Fixed bodgy printf arguments in debug statment.Tim Potter1-1/+1
Who would have guessed it - we now use floating point maths in Samba. (This used to be commit 6a053fa770b69f21fef52966a0b577b7ac9e817e)
2002-03-13include/smb_macros.h: Don't round up an allocation if the size is zero.Jeremy Allison2-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. (This used to be commit 8aa9860ea2ea7f5aed4b6aa12794fffdfa81b0d0)
2002-03-13if we know that the SID is local then don't try via winbinddAndrew Tridgell1-0/+5
(This used to be commit 1a8f3ba3ab7717c481e3fb4f1ea8938461160d09)
2002-03-13fixed mapping of SIDs for local usersAndrew Tridgell1-1/+1
(This used to be commit df9e345366078ccaa94df7c2f2e33b292605e88a)
2002-03-12Missing comma from systems that have ACLs.Jim McDonough1-1/+1
(This used to be commit 96e4282dca757e8621d23a54fb7203c93d2d41fc)
2002-03-12Added POSIX ACL layer into the vfs.Jeremy Allison4-65/+202
Jeremy. (This used to be commit 7d59445b6962547a8938928a9371651a09e26516)
2002-03-11Implemented default ACL patch (set inherit acls = true on a per share basis).Jeremy Allison3-9/+36
Based on code donated by Olaf Frączyk <olaf@cbk.poznan.pl>. Further commit will change to sending via vfs interface. Jeremy. (This used to be commit d85133e2697eb22f1573c78447b57791ae63dd6b)
2002-03-11make sure we give an error for unknown lockingX locktype bitsAndrew Tridgell1-0/+7
(This used to be commit 72cb43b912a4c1831f9d7b2fd23ce51aebb09c8f)
2002-03-10failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTEDAndrew Tridgell1-0/+6
(This used to be commit ec71c1a66f9fd4b9cb4cad5a9b5b17e20de7aeb1)
2002-03-09a more informitive debug message when a SID can't be validatedAndrew Tridgell1-1/+2
(This used to be commit c55737fb25dfed4697b93a600e3bd770f84bf464)
2002-03-07get the right return code for batch vs exclusive oplocksAndrew Tridgell1-5/+12
(This used to be commit 91fc5b2de577019d7646f3c29173b27605d9ba12)
2002-03-07Fixed delete on close semantics - preparing for share mode rewrite.Jeremy Allison2-13/+14
Jeremy. (This used to be commit 25dd73be29bbf0a080fe0bcbe5c478545d1e8db7)
2002-03-06Reformat preparing for changes to come...Jeremy Allison1-155/+155
Jeremy. (This used to be commit b56df25d48a7adaa49b0bd44f8ff7be81b970da2)
2002-03-05Added Herb's fix to override log level from command line.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 439839be99e6e418eb5782a2fe0630d0ef5fb3c5)
2002-03-05Mask off the aDIR on setfileinfo.Jeremy Allison3-0/+10
Jeremy. (This used to be commit d9cb1bf20ac8a739102b03d9a70e34fe5cb2f0f7)
2002-03-05Fixed compiler warning about unused variables.Tim Potter1-5/+5
(This used to be commit 7bb0dda8ee1d61a0e8448070f1a71fcd13be5d40)
2002-03-04Canonicalise pathnames returned to Windows directory separators.Jeremy Allison1-0/+1
Found by Andrew at connectathon with some new tests Jeremy. (This used to be commit 4aaa4f52b8fc712f5f879ae5c47ba4601281b4e8)
2002-03-02Fix lseek-on-pipe problem in VFS (where it belongs IMHO).Jeremy Allison2-18/+19
Jeremy. (This used to be commit ebef2e7bc87fcbae794426c39044a7d23f43722d)
2002-03-01Various comment fixes from Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>Andrew Bartlett1-1/+1
(This used to be commit 3bf4b42771d115500941be374bfdd9b8c2fdba4a)
2002-02-27this allows us to support foreign SIDs in winbindd and smbdAndrew Tridgell1-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? (This used to be commit fe2db3148587937aa7b674c1c99036d42a3776b3)
2002-02-27Added "nt status support" parameter. Fix offline synchronisation.Jeremy Allison4-28/+32
Jeremy. (This used to be commit 9243a9778e52999d5c62cba484640637b24994d8)
2002-02-27Fixed usage of uninitialised variable in strict_allocate_ftruncate()Tim Potter1-1/+3
(This used to be commit b1d56956fec0de0e8591d85eb5eeec939494e6d4)
2002-02-27This should fix up the level 0 'convert_string' debug messages that we haveAndrew Bartlett1-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 used to be commit 4447c6bd4d9c273ef5bf4eb23726923ee58bf38d)
2002-02-26This is a nasty hack to fix "xcopy /o" from win2000 on a Samba shareAndrew Tridgell2-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 used to be commit d09ae0c667a94fcf870c0fc7f97119266a650d45)
2002-02-25This fixes 4 info levels in a trans2 find_first that should not be nullAndrew Tridgell1-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 ".." (This used to be commit a75a2e9e2f11e27ca8a7fbad8c0108a2aee0a690)
2002-02-22don't do an ADS init when not in ADS modeAndrew Tridgell1-5/+4
(This used to be commit 68693ba4e80257bf895b1c8db18c138d5d9919bb)
2002-02-21this fixes the security tab on mapped drives for unicode clients.Andrew Tridgell1-19/+12
Jeremy, this is wrong in 2.2.x (This used to be commit 367358c7389555f413b3c690c012ef067859fc22)
2002-02-19in dos_unmangle() the only function call was to *mangle()*. Adding theAndrew Bartlett1-1/+1
'un' dramaticly increses the functionality of this code :-). Andrew Bartlett (This used to be commit 15b9b63db57901fbfa3d62b64212742f361ee519)
2002-02-15Merge of smbclient print crash bug fix from app head.Tim Potter1-2/+4
(This used to be commit a56298d56ae67a764e9b9a43c1c568b7125e1c18)
2002-02-09Do the reverse DNS lookup, but only if 'hostname lookups = yes'Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit dfecd6a4534743a3e140eafc9836911286793951)
2002-02-05check for empty parameters in qpathinfoAndrew Tridgell1-0/+4
(This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)