summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6302: OS/2 fix from Marcel Müller <mueller@maazl.de>. Don't check for ↵Jeremy Allison1-1/+2
mangled names if mangled names is off. Jeremy. (This used to be commit b2330c38881baceaafe1ef6b7ce00d1b5cd8d5c7)
2007-10-10r6297: Fix bug in our trans2 secondary processing. We need to pass in theJeremy Allison1-4/+4
trans2 call info from the primary trans2 packet as it isn't present in secondary transs packets. We only need to do this for functions that satisfy more than one case in the switch statement. Found by Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 62edc3d5dc68fbfe6cd77c588791453e29274dd9)
2007-10-10r6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the ↵Jeremy Allison1-2/+5
bug, fix trans2 and nttrans secondary packet processing. We were being too strict checking the incoming packet (by 1 byte). Jeremy. (This used to be commit 3eea1ff4b7428325c7f304bcac61d6297209a4b8)
2007-10-10r6261: Tidyup message str printf. Ensure tvs struct is zeroed.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 6c9f227ef400f32def85268f411691b569d29889)
2007-10-10r6258: Fix found by OS/2 set_ea call. When setting specific info remember to ↵Jeremy Allison1-5/+20
terminate once we've done that and not "break" into the generic file metadata set code. Jeremy. (This used to be commit f1e12be9ed0ca0077bac8e5f32051758e1d84ad7)
2007-10-10r6242: after talking to jeremy, we can actually consolidateGerald Carter1-1/+1
the 2 BOOL flags in dfs_redirect() down to one since they both are used in essentially the same context (from what we can tell). Tested Win98SE, WinXP sp 1 & 2, Win2k3 sp1, and WIn2k Sp4. All dfs operations still seem to work. (This used to be commit 59ffacf59c98f2f8277d76ec22712e438fd40618)
2007-10-10r6237: fix my breakage of WinXP sp2 msdfs support.Gerald Carter1-1/+1
We did need the special case for RESOLVE_DFSPATH in the findfirst() code. Jeremy, please verify I haven't broken the allow_wcard code you added to resolve_dfs_path() (This used to be commit 29983398e2f7f1dc609d4d981e20f594918243bb)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis1-1/+1
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
2007-10-10r6203: Fix attribute return on creating a directory with nttrans_create.Jeremy Allison1-3/+11
Fix strange allocation semantics of openX. Jeremy. (This used to be commit da5a8b539d39d2765de22c3e55e9f284992ff966)
2007-10-10r6199: Only do the strange DOS error for openX, not trans2open.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 65970dfc5b8f174fe29201789d6ddcf8802ad48c)
2007-10-10r6174: Fixup T2 open call - we were returning 2 bytes short.Jeremy Allison1-7/+24
Jeremy. (This used to be commit 0c7de7615bf0edbb36a3afee445db13a71e26d2e)
2007-10-10r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global ↵Jeremy Allison1-1/+0
nastyness. Jeremy. (This used to be commit d3379fe61bb934082b51a37adac232a96bafcf46)
2007-10-10r6163: Well I never, all this time the t2open code was incorrectly dectingJeremy Allison1-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)
2007-10-10r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in ↵Jeremy Allison1-5/+90
nttrans_create. Jeremy. (This used to be commit 989fcb4c084c63f1e3b114af68ef5bc0a2fbc09e)
2007-10-10r6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.Jeremy Allison1-53/+60
Jeremy. (This used to be commit 106f91ff65acd23a7dda4d0ec89ae41ecb28153e)
2007-10-10r6138: Refactor length reading out of EA code so we can read lengthJeremy Allison1-15/+22
external to buffer. Needed to add EA code to create calls. Jeremy. (This used to be commit 7c4262d6ba48695c2622ea2eba8da6ac889ce543)
2007-10-10r6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2Jeremy Allison1-1/+7
I believe. Reported as fixed by Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 14eab937a54dd9f02f289d7e2f47c78c834714a3)
2007-10-10r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk ↵Jeremy Allison1-0/+2
<guenter.kukkukk@kukkukk.com> Jeremy. (This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)
2007-10-10r6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select ↵Jeremy Allison1-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)
2007-10-10r6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LISTJeremy Allison1-10/+2
info level. Jeremy. (This used to be commit e15c36e9497b5e92c0f743a522cd0adb96d22295)
2007-10-10r6053: Fixup dfs path with the new wildcard parser code split out.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)
2007-10-10r5960: Integer wrap paranoia when reading EA buffers.Jeremy Allison1-4/+23
Jeremy. (This used to be commit e61f7a6b72fe6186a5a56f23f9133c5b1a49bb89)
2007-10-10r5936: Fix bugs in earlier work in progress commit. Closer to properly ↵Jeremy Allison1-2/+2
supporting EA's now. Jeremy. (This used to be commit 8aa2b2617baefef004a864c4210b20a66ef89fd4)
2007-10-10r5933: We were handling setting of EA's incorrectly - we should be able to setJeremy Allison1-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)
2007-10-10r5893: Get us to pass some of the Samba4 EA tests. EA_LIST seems to beJeremy Allison1-45/+87
working - need to valgrind it to be sure. Jeremy. (This used to be commit 8b2b652c0a47298cd188c67d256dfdffe01a951d)
2007-10-10r5874: Work in progress. EA list infolevel.Jeremy Allison1-8/+75
Jeremy (This used to be commit b033a302b59e1e72f4a72fce54abaae5c1c29f18)
2007-10-10r5872: Restructure ea list code to start to fix the EA_LIST calls. This does notJeremy Allison1-36/+104
work yet but it's a work in progress. Jeremy. (This used to be commit 0e399422f70ef8b3797277f6f61105fa7fe0d83a)
2007-10-10r5864: Stop using 'INFO' names on find calls. Getting ready to fixup OS/2 EAJeremy Allison1-8/+8
support. Jeremy. (This used to be commit a417feaa4108b443850ef6e8f0da32b79d79db59)
2007-10-10r5844: Fix typo. Add cast for bug #2464 reported by jason@ncac.gwu.edu.Jeremy Allison1-2/+2
Jeremy. (This used to be commit a4b4766e4294c3a0172beeae7a7698160f4a2632)
2007-10-10r5836: Correct fix for OS/2 bug #2335. The error return code in this case is ↵Jeremy Allison1-2/+8
protocol level dependent. Jeremy. (This used to be commit 712ef86ac008524866615e670db7659ea674fefb)
2007-10-10r5833: Revert change for bug #2335. Tested with a Win9x client and the originalJeremy Allison1-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)
2007-10-10r5831: Along with jra's recent checkins, fix dir/xcopy of empty dirs on ↵Jim McDonough1-2/+2
OS/2. Bugs 2335, 2337. (This used to be commit 2312ac9d42adcea8576c3923cd5bc8c1851d5375)
2007-10-10r5822: Actually return an error message if disk_free fails ! Pointed out by ↵Jeremy Allison1-3/+10
Ying Li <ying.li2@hp.com>. Jeremy. (This used to be commit b5d31b2caf5c4739607bf57cb7e4e0569b57012b)
2007-10-10r5816: Catch the "." resume name case also.Jeremy Allison1-3/+5
Jeremy. (This used to be commit 479bb6ea95e45d6f9d8b5dbddd500451e39202a7)
2007-10-10r5813: Fix bug found by Jim McDonough <jmcd@us.ibm.com>Jeremy Allison1-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)
2007-10-10r5720: Attempt to fix bug #2382 (Excel shared workbook stops working). AlsoJeremy Allison1-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)
2007-10-10r5707: BUG 2425: remove ubran legend wrt to win98 and the DFS_PATHNAMES ↵Gerald Carter1-1/+1
capability bit (This used to be commit 6511bfe84a4036e0d203858aa2f604e346c9412b)
2007-10-10r5700: Fix problems where we're not pointing to the start of entry for aJeremy Allison1-10/+11
couple of info levels - W2K3 always points to the start, not the name. Jeremy. (This used to be commit 76fb181031e6e3df5b653496692737fd947b7818)
2007-10-10r5637: Actually test and fix the crash bugs (sorry:-).Jeremy Allison1-6/+6
Jeremy. (This used to be commit 4348ca48549ded8c056877befa216f0e768cb2c1)
2007-10-10r5636: Re-add the allocation size - parameterized by share asJeremy Allison1-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)
2007-10-10r5548: Stop lying about allocation sizes to Windows clients. It was a niceJeremy Allison1-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)
2007-10-10r5513: Fix for bug #2201 - use same logic with "delete readonly"Jeremy Allison1-4/+6
when setting the delete on close flag as we do in SMBunlink calls. Jeremy. (This used to be commit 7a94eaf1811c79ae52ee78b1cd9cfc691e1d65a0)
2007-10-10r5343: Fix for bug#1525. Timestamps interpreted incorrectly on 64-bit time_t ↵Jeremy Allison1-18/+3
values. Jeremy. (This used to be commit 00f8ac509aaf2f40a067f5fe5c7699ae6f26571e)
2007-10-10r5287: fix build problem when HAVE_POSIX_ACL not definedHerb Lewis1-0/+6
(This used to be commit 2bd0253c11977122b195dc2f685d5367869973fd)
2007-10-10r5165: BUG 2295: always use get_local_machine_name() rather than digging in ↵Gerald Carter1-3/+2
the gloval variable 'local_machine' (This used to be commit 6a6e4af46a5c0a693a3dd9d558a4d1c1e5d72d95)
2007-10-10r5160: First cut at refactoring of directory code to handle non-wildcardJeremy Allison1-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)
2007-10-10r5154: Tidy up interface a little.Jeremy Allison1-3/+1
Jeremy. (This used to be commit a38eeb765f4c744ca7bf0aca86bb448240ad295d)
2007-10-10r5152: Restructure the directory handling code, stop using void * pointersJeremy Allison1-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)
2007-10-10r5063: Shamelessly steal the Samba4 logic (and some code :-) for directoryJeremy Allison1-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)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-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)