summaryrefslogtreecommitdiffstats
path: root/source/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due toJeremy Allison2003-04-041-0/+3
| | | | | correct delete on close semantics change. Jeremy.
* - Make ReadDirName return a const char*.Andrew Bartlett2003-03-161-23/+30
| | | | | | | | - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett
* Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison2003-03-071-1/+1
| | | | Jeremy.
* Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parametersJeremy Allison2003-03-071-20/+73
| | | | | differently to W2K, cope with this. Jeremy.
* Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).Jeremy Allison2003-02-111-45/+30
| | | | | | Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to track it down. Jeremy.
* query_alt_name takes a forced unicode string in win2000. It is notAndrew Tridgell2003-01-141-1/+1
| | | | | | null terminated. Thanks to Metze for finding this.
* The element in fsp->print_job should be a RAP jobid, not a uint32 RPCJeremy Allison2002-12-051-4/+1
| | | | | | jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy.
* Need brackets around macro args. Spotted by Patrick Welche ↵Jeremy Allison2002-12-041-1/+1
| | | | | | <prlw1@newn.cam.ac.uk>. Jeremy.
* Missed the removal of the incorrect ifdef.Jeremy Allison2002-12-041-3/+1
| | | | Jeremy.
* Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison2002-12-041-10/+10
| | | | Jeremy.
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-2/+1
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison2002-10-231-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.
* Merged Steve French's fix for OS/2 EA return error being removed.Jeremy Allison2002-09-091-1/+3
| | | | Jeremy.
* Patch from Steve French to fix difference in responses toJeremy Allison2002-09-091-1/+5
| | | | | | | smbclient //server/share ls / on Samba and Windows 2000. Jeremy.
* Merged initial allocation code for IFSTEST fix.Jeremy Allison2002-08-231-21/+26
| | | | Jeremy.
* Fix longstanding bug in Win2k clients by clearing the shortnameJeremy Allison2002-08-211-0/+5
| | | | | buffer before returning ascii short name. Jeremy.
* Added comment about our implementation of the trans2Tim Potter2002-08-191-1/+6
| | | | | SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the IFSKIT tests.
* introduced a get_file_size() macro in trans2.c to make it easier toAndrew Tridgell2002-07-291-19/+21
| | | | experiment with file size returns
* an initial fix for handling sparse files in smbdAndrew Tridgell2002-07-291-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.
* Don't crash on setfileinfo on printer fsp.Jeremy Allison2002-07-181-1/+2
| | | | Jeremy.
* Gone back to explicit queue number passing as snum - removed encoding ofJeremy Allison2002-07-171-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.
* fixed 3 bugs in jeremys trans2 merge. Hopefully it now works.Andrew Tridgell2002-06-261-8/+4
|
* Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthroughJeremy Allison2002-06-241-1073/+1513
| | | | | now supported in HEAD. Jeremy.
* Don't use uint. It doesn't exist on some platforms and we don't define it.Jeremy Allison2002-06-211-1/+1
| | | | | Replaced with "unsigned int". Jeremy.
* Merge in mangle fixes from 2.2.Jeremy Allison2002-06-131-2/+1
| | | | Jeremy.
* Fix bug where setting end of file length to 8 was hitting erroneousJeremy Allison2002-05-131-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.
* Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele2002-05-091-8/+15
|
* two time handling bugfixesAndrew Tridgell2002-04-131-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
* fixed the display of the 'size on disk' property of files from w2k.Andrew Tridgell2002-04-121-4/+5
|
* This split the mangling code up to allow for the possibility of multipleAndrew Tridgell2002-04-111-13/+13
| | | | | | mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty.
* Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison2002-04-021-0/+14
| | | | | Forward ported some of the code tidyups from 2.2. Jeremy.
* Ensure that setting file length can return disk full on failure.Jeremy Allison2002-03-281-2/+7
| | | | Jeremy.
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-231-1/+1
| | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy.
* 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-201-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.
* Mask off the aDIR on setfileinfo.Jeremy Allison2002-03-051-0/+5
| | | | Jeremy.
* Canonicalise pathnames returned to Windows directory separators.Jeremy Allison2002-03-041-0/+1
| | | | | Found by Andrew at connectathon with some new tests Jeremy.
* 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 ".."
* this fixes the security tab on mapped drives for unicode clients.Andrew Tridgell2002-02-211-19/+12
| | | | Jeremy, this is wrong in 2.2.x
* check for empty parameters in qpathinfoAndrew Tridgell2002-02-051-0/+4
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-111-5/+5
| | | | Jeremy.
* First part of UNIX extensions (#ifdefed out) more to follow.Jeremy Allison2002-01-101-1/+169
| | | | Jeremy.
* fixed long filenames on win98Andrew Tridgell2001-12-201-1/+3
| | | | the fstype must not be null terminated or win98 doesn't recognise it
* Ensure the CAN_WRITE is checked and prevents O_CREAT and O_TRUNC fromJeremy Allison2001-11-281-0/+9
| | | | | | being set. Also prevent an open on a file on a readonly share from setting delete on close. Jeremy.
* Fixed delete on close bug. Added core dump code to winbindd.Jeremy Allison2001-11-231-72/+89
| | | | Jeremy.
* Tidyups when I was doing the big merge...Jeremy Allison2001-11-171-0/+1
| | | | Jeremy.
* Fixed allocation bug in database prog. Some format fixes.Jeremy Allison2001-11-121-954/+953
| | | | Jeremy.
* Use defined constants not integers.Jeremy Allison2001-11-101-3/+3
| | | | Jeremy.