Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | introduced a get_file_size() macro in trans2.c to make it easier to | Andrew Tridgell | 2002-07-29 | 1 | -19/+21 |
| | | | | experiment with file size returns | ||||
* | an initial fix for handling sparse files in smbd | Andrew Tridgell | 2002-07-29 | 1 | -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 Allison | 2002-07-18 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | Gone back to explicit queue number passing as snum - removed encoding of | Jeremy Allison | 2002-07-17 | 1 | -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 Tridgell | 2002-06-26 | 1 | -8/+4 |
| | |||||
* | Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthrough | Jeremy Allison | 2002-06-24 | 1 | -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 Allison | 2002-06-21 | 1 | -1/+1 |
| | | | | | Replaced with "unsigned int". Jeremy. | ||||
* | Merge in mangle fixes from 2.2. | Jeremy Allison | 2002-06-13 | 1 | -2/+1 |
| | | | | Jeremy. | ||||
* | Fix bug where setting end of file length to 8 was hitting erroneous | Jeremy Allison | 2002-05-13 | 1 | -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 Kalele | 2002-05-09 | 1 | -8/+15 |
| | |||||
* | two time handling bugfixes | Andrew Tridgell | 2002-04-13 | 1 | -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 Tridgell | 2002-04-12 | 1 | -4/+5 |
| | |||||
* | This split the mangling code up to allow for the possibility of multiple | Andrew Tridgell | 2002-04-11 | 1 | -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 Allison | 2002-04-02 | 1 | -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 Allison | 2002-03-28 | 1 | -2/+7 |
| | | | | Jeremy. | ||||
* | Fix the mp3 rename bug - also tidy up our open code and remove the special | Jeremy Allison | 2002-03-23 | 1 | -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 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 | 1 | -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 Allison | 2002-03-05 | 1 | -0/+5 |
| | | | | Jeremy. | ||||
* | 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. | ||||
* | 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 ".." | ||||
* | this fixes the security tab on mapped drives for unicode clients. | Andrew Tridgell | 2002-02-21 | 1 | -19/+12 |
| | | | | Jeremy, this is wrong in 2.2.x | ||||
* | check for empty parameters in qpathinfo | Andrew Tridgell | 2002-02-05 | 1 | -0/+4 |
| | |||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -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 Allison | 2002-01-11 | 1 | -5/+5 |
| | | | | Jeremy. | ||||
* | First part of UNIX extensions (#ifdefed out) more to follow. | Jeremy Allison | 2002-01-10 | 1 | -1/+169 |
| | | | | Jeremy. | ||||
* | fixed long filenames on win98 | Andrew Tridgell | 2001-12-20 | 1 | -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 from | Jeremy Allison | 2001-11-28 | 1 | -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 Allison | 2001-11-23 | 1 | -72/+89 |
| | | | | Jeremy. | ||||
* | Tidyups when I was doing the big merge... | Jeremy Allison | 2001-11-17 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Fixed allocation bug in database prog. Some format fixes. | Jeremy Allison | 2001-11-12 | 1 | -954/+953 |
| | | | | Jeremy. | ||||
* | Use defined constants not integers. | Jeremy Allison | 2001-11-10 | 1 | -3/+3 |
| | | | | Jeremy. | ||||
* | Only 1mb allocate slop. | Jeremy Allison | 2001-11-08 | 1 | -56/+55 |
| | | | | Jeremy. | ||||
* | Merge overdue changes from 2.2. Fix <4gb write problem. | Jeremy Allison | 2001-11-08 | 1 | -40/+29 |
| | | | | Jeremy. | ||||
* | Added more define bits. Fixed error in vol attributes. | Jeremy Allison | 2001-11-08 | 1 | -1/+0 |
| | | | | Jeremy. | ||||
* | Don't put a \n on the end of the arg to exit_server() | Tim Potter | 2001-11-05 | 1 | -3/+3 |
| | |||||
* | Made nt acl support a local parameter for w2ksp2 profile fix. | Jeremy Allison | 2001-10-12 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -1/+0 |
| | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 1 | -16/+8 |
| | |||||
* | Removed unneeded set of delete on close in fsp->share_mode. | Jeremy Allison | 2001-09-05 | 1 | -7/+0 |
| | | | | Jeremy. | ||||
* | when you update the share mode in the db you must also update | Andrew Tridgell | 2001-09-05 | 1 | -0/+7 |
| | | | | | | fsp->share_mode otherwise the check to see if the fsp share mode matches the one in the db will fail when you come to delete it, thus leaving us with a share mode on a file that isn't even open! | ||||
* | converted smbd to use NTSTATUS by default | Andrew Tridgell | 2001-08-27 | 1 | -54/+50 |
| | | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night | ||||
* | fixed level2 find first for unisys clients | Andrew Tridgell | 2001-08-24 | 1 | -0/+1 |
| | |||||
* | Fix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help ! | Jeremy Allison | 2001-08-23 | 1 | -15/+6 |
| | | | | Jeremy. | ||||
* | More constant conversions. | Tim Potter | 2001-08-10 | 1 | -2/+2 |
| | |||||
* | Fixed wrong placement of allocate code :-(. | Jeremy Allison | 2001-08-09 | 1 | -5/+5 |
| | | | | | Changed alignment offset to 1 to allow netmon to parse ok. Jeremy. | ||||
* | Added fixes to return correct error codes on space allocation fail. | Jeremy Allison | 2001-08-07 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Added "strict allocate" per share parameter. This causes actual on-disk ↵ | Jeremy Allison | 2001-08-01 | 1 | -10/+44 |
| | | | | | | | allocation to be done. Without it just does the ftruncate. Jeremy. | ||||
* | Fix for potential crash bug with bad fid. | Jeremy Allison | 2001-07-28 | 1 | -1/+13 |
| | | | | Jeremy. |