summaryrefslogtreecommitdiffstats
path: root/source3/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* r6174: Fixup T2 open call - we were returning 2 bytes short.Jeremy Allison2007-10-101-7/+24
| | | | | Jeremy. (This used to be commit 0c7de7615bf0edbb36a3afee445db13a71e26d2e)
* r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global ↵Jeremy Allison2007-10-101-1/+0
| | | | | | | nastyness. Jeremy. (This used to be commit d3379fe61bb934082b51a37adac232a96bafcf46)
* r6163: Well I never, all this time the t2open code was incorrectly dectingJeremy Allison2007-10-101-1/+5
| | | | | | | oplock requests and no one noticed. Hmmm. Don't think this is a commonly used codepath :-). Jeremy. (This used to be commit 75a0c11de4b7baf693e5c62e690e4bb26554f8e2)
* r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in ↵Jeremy Allison2007-10-101-5/+90
| | | | | | | nttrans_create. Jeremy. (This used to be commit 989fcb4c084c63f1e3b114af68ef5bc0a2fbc09e)
* r6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.Jeremy Allison2007-10-101-53/+60
| | | | | Jeremy. (This used to be commit 106f91ff65acd23a7dda4d0ec89ae41ecb28153e)
* r6138: Refactor length reading out of EA code so we can read lengthJeremy Allison2007-10-101-15/+22
| | | | | | external to buffer. Needed to add EA code to create calls. Jeremy. (This used to be commit 7c4262d6ba48695c2622ea2eba8da6ac889ce543)
* r6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2Jeremy Allison2007-10-101-1/+7
| | | | | | I believe. Reported as fixed by Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 14eab937a54dd9f02f289d7e2f47c78c834714a3)
* r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk ↵Jeremy Allison2007-10-101-0/+2
| | | | | | | <guenter.kukkukk@kukkukk.com> Jeremy. (This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)
* r6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | LANMAN2 protocol, ensure the EA size is always correctly set on a query for a file with no EA's. Jeremy. (This used to be commit d6ad1f8df05e16152d9c95df56e612fde288d3b4)
* r6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LISTJeremy Allison2007-10-101-10/+2
| | | | | | info level. Jeremy. (This used to be commit e15c36e9497b5e92c0f743a522cd0adb96d22295)
* r6053: Fixup dfs path with the new wildcard parser code split out.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)
* r5960: Integer wrap paranoia when reading EA buffers.Jeremy Allison2007-10-101-4/+23
| | | | | Jeremy. (This used to be commit e61f7a6b72fe6186a5a56f23f9133c5b1a49bb89)
* r5936: Fix bugs in earlier work in progress commit. Closer to properly ↵Jeremy Allison2007-10-101-2/+2
| | | | | | | supporting EA's now. Jeremy. (This used to be commit 8aa2b2617baefef004a864c4210b20a66ef89fd4)
* r5933: We were handling setting of EA's incorrectly - we should be able to setJeremy Allison2007-10-101-128/+325
| | | | | | | | a list. Also not converting names from DOS CP to UNIX CP correctly. This code doesn't quite work yet but it's a work in progress to be fixed tomorrow (don't want to lose it). Jeremy. (This used to be commit 22fca746576810c5408540031a9603625a66cd75)
* r5893: Get us to pass some of the Samba4 EA tests. EA_LIST seems to beJeremy Allison2007-10-101-45/+87
| | | | | | working - need to valgrind it to be sure. Jeremy. (This used to be commit 8b2b652c0a47298cd188c67d256dfdffe01a951d)
* r5874: Work in progress. EA list infolevel.Jeremy Allison2007-10-101-8/+75
| | | | | Jeremy (This used to be commit b033a302b59e1e72f4a72fce54abaae5c1c29f18)
* r5872: Restructure ea list code to start to fix the EA_LIST calls. This does notJeremy Allison2007-10-101-36/+104
| | | | | | work yet but it's a work in progress. Jeremy. (This used to be commit 0e399422f70ef8b3797277f6f61105fa7fe0d83a)
* r5864: Stop using 'INFO' names on find calls. Getting ready to fixup OS/2 EAJeremy Allison2007-10-101-8/+8
| | | | | | support. Jeremy. (This used to be commit a417feaa4108b443850ef6e8f0da32b79d79db59)
* r5844: Fix typo. Add cast for bug #2464 reported by jason@ncac.gwu.edu.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy. (This used to be commit a4b4766e4294c3a0172beeae7a7698160f4a2632)
* r5836: Correct fix for OS/2 bug #2335. The error return code in this case is ↵Jeremy Allison2007-10-101-2/+8
| | | | | | | | protocol level dependent. Jeremy. (This used to be commit 712ef86ac008524866615e670db7659ea674fefb)
* r5833: Revert change for bug #2335. Tested with a Win9x client and the originalJeremy Allison2007-10-101-2/+2
| | | | | | | error code is correct. I have some theories as to why this is different, I'll add some code to the torture tester to confirm. Jeremy. (This used to be commit a7a7af6815e1123f27070a2fe0a92de5b4372913)
* r5831: Along with jra's recent checkins, fix dir/xcopy of empty dirs on ↵Jim McDonough2007-10-101-2/+2
| | | | | | | OS/2. Bugs 2335, 2337. (This used to be commit 2312ac9d42adcea8576c3923cd5bc8c1851d5375)
* r5822: Actually return an error message if disk_free fails ! Pointed out by ↵Jeremy Allison2007-10-101-3/+10
| | | | | | | Ying Li <ying.li2@hp.com>. Jeremy. (This used to be commit b5d31b2caf5c4739607bf57cb7e4e0569b57012b)
* r5816: Catch the "." resume name case also.Jeremy Allison2007-10-101-3/+5
| | | | | Jeremy. (This used to be commit 479bb6ea95e45d6f9d8b5dbddd500451e39202a7)
* r5813: Fix bug found by Jim McDonough <jmcd@us.ibm.com>Jeremy Allison2007-10-101-1/+9
| | | | | | | | | Win9x can send a resume name of "..". This will cause the parser to complain (it thinks we're asking for the directory above the shared path). Catch this as the resume name is only compared, never used in a file access and replace it with "..". Jeremy. (This used to be commit c03524363f86ab88f1408f2fba2a1d76ce830301)
* r5720: Attempt to fix bug #2382 (Excel shared workbook stops working). AlsoJeremy Allison2007-10-101-32/+48
| | | | | | | incorporates part of the fix created by ke_miyata@itg.hitachi.co.jp for bug #2045 (MS-Office behavior of timestamp). Jeremy. (This used to be commit 4f3b12ac73487f4ccb37c17506af1abf5acc80cd)
* r5707: BUG 2425: remove ubran legend wrt to win98 and the DFS_PATHNAMES ↵Gerald Carter2007-10-101-1/+1
| | | | | | capability bit (This used to be commit 6511bfe84a4036e0d203858aa2f604e346c9412b)
* r5700: Fix problems where we're not pointing to the start of entry for aJeremy Allison2007-10-101-10/+11
| | | | | | couple of info levels - W2K3 always points to the start, not the name. Jeremy. (This used to be commit 76fb181031e6e3df5b653496692737fd947b7818)
* r5637: Actually test and fix the crash bugs (sorry:-).Jeremy Allison2007-10-101-6/+6
| | | | | Jeremy. (This used to be commit 4348ca48549ded8c056877befa216f0e768cb2c1)
* r5636: Re-add the allocation size - parameterized by share asJeremy Allison2007-10-101-1/+22
| | | | | | | | "allocation roundup size", by default set as 1Mb. From advice by BlueArc about Windows client behaviour. VC++ people can set this to zero to turn it off. Jeremy. (This used to be commit 833ca101772bfab65dbd79eb64f63464177f144e)
* r5548: Stop lying about allocation sizes to Windows clients. It was a niceJeremy Allison2007-10-101-20/+0
| | | | | | | idea, and aparently improved performance in some circumstances, but it breaks the VC++ compiler :-(. Not cool. Fix bug #2146. Jeremy. (This used to be commit b9f147634df0126320ffe3b9a23068e76f6c1681)
* r5513: Fix for bug #2201 - use same logic with "delete readonly"Jeremy Allison2007-10-101-4/+6
| | | | | | | when setting the delete on close flag as we do in SMBunlink calls. Jeremy. (This used to be commit 7a94eaf1811c79ae52ee78b1cd9cfc691e1d65a0)
* r5343: Fix for bug#1525. Timestamps interpreted incorrectly on 64-bit time_t ↵Jeremy Allison2007-10-101-18/+3
| | | | | | | values. Jeremy. (This used to be commit 00f8ac509aaf2f40a067f5fe5c7699ae6f26571e)
* r5287: fix build problem when HAVE_POSIX_ACL not definedHerb Lewis2007-10-101-0/+6
| | | | (This used to be commit 2bd0253c11977122b195dc2f685d5367869973fd)
* r5165: BUG 2295: always use get_local_machine_name() rather than digging in ↵Gerald Carter2007-10-101-3/+2
| | | | | | the gloval variable 'local_machine' (This used to be commit 6a6e4af46a5c0a693a3dd9d558a4d1c1e5d72d95)
* r5160: First cut at refactoring of directory code to handle non-wildcardJeremy Allison2007-10-101-6/+9
| | | | | | | directory match more efficiently. Passes RAW-SEARCH under valgrind but needs more testing (which I'll do later today :-). Jeremy. (This used to be commit 0b04dd9d0c6d1fe02d1b5e43f203577bf5466f33)
* r5154: Tidy up interface a little.Jeremy Allison2007-10-101-3/+1
| | | | | Jeremy. (This used to be commit a38eeb765f4c744ca7bf0aca86bb448240ad295d)
* r5152: Restructure the directory handling code, stop using void * pointersJeremy Allison2007-10-101-7/+6
| | | | | | | | | that just allow the wrong pointer to be assigned :-) and make the interface more consistent. Fix the FreeBSD directory problem. Last thing to do is to add the "singleton" directory concept from James Peach's code. Jeremy. (This used to be commit cfa8150fd9932470cb8f3b5e14c0156dda67125d)
* r5063: Shamelessly steal the Samba4 logic (and some code :-) for directoryJeremy Allison2007-10-101-76/+18
| | | | | | | | | | | evaluation. This stops us from reading the entire directory into memory at one go, and allows partial reads. It also keeps almost the same interface to the OpenDir/ReadDir etc. code (sorry James :-). Next I will optimise the findfirst with exact match code. This speeds up our interactive response for large directories, but not when a missing (ie. negative) findfirst is done. Jeremy (This used to be commit 0af1d2f6f24f238cb05e10d7d53dcd5b5e0f5f5d)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-20/+20
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r4007: Fix bug #2088 - ensure inherit permissions is only applied on a new file,Jeremy Allison2007-10-101-2/+2
| | | | | | not an existing one. Jeremy. (This used to be commit fbbdb72cf1adfe567112556626f26b031747f440)
* r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | consistent enum type for Protocol extern. Jeremy. (This used to be commit 65dfae7ea45d4c9452b2a08efa09b01d870142f3)
* r3895: Fix for bug #2045. May also fix other timestamp bugs with ExcelJeremy Allison2007-10-101-7/+13
| | | | | | | | | (Volker please test). Setting a last write timestamp from Windows overrides any subsequent write timestamp changes and must be immediately seen by and findfirst/findnexts. This is a racy solution, but should work most of the time. This may also fix #1061, not sure. Jeremy. (This used to be commit 47bab92c0b062f3fefbb4fd4a09852e1c829a7f9)
* r3889: Only set mtime from pending_modtime if it's not already zero...Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 984c3506351ba97f74813d678424858508c4197a)
* r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.Jeremy Allison2007-10-101-27/+40
| | | | | | Use def_acl everywhere instead of dir_acl. Jeremy. (This used to be commit d28611c960f87830aa8449725951984aa155b089)
* r3814: At least use a proper constant name (aRONLY :-) not a number.Jeremy Allison2007-10-101-2/+2
| | | | | | That way we can at least remember why we did this :-). Jeremy. (This used to be commit d84f5f8cc10f89d5fbd6cfb694bccfbd1c3d8a3f)
* r3811: Believe it or not, but this patch seems to be necessary. If someone ↵Volker Lendecke2007-10-101-2/+11
| | | | | | | | | | | | | | | | sets a folder icon in the start menu and saves the profile on a samba server, after logging in again this setting is gone. Why is this? The folder for which the icon is set must have the read only flag set. If it is not set, the desktop.ini file (the file containing the icon reference) inside that folder is ignored. lp_profile_acls is a hack for such a situation, so overload this parameter with another profile-related hack. Volker (This used to be commit b8d888000eb7456c7620e9a783d6f1b3ba4c8985)
* r3794: Added set posix acl functionality into the UNIX extensions code.Jeremy Allison2007-10-101-0/+38
| | | | | | | One part missing - delete file acl (to be added asap). No client code yet, also needs testing with valgrind. Jeremy. (This used to be commit 6101ec2247c182fde6ea3e7e1f64a92b353ec4e8)
* r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison2007-10-101-0/+1
| | | | | | and port to Samba4. Jeremy. (This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)
* r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison2007-10-101-3/+194
| | | | | | | | | Need to add printout functions in client and set posix acl in server. SteveF - take a look at this for the cifsfs client ! Once this is working and tested the next step is to write this up for the UNIX extensions spec. documents. Jeremy. (This used to be commit 1bd3f133442a472b4718b94a636f2fec89a2e0dc)