summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r5922: Fix for NASTY NASTY bug #2501. All my fault :-(. Brown paper bag time.Jeremy Allison1-0/+7
Stops Win98 from looping doing findnext on a singleton directory. More testing very welcome. Jeremy. (This used to be commit e32a58742e618a49934e19b72cd5222c9666cf95)
2007-10-10r5905: Fix two warnings found by AIX. They might actually be bugs on 64-bitVolker Lendecke2-2/+3
platforms. Volker (This used to be commit f7218d1c66ae91fa79f5a40e0ba618beba038bbc)
2007-10-10r5893: Get us to pass some of the Samba4 EA tests. EA_LIST seems to beJeremy Allison2-45/+92
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-10r5854: Fix coredump when OS/2 checks for long file name support (with .+,;=[].).Jim McDonough1-7/+5
Bugzilla 2338. Thanks to Guenter Kukkukk <guenter.kukkukk@kukkukk.com> (This used to be commit c13736287104d96fcc87ada0784eb43c6e373171)
2007-10-10r5848: Fix inherit owner to chown directories in a porable and secure way (fromJeremy Allison1-37/+25
just secure on Linux). Idea from tridge. Jeremy. (This used to be commit c0924a497b51c126a1db55f48cbf461855dd6c6a)
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-10r5843: Removed unused variable - pointed out by jason@ncac.gwu.edu in bugid ↵Jeremy Allison1-3/+1
#2460. Jeremy. (This used to be commit 1f988333ecaedfb21a8deee6eebb9bd4de91bfd6)
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-10r5825: Fix one more DISK_FREE call - spotted by Ying Li <ying.li2@hp.com>.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 19e017a78a90aca5f2d39a3c28472b9a595acbf3)
2007-10-10r5822: Actually return an error message if disk_free fails ! Pointed out by ↵Jeremy Allison3-7/+26
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-10r5812: We missed some RESOLVE_DFSPATH calls on pathnames for older calls.Jeremy Allison1-0/+7
Jeremy. (This used to be commit 0b0b8686f3c4261e9b1070f4b2968e6f4ed4bbd7)
2007-10-10r5792: Added new parameter "inherit owner". If set on a share, the created ↵Jeremy Allison3-39/+178
file/directory will be owned by the same uid as the containing directory. Doing this for directories in a race-free mannor has only been tested on Linux (it depends on being able to open a directory and then do a fchown on that file descriptor). If this functionality is not available then the code silently downgrades to not changing the ownership of a new directory. This new parameter (docs to follow) finally makes it possible to create "drop boxes" on Samba, which requires all files within a directory to be commonly owned. A HOWTO on how to use this will follow. Jeremy. (This used to be commit 2e1f727184b9d025d2e3413bdd3d01d5ca803a41)
2007-10-10r5757: Fix erroneous debug message - noticed by William Jojo <jojowil@hvcc.edu>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fd1999f1d73b871501ff859422c3989b496231a8)
2007-10-10r5731: Get delayed write semantics closer to W2K3. We need to store 2 times.Jeremy Allison3-1/+13
This may fix bug #2382. Jeremy. (This used to be commit a27c351e6beafc6609790a9bb9a3d0a1331e8f35)