summaryrefslogtreecommitdiffstats
path: root/source3/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Got us happy running under valgrind again :-).Jeremy Allison2003-05-311-0/+8
| | | | | Jeremy. (This used to be commit b6ab9d73610861d225d72845d4df7cf970155e39)
* fix quota build on non-64bit systemsGerald Carter2003-05-141-2/+2
| | | | (This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)
* Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy2003-05-141-5/+5
| | | | | | Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm. (This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
* Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy2003-05-141-27/+27
| | | | | | VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
* Wrap into WITH_QUOTAS yet another place in trans2Alexander Bokovoy2003-05-121-1/+7
| | | | (This used to be commit fea5d85d947965bd4789ab31607fd48d78403696)
* Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy2003-05-121-6/+7
| | | | (This used to be commit 01cff3e2e4e2724ed112fa62a775055192a2207b)
* Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy2003-05-121-1/+6
| | | | (This used to be commit ee5fa840686a1d9789688e7c0f1c3ca8d0175e94)
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-121-7/+190
| | | | | | | | 1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow (This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
* Fix VFS layer:Alexander Bokovoy2003-05-111-28/+28
| | | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
* SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATIONJeremy Allison2003-05-071-9/+1
| | | | | | are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy. (This used to be commit f6d7c279bc8354202f2a9b39fec4a4c8ace368a3)
* Fix length in findfirst2 responses, fix os/2 clientsJim McDonough2003-04-241-4/+10
| | | | (This used to be commit c12feff680b183a22d933bab65b5c095c0548e7e)
* Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due toJeremy Allison2003-04-041-0/+3
| | | | | | correct delete on close semantics change. Jeremy. (This used to be commit 7a45b45490e6001c17fc89aabfa802f76fa3fe5e)
* Merge whitespace to match HEAD.Andrew Bartlett2003-03-181-17/+17
| | | | (This used to be commit 454fb434195b8d46cbcbaee6a200070e5bcd7364)
* Merge from HEAD:Andrew Bartlett2003-03-171-10/+17
| | | | | | | | | | | - Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)
* Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison2003-03-071-1/+1
| | | | | Jeremy. (This used to be commit 723e9ee31cc1f5eb4b7aefefd58f7f13d0abda05)
* Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parametersJeremy Allison2003-03-071-20/+73
| | | | | | differently to W2K, cope with this. Jeremy. (This used to be commit 5e2755508f08ecf561348d4edf0a4064732c5213)
* 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. (This used to be commit 41894489e82a474f4f8f66aa2c7a117ed05b33e1)
* merge alt_name patch from headAndrew Tridgell2003-01-141-1/+1
| | | | (This used to be commit 20ebdee36d5351731698bdef6602fc73a45b1651)
* 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. (This used to be commit 6c23d2030ab8dddff4c849903c529f0012b94027)
* Need brackets around macro args. Spotted by Patrick Welche ↵Jeremy Allison2002-12-041-1/+1
| | | | | | | <prlw1@newn.cam.ac.uk>. Jeremy. (This used to be commit 2b9d35cf3f91e9488a55e0a73150d4c18b998afe)
* Missed the removal of the incorrect ifdef.Jeremy Allison2002-12-041-3/+1
| | | | | Jeremy. (This used to be commit f9cef6f42193b3ae70569e2c7584f088fb53a51c)
* Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison2002-12-041-10/+10
| | | | | Jeremy. (This used to be commit 379e719e983fb71f94cd2b691f8b194c109496c3)
* 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. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* 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. (This used to be commit 40eafb9dde113af9f7f1808fda22908953f7e8c3)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-24/+45
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Sync 3.0 branch with headJelmer Vernooij2002-08-171-36/+52
| | | | (This used to be commit 42615b945e2e48e53a21ea47f2e45407913a6a1e)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-1084/+1539
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* 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. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
* 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. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
* Ensure that setting file length can return disk full on failure.Jeremy Allison2002-03-281-2/+7
| | | | | Jeremy. (This used to be commit 14e2beca9b8fa1c8d893013f52f42b2721a82758)
* 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. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
* 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. (This used to be commit bc8d4b98807ece734db3e1c3a2baabf4b28e7b4f)
* Ensure we get a real fd when opening for set file allocation.Jeremy Allison2002-03-201-1/+1
| | | | | Jeremy. (This used to be commit 00cabb2346fb11c5568b6c7a038c313ae293a0c2)
* 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. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
* Mask off the aDIR on setfileinfo.Jeremy Allison2002-03-051-0/+5
| | | | | Jeremy. (This used to be commit d9cb1bf20ac8a739102b03d9a70e34fe5cb2f0f7)
* Canonicalise pathnames returned to Windows directory separators.Jeremy Allison2002-03-041-0/+1
| | | | | | Found by Andrew at connectathon with some new tests Jeremy. (This used to be commit 4aaa4f52b8fc712f5f879ae5c47ba4601281b4e8)
* 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 used to be commit a75a2e9e2f11e27ca8a7fbad8c0108a2aee0a690)
* 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 (This used to be commit 367358c7389555f413b3c690c012ef067859fc22)
* check for empty parameters in qpathinfoAndrew Tridgell2002-02-051-0/+4
| | | | (This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-111-5/+5
| | | | | Jeremy. (This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
* First part of UNIX extensions (#ifdefed out) more to follow.Jeremy Allison2002-01-101-1/+169
| | | | | Jeremy. (This used to be commit 02b18f2cca6d6d046d2d8fd7375b207d44031ddc)
* fixed long filenames on win98Andrew Tridgell2001-12-201-1/+3
| | | | | the fstype must not be null terminated or win98 doesn't recognise it (This used to be commit c8a040f2aa733e926280af010513849b6406741d)
* 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. (This used to be commit 1f3dcd99bdd36cd3ff492394e80c3e2037a9aa48)
* Fixed delete on close bug. Added core dump code to winbindd.Jeremy Allison2001-11-231-72/+89
| | | | | Jeremy. (This used to be commit a58d0f91f9ee7354c01a9c20cfe178d5dc02142d)
* Tidyups when I was doing the big merge...Jeremy Allison2001-11-171-0/+1
| | | | | Jeremy. (This used to be commit 9148bb9eaa67de60c3b0b4709a9c05a840c20c66)
* Fixed allocation bug in database prog. Some format fixes.Jeremy Allison2001-11-121-954/+953
| | | | | Jeremy. (This used to be commit 9ff6b0c20cc88ef0bcd62a596fcb96f898b5b29d)
* Use defined constants not integers.Jeremy Allison2001-11-101-3/+3
| | | | | Jeremy. (This used to be commit d20949fe509c1496bc434f0fbf403f0b69ab9954)
* Only 1mb allocate slop.Jeremy Allison2001-11-081-56/+55
| | | | | Jeremy. (This used to be commit c339a99a891c9e4bbad59ee1243908c91f048834)
* Merge overdue changes from 2.2. Fix <4gb write problem.Jeremy Allison2001-11-081-40/+29
| | | | | Jeremy. (This used to be commit 36ea09d3a041fab0854dfdc20f6ea8db7ccbec2e)