summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-16Tidyup wrap checking.Jeremy Allison1-4/+12
Jeremy. (This used to be commit 707554bcce91f33d0931f9d99050aab50765f5ff)
2003-10-07Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.Jeremy Allison1-6/+23
Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION. Jeremy. (This used to be commit 76fe5ffb4d757922651e41c3fa7e8bc411214cc7)
2003-10-02Correct fix for excel read-only bug. Add panic for logic error in developer ↵Jeremy Allison1-3/+0
mode. Jeremy. (This used to be commit 0857932c1c1960fd68a10f3d1f8c300b7a28b6d7)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter1-58/+195
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce1-2/+14
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter1-93/+260
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-07SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATIONJeremy Allison1-9/+1
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy. (This used to be commit a635b6406ab091b4207b148d7a25099205008567)
2003-04-24Fix length in findfirst2 responses, fix os/2 clientsJim McDonough1-4/+10
(This used to be commit ce56ccf932e5ae89b7d46da31ec9b17551206491)
2003-04-04Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due toJeremy Allison1-0/+3
correct delete on close semantics change. Jeremy. (This used to be commit 55d0ab0e307e16389cc470fa04a9d7b44043a4da)
2003-03-16 - Make ReadDirName return a const char*.Andrew Bartlett1-23/+30
- Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
2003-03-07Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c0930e6d15eb68f06453d9b67142ccd7fb1370a0)
2003-03-07Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parametersJeremy Allison1-20/+73
differently to W2K, cope with this. Jeremy. (This used to be commit 172f415c9eaa4d310a52794e3dc1a6bc92206ce4)
2003-02-11Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).Jeremy Allison1-45/+30
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to track it down. Jeremy. (This used to be commit c98ebb3031649203e607264ecb15722adf55af58)
2003-01-14query_alt_name takes a forced unicode string in win2000. It is notAndrew Tridgell1-1/+1
null terminated. Thanks to Metze for finding this. (This used to be commit e4ce26332b8f876e25ff9baf06d4767a473e2676)
2002-12-05The element in fsp->print_job should be a RAP jobid, not a uint32 RPCJeremy Allison1-4/+1
jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy. (This used to be commit 15f0bad1fc72ff44cd195d34fd530c25a739f42d)
2002-12-04Need brackets around macro args. Spotted by Patrick Welche ↵Jeremy Allison1-1/+1
<prlw1@newn.cam.ac.uk>. Jeremy. (This used to be commit 51c2cf3a9ccf0bf89520588530e04b965ae509f7)
2002-12-04Missed the removal of the incorrect ifdef.Jeremy Allison1-3/+1
Jeremy. (This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)
2002-12-04Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison1-10/+10
Jeremy. (This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-2/+1
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-10-23First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison1-0/+2
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. (This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
2002-09-09Merged Steve French's fix for OS/2 EA return error being removed.Jeremy Allison1-1/+3
Jeremy. (This used to be commit af2168c0344d49041b1fe78cd5219ac50308deb3)
2002-09-09Patch from Steve French to fix difference in responses toJeremy Allison1-1/+5
smbclient //server/share ls / on Samba and Windows 2000. Jeremy. (This used to be commit b3fe55838d23001f634f6a75f08330718353d3ad)
2002-08-23Merged initial allocation code for IFSTEST fix.Jeremy Allison1-21/+26
Jeremy. (This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)
2002-08-21Fix longstanding bug in Win2k clients by clearing the shortnameJeremy Allison1-0/+5
buffer before returning ascii short name. Jeremy. (This used to be commit d01bbd42ff043d9fb0dc40dc4e207da8df0c9c14)
2002-08-19Added comment about our implementation of the trans2Tim Potter1-1/+6
SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the IFSKIT tests. (This used to be commit ca73d24307fcf60e4b7bfe574287b2a84c5d86c8)
2002-07-29introduced a get_file_size() macro in trans2.c to make it easier toAndrew Tridgell1-19/+21
experiment with file size returns (This used to be commit c529cee0b2925184376e3a14e83fa99b3636d4ce)
2002-07-29an initial fix for handling sparse files in smbdAndrew Tridgell1-15/+25
This gets my test code working, where we previously failed with files above 20G in size. I'm still not completely happy with this. There are just too many fields in trans2.c that we don't fill in. (This used to be commit 7dfdb456d4c9bcf6ecb1f7e5c5e79989f95e5627)
2002-07-18Don't crash on setfileinfo on printer fsp.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 3a9ceb6b3b915d3153d9cb107f447b13002c0f57)
2002-07-17Gone back to explicit queue number passing as snum - removed encoding ofJeremy Allison1-2/+5
queueid in job number. This means we must have an internal tdb to store mapping from 16 bit RAP jobid's to 32 bit RPC jobids. Jeremy. (This used to be commit 4ff64f69706cc94d5dba7762754d00790c476963)
2002-06-26fixed 3 bugs in jeremys trans2 merge. Hopefully it now works.Andrew Tridgell1-8/+4
(This used to be commit 4a7813711130625598e0ffe92e7938890b818d2f)
2002-06-24Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthroughJeremy Allison1-1073/+1513
now supported in HEAD. Jeremy. (This used to be commit 082c5c084ef870709d3046f580eef597bb2aeef3)
2002-06-21Don't use uint. It doesn't exist on some platforms and we don't define it.Jeremy Allison1-1/+1
Replaced with "unsigned int". Jeremy. (This used to be commit 5841ca54b6a8c36f3d76c12570ff8f2211ed2363)
2002-06-13Merge in mangle fixes from 2.2.Jeremy Allison1-2/+1
Jeremy. (This used to be commit 5e2571f424a40df4d67fe279517a9b21184b78e1)
2002-05-13Fix bug where setting end of file length to 8 was hitting erroneousJeremy Allison1-0/+4
check for OS/2 EA set. This caused Macromedia movie files to not export correctly onto a Samba share. Originally spotted by Michel Stoop stoop@ncg.nl. Jeremy. (This used to be commit 6b4affde167104c760bd8dc3c8906511a7642853)
2002-05-09Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele1-8/+15
(This used to be commit d926cc989690684ec4799ebb3a3a01e8d4173de6)
2002-04-13two time handling bugfixesAndrew Tridgell1-1/+9
- the pending mtime overrides the current file time in setfileinfo - a later wtime can override a mtime on setfileinfo this fixes the date of file copies in win2000 (This used to be commit 79630bb2c0a99c961a0a1c67223899e39685ee2c)
2002-04-12fixed the display of the 'size on disk' property of files from w2k.Andrew Tridgell1-4/+5
(This used to be commit 699a1d9f46fcc9d6aad56ed1b44d1295ee828b2b)
2002-04-11This split the mangling code up to allow for the possibility of multipleAndrew Tridgell1-13/+13
mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
2002-04-02Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison1-0/+14
Forward ported some of the code tidyups from 2.2. Jeremy. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
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-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-1/+1
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
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 Allison1-7/+2
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-05Mask off the aDIR on setfileinfo.Jeremy Allison1-0/+5
Jeremy. (This used to be commit d9cb1bf20ac8a739102b03d9a70e34fe5cb2f0f7)
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-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-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-05check for empty parameters in qpathinfoAndrew Tridgell1-0/+4
(This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)