summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6279: Convert the RAP enum functions to the pdb_search API. Who is using thisVolker Lendecke1-45/+56
nowadays? This looks rather broken, but survives basic tests with 'net'. Volker (This used to be commit 7ae1b94e3eda574729272238cd08e83a33278a7e)
2007-10-10r6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the ↵Jeremy Allison2-4/+10
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-10r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke2-9/+3
initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
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-10r6252: Re-order position of become_root() to allow directory to beJeremy Allison1-3/+4
read first. Jeremy. (This used to be commit 9fa32282ebe78c3ecd433e8ece600881774560b7)
2007-10-10r6249: Get the comparison the right way around...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1d542eee571b80259568d49bd5dc2eb14fd80d01)
2007-10-10r6242: after talking to jeremy, we can actually consolidateGerald Carter2-9/+11
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-10r6240: Fix for bug #2581. Add size limit (in kb) to stat cache.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 836b73d0018c3137b7a924b6345e69ae5d23431d)
2007-10-10r6237: fix my breakage of WinXP sp2 msdfs support.Gerald Carter2-6/+17
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-10r6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.auJeremy Allison2-1/+9
Jeremy. (This used to be commit dbf021a2e04e74dd7f072c927a34043fd8c3ae30)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis16-70/+55
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
2007-10-10r6204: Fix double-free of talloc context.Jeremy Allison1-1/+0
Jeremy. (This used to be commit d5c56d25741e148ccae7c91f9b0157498d7ff148)
2007-10-10r6203: Fix attribute return on creating a directory with nttrans_create.Jeremy Allison3-46/+61
Fix strange allocation semantics of openX. Jeremy. (This used to be commit da5a8b539d39d2765de22c3e55e9f284992ff966)
2007-10-10r6200: Returned access should contain share mode as well as open mode.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3aa784c07723430b429adc9abab9cc7c1325cb35)
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 Allison3-25/+35
Jeremy. (This used to be commit 0c7de7615bf0edbb36a3afee445db13a71e26d2e)
2007-10-10r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global ↵Jeremy Allison8-202/+165
nastyness. Jeremy. (This used to be commit d3379fe61bb934082b51a37adac232a96bafcf46)
2007-10-10r6169: Fix bug #2563. Infinite loop on non-existant file with findnext.Jeremy Allison1-3/+2
Jeremy (This used to be commit 065ab9182dc39557b8c26d3d110abe9963ad9568)
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-10r6160: Ensure allocation size is correctly returned for OpenX. Only set ↵Jeremy Allison2-34/+51
allocation on create/truncate for nttrans. Jeremy. (This used to be commit fb05ac4c03eec21f3f18668610022ebfa6d6bf4a)
2007-10-10r6152: Correctly check OpenX open modes.Jeremy Allison1-13/+35
Jeremy. (This used to be commit 326124a7b366feaca6162f7defae89618b005adc)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman3-8/+18
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in ↵Jeremy Allison2-29/+126
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 Allison2-57/+150
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-10r6124: Fix for bug #2242 from Tom Lackemann <cessnatomny@yahoo.com> - don'tJeremy Allison1-7/+20
set SD on an NTtransact create unless we created the file. Jeremy. (This used to be commit b42eaf424e34544fae3f0fc473694e61dda2a11c)
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-10r6106: Fix bug #2551. It turns out that the incoming flags2 flag ↵Jeremy Allison1-4/+11
FLAGS2_LONG_PATH_COMPONENTS determines if a reply is uppercased on a SMBsearch request, not the protocol level. This could clear up quite a few hacks going forward I think. Jeremy. (This used to be commit 8c64cd368fdd2c5a4b361904855c135ade3f449e)
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 Allison2-1/+2
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-10r6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as ↵Jeremy Allison1-1/+4
this SMB is DOS codepage only. Jeremy. (This used to be commit 56cc756b9d14db23b2640c347f729fa90dad9b6a)
2007-10-10r6060: It's not quite accurate to say not having write access causes a groupJeremy Allison1-8/+9
entry never to match - it matches but if doesn't grant access is recorded so the "other" entry isn't subsequently checked. Fix the algorithm. Jeremy. (This used to be commit e3c7d08bb68f51bc05768467feb0af896a059e91)
2007-10-10r6057: Don't put the assert in the wrong place :-).Jeremy Allison1-4/+3
Jeremy. (This used to be commit 6609b209f513f0859040686a88ee6c7106c06008)
2007-10-10r6055: Fix algorithm. If any of the primary or supplementary group ids matchJeremy Allison1-2/+18
a "allow" entry of GROUP or GROUP_OBJ, then access is allowed. It doesn't terminate on the first match. Added debug to show where the match occured (or didn't). Jeremy. (This used to be commit 81fb3372867fa66a092841222e02bd1c104b2d19)
2007-10-10r6053: Fixup dfs path with the new wildcard parser code split out.Jeremy Allison4-30/+25
Jeremy. (This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)
2007-10-10r6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel ↵Jeremy Allison2-50/+109
"read-only" issue. Jeremy. (This used to be commit 80e788143a6c3d973d3b8e57d91ca5c4a83605b2)
2007-10-10r6048: Split out the check_path_syntax into a findfirst/next/wildcard version.Jeremy Allison2-26/+136
The semantics are different with wildcards. Jeremy. (This used to be commit f8b67159fc1c8224a7caf41409b2654846f34a2d)
2007-10-10r6044: Ensure the old search calls always ask mask_match to translateJeremy Allison1-2/+2
patterns like ????????.??? - even if using an NT1 protocol. Matches W2K3 behavior. Jeremy. (This used to be commit 67f6473f50f3284b9ccbe6f983f23cd42b3b7c9f)
2007-10-10r6022: Fix for bug #2533. Incorrect dir listings from OS/2 clients.Jeremy Allison1-7/+0
Jeremy. (This used to be commit cf8949f684ee9adcd35d56d923b2f5733efc05ac)
2007-10-10r6020: Never do NT status codes with protocols before NT1 as we don't get ↵Jeremy Allison1-0/+4
client caps. Jeremy. (This used to be commit 4868e4202775c1c0a60828e0c6f6fa23cf8346e1)
2007-10-10r6014: rather large change set....Gerald Carter1-0/+2
pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
2007-10-10r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not ↵Jeremy Allison1-1/+1
SMB_ACL_MASK. Fix bug #2521. Jeremy. (This used to be commit 21e3cf2f8f6129324ebb799f959f8d2afe0285d2)
2007-10-10r5961: final round of compiler warning fixes based on feedback from Jason MaderGerald Carter1-2/+2
(This used to be commit 9e77da9320c900b3e437d534e31fa5ff81e9acfd)
2007-10-10r5960: Integer wrap paranoia when reading EA buffers.Jeremy Allison1-4/+23
Jeremy. (This used to be commit e61f7a6b72fe6186a5a56f23f9133c5b1a49bb89)
2007-10-10r5958: BUG 1843: patch from james peach to fix quotas (with no soft limits) ↵Gerald Carter1-5/+10
on IRIX (This used to be commit aeb3cea54ea2e050aef38e38fd8519510a14a184)
2007-10-10r5952: BUG 2469: patch from Jason Mader to cleanup compiler warning when not ↵Gerald Carter1-4/+8
using krb5 (This used to be commit 19a639ac468237b22f16d917c0150fbf10c9623e)
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)