summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r5720: Attempt to fix bug #2382 (Excel shared workbook stops working). AlsoJeremy Allison4-49/+119
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 Allison3-9/+9
Jeremy. (This used to be commit 4348ca48549ded8c056877befa216f0e768cb2c1)
2007-10-10r5636: Re-add the allocation size - parameterized by share asJeremy Allison2-5/+26
"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-10r5632: Fix infinite looping bug found by nasty BlueArc test :-).Jeremy Allison1-0/+20
When finding a singleton directory remember that we're at the end and don't continuously return the same name. Jeremy. (This used to be commit 3da50060279609f534aeffe6338b0a2b07d0e8f1)
2007-10-10r5630: This may be a mistake ... needs more cthon investigation.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 0322c5884666bf62a37de069a1cd0ae888ac4285)
2007-10-10r5623: Horrible band-aid patch to fix Blue-Arc torture tester.Jeremy Allison1-1/+7
I know this isn't right but will work until I can refactor the deny mode code with the Samba4 algorithm. Jeremy. (This used to be commit f38f464c722a441402e2d6e2622bcce9227c33b5)
2007-10-10r5616: Forgot about the sticky bit on directories (commonly set on /tmp). If ↵Jeremy Allison1-0/+16
this is set then only the owner or root can delete a file. We now use the same algorithm to check file delete. Jeremy. (This used to be commit eb18104d10428a5daef2316088edc3dbaff58708)
2007-10-10r5608: BUG 2399 - removing dead code (not finished with bug yet).Gerald Carter1-13/+0
(This used to be commit 48353c199cfbfd56760b34ccf99b089bb627e2ed)
2007-10-10r5607: Fix for bug #2399 - ensure we use SMB_VFS_STAT instead of statJeremy Allison1-1/+2
when checking for existance of a pathname. Jeremy. (This used to be commit 08aac40e3ac0911673ea7e6ef35ba7fe9822d2fd)
2007-10-10r5548: Stop lying about allocation sizes to Windows clients. It was a niceJeremy Allison2-24/+4
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-10r5530: Keep the TRANS call up to date with the NTCreateX call.Jeremy Allison1-1/+11
Jeremy. (This used to be commit 98a07e1520d6fb1f6f5320bc70ac33d4c5052ea6)
2007-10-10r5524: Don't do share mode checks on can_delete if open, the rest of the openJeremy Allison2-20/+26
code will do this correctly. More for bug #2201. Jeremy. (This used to be commit faecf639efdecf949e91184d041489aa54e8664f)
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-10r5510: Optimisation to only do can_delete check if client asks for ↵Jeremy Allison1-0/+9
FILE_SHARE_DELETE. Not completely correct but will catch the XP SP2 problem. Jeremy. (This used to be commit 1e2d0fcdbb72735f8b53d9faaec07d711ae236d0)
2007-10-10r5508: Typo - ZERO_STRUCT -> ZERO_STRUCTP.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 76e1d90aef45ccc089492d962e0f284e2e4d8e7a)
2007-10-10r5497: Fix for DIR1 failures in build farm. It struck me that weJeremy Allison1-2/+6
only care about failing with ACCESS_DENIED if we can't delete with DELETE access requested. All other errors will be processed as normal. Jeremy. (This used to be commit 360800592c55c9dd8fd787944b3d482f2b9eb951)
2007-10-10r5355: Fill in the access check code for POSIX ACLs to *really* fix bug #2227.Jeremy Allison1-2/+148
Jeremy. (This used to be commit ecc134a2e3546ed77ab6f1dafc0249c78897e1f3)
2007-10-10r5349: After talking with Jerry, reverted the addition of account policies toGünther Deschner1-2/+2
passdb in 3_0 (they are still in trunk). Guenther (This used to be commit fdf9bdbbac1d8d4f3b3e1fc7e49c1e659b9301b1)
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-10r5324: In order to process DELETE_ACCESS correctly and return access deniedJeremy Allison3-7/+40
to a WXPSP2 client we must do permission checking in userspace first (this is a race condition but what can you do...). Needed for bugid #2227. Jeremy. (This used to be commit da23577f162b6bdca7d631fca256a9b3b04043e4)
2007-10-10r5290: Fix for bug #2323 - plaintext problem with WinXP.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 3e10c36cb50462d1f220029e8fa64c3b6e554e6c)
2007-10-10r5287: fix build problem when HAVE_POSIX_ACL not definedHerb Lewis1-0/+6
(This used to be commit 2bd0253c11977122b195dc2f685d5367869973fd)
2007-10-10r5268: Fix bug #2310, only do 16-bit normalization on small dfreeJeremy Allison1-5/+5
request. Jeremy. (This used to be commit 96dfec739a7ab6ac082d530ca2b771f9d6acabc6)
2007-10-10r5225: fix mem leak and debug messageStefan Metzmacher1-1/+2
metze (This used to be commit c0ee5922cdd4e57007e3a8f16cae71550fb38f2e)
2007-10-10r5183: Ensure we correctly set the per-connection "case_sensitive" setting.Jeremy Allison3-18/+23
Rename dptrs_open to the more correct dirhandles_open. Remove old #if 1. Jeremy. (This used to be commit c43bae306a18f5716acbe8571f4f414873400cb1)
2007-10-10r5165: BUG 2295: always use get_local_machine_name() rather than digging in ↵Gerald Carter4-18/+15
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 Allison5-80/+191
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)