summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r5157: BUG 2266: conditionally include rpc/nettype.h to work around missing ↵Gerald Carter1-0/+2
header onf FreeBSD4 (This used to be commit 314da604735696da4cf350f35d84592356e31861)
2007-10-10r5154: Tidy up interface a little.Jeremy Allison3-6/+9
Jeremy. (This used to be commit a38eeb765f4c744ca7bf0aca86bb448240ad295d)
2007-10-10r5152: Restructure the directory handling code, stop using void * pointersJeremy Allison5-258/+198
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-10r5100: We should only care about case-sensitivity when *reading* an incomingJeremy Allison1-2/+2
filename, not returning one. Makes us pass one more Samba4 RAW-SEARCH test. Jeremy. (This used to be commit 228d1e1649a0b4952eb5603cb5e1851cdc8f0c72)
2007-10-10r5098: Next round build-fixingVolker Lendecke1-1/+1
(This used to be commit 175ec3ed518704920c7c55b050ec1cc00da7f560)
2007-10-10r5096: Attempt to fix the buildVolker Lendecke1-1/+1
(This used to be commit 5f34139b68460f6fb1046e2b97f16dbeff3fb136)
2007-10-10r5069: Ensure we return the correct errors for old-style search requests.Jeremy Allison1-6/+9
Jeremy. (This used to be commit ef73dfe0d6c3b7f71109e32115d528ecdbe562ea)
2007-10-10r5063: Shamelessly steal the Samba4 logic (and some code :-) for directoryJeremy Allison5-221/+251
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-10r5014: Split out the request to send an async level II oplock break into aJeremy Allison2-18/+59
new function to make it clear when it's called. Remove async parameter that had been overloaded into request_oplock_break. Inspired by work from Nadav Danieli <nadavd@exanet.com>. Jeremy. (This used to be commit 05697fb50236dfc28e81f8b3900eac17cace57c1)
2007-10-10r5002: Ensure we can't remove a level II oplock without having theJeremy Allison1-17/+19
shared memory area locked. This need to be in 3.0.11. Pointed out by Nadav Danieli <nadavd@exanet.com>. Jeremy. (This used to be commit 47ed16aefbdcb6257101c6b78c93eeb7cf048185)
2007-10-10r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).Günther Deschner1-2/+2
Does automated migration from account_policy.tdb v1 and v2 and offers a pdbedit-Migration interface. Jerry, please feel free to revert that if you have other plans. Guenther (This used to be commit 75af83dfcd8ef365b4b1180453060ae5176389f5)
2007-10-10r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries().Günther Deschner1-1/+1
This allows the ldap-backend to search much more effeciently. Machines will be searched in the ldap_machine_suffix and users in the ldap_users_suffix. (Note that we already use the ldap_group_suffix in ldapsam_setsamgrent for quite some time). Using the specific ldap-bases becomes notably important in large domains: On my testmachine "net rpc trustdom list" has to search through 40k accounts just to list 3 interdomain-trust-accounts, similiar effects show up the non-user query_dispinfo-calls, etc. Also renamed all_machines to only_machines in load_sampwd_entries() since that reflects better what is really meant. Guenther (This used to be commit 6394257cc721ca739bda0e320375f04506913533)
2007-10-10r4830: Fix for problem noticed by Guy Harris <gharris@apple.com>, returnJeremy Allison1-2/+4
correct DOS/NT error code on transact named pipe on closed pipe handle. Jeremy. (This used to be commit 599c281464fa96725c3ee6dd3c5ee03ea81314ea)
2007-10-10r4736: small set of merges from rtunk to minimize the diffsGerald Carter1-0/+4
(This used to be commit 4b351f2fcc365a7b7f8c22b5139c299aa54c9458)
2007-10-10r4704: Fix encoding while receiving of a message which was actually sent ↵Alexander Bokovoy1-4/+4
using STR_ASCII. Patch from Grigory Batalov <bga@altlinux.org> (This used to be commit dddd5726462c13374788713ad5ddcbdf9ee7b439)
2007-10-10r4539: patch from Rob -- adding real printcap name cache function to speed ↵Gerald Carter3-46/+42
up printcap reloads (This used to be commit 1cad5250932b963c2eb9b775221b13db386d601b)
2007-10-10r4337: Produce a slightly different error message is lanman authentication isAndrew Bartlett1-3/+8
disabled, rather than simply unavailable. Andrew Bartlett (This used to be commit 1c70583a19c9f741a41d08c0b994fccb66eeb0bf)
2007-10-10r4330: Fix for bug found by Rob Foehl <rwf@loonybin.net>. Remember toJeremy Allison1-0/+2
add in the bcc length for readX on named pipes. Jeremy. (This used to be commit 1168395e6a543c51f684280b00fb8c9b8bbc6ec0)
2007-10-10r4301: One more *alloc -> SMB_MALLOC (not compiled by default).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 235a0c1698db48583a6860a3a9fca9f261544365)
2007-10-10r4295: Don't include header len in data write debug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 473babfecac87a7e1068246bddc171a464be59e5)
2007-10-10r4293: Fix inspired by debug trace from Rob Foehl <rwf@loonybin.net> - catch ↵Jeremy Allison1-2/+20
sendfile errors correctly and return the correct values we want the caller to return (-1 meaning none in correct cases). Jeremy. (This used to be commit 139c1c3488237d710ceda394c028b8dc9007bff1)
2007-10-10r4212: Ensure we only look at the bottom bit of large_readx.Jeremy Allison1-1/+3
Set the 14 word version of write if size > 0xffff as well as 64-bit offset. Jeremy. (This used to be commit 94779ccb39560bf5eecab77d70f1fa04bfcf1456)
2007-10-10r4190: When changing length calculations, get them right......Jeremy Allison2-3/+4
Jeremy. (This used to be commit 63cfa904ad186bb9d793584d319bd4a7107cc8b9)
2007-10-10r4186: Fix client & server to allow 127k READX calls.Jeremy Allison2-2/+4
Jeremy. (This used to be commit 831cb21a874601e4536c2cf76c5351e1d0defcb5)