summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10136: Fix for bug #3060 from Leo Weppelman <leo@wau.mis.ah.nl>.Jeremy Allison1-1/+1
Ensure SMBcreate truncates the file if it exists. Jeremy. (This used to be commit 9014b0ddcbd87c98613f06033718e4091e3be21c)
2007-10-10r10133: Fix bug #3044. open-exec is read-only.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ed644d4014c3dc6c0508e94470c277599b1db933)
2007-10-10r10068: Use prctl(PR_SET_DUMPABLE) to make sure we can always leave a goodJames Peach1-0/+12
looking corpse on Linux. (This used to be commit 7c97a1bcc34892d7bf697b9421ba8caf4061d9b5)
2007-10-10r9985: Move the all the strict sync logic into file_sync().James Peach4-20/+15
(This used to be commit cc680bbe22b8bfc5a1900f11c2cbaeca3a9f9922)
2007-10-10r9952: Adapt better to the Windows way of taking and assigning ownership:Günther Deschner1-11/+22
* Users with SeRestorePrivilege may chown files to anyone (be it as a backup software or directly using the ownership-tab in the security acl editor on xp), while * Users with SeTakeOwnershipPrivilege only can chown to themselves. Simo, Jeremy. I think this is correct now. Guenther (This used to be commit 1ef7a192eed457d302a08c692bb54a73a1af4afd)
2007-10-10r9946: allow the priv-based chown (se_take_ownership) to chown to other usersGünther Deschner1-1/+0
(not only to the current_user.uid). Jeremy, please have a look. Guenther (This used to be commit 8e48e8936ed59ed8d50b6eaa9954749168de3138)
2007-10-10r9584: Fix a race condition in Samba 3. If two files are opened ↵Volker Lendecke1-0/+9
simultaneously with NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with two or more times NT_STATUS_OK as EEXIST is not correctly handled. Jeremy, please look closely at this. You can easily verify this by adding a smb_msleep(100) to the top of open_file_ntcreate and run the new samba4 torture test. It does also happen without the msleep, but not as reliably. Thanks, Volker (This used to be commit 58b9e48df03098160f39607d869a3c8e10860ba4)
2007-10-10r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.Jeremy Allison2-5/+5
Jeremy. (This used to be commit b242f278601e1a23c9116009482e802326d418f7)
2007-10-10r9532: Fix for bug #2152, championed by Neil Hoggarth ↵Jeremy Allison1-4/+4
<neil.hoggarth@physiol.ox.ac.uk>. Jeremy. (This used to be commit d29a45565d955e655b9b5a06039be39efc9e021b)
2007-10-10r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2-8/+8
UNIX vendor not understanding abstract data types :-(. Jeremy. (This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
2007-10-10r9457: Attempt to fix bug #3010 by handling END_OF_DIRECTORY_OFFSETJeremy Allison1-1/+6
consistently. Jeremy. (This used to be commit ac8f22a328d878f064277638d63446bf68b68dfd)
2007-10-10r9293: Fix error path memory leak bug found by Coverity - also potential NULLJeremy Allison1-20/+28
deref bug (in unlikely error path) found by Coverity. Jeremy. (This used to be commit 9b5cc58f3abdb1945bfad340968ccabdfd040029)
2007-10-10r9290: Some error path cleanups found by Coverity. Whitespace reformatting.Jeremy Allison1-232/+277
This file need a lot of error path cleanup. Jeremy. (This used to be commit ce93e469d80bb26cda390626ba8cc55ff9c822b6)
2007-10-10r9288: Whitespace cleanup and memory leak on error path fix found by Coverity.Jeremy Allison1-55/+60
Jeremy. (This used to be commit 0b85900fc8d79c71af986bb8b6346bba7840a704)
2007-10-10r9286: Fix false positive found by Coverity - wcard must not be null.Jeremy Allison1-12/+14
Jeremy. (This used to be commit 31104e5bcfffdd48071b2062809313679f29961f)
2007-10-10r9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 openJeremy Allison1-2/+3
reply bugs. Jeremy. (This used to be commit 3ec6fc8d1e34c344f59b8c1a22f3bab556e7fa07)
2007-10-10r9126: Fix valgrind bug Volker found in interaction with new aio bufferJeremy Allison2-5/+11
flipping and oplocks. Jeremy. (This used to be commit a18c5ff3eada93e46da3f7cbd326b8dceb72e147)
2007-10-10r8963: Clean up the horrid "fake conn struct" part of MSDFS.Jeremy Allison2-18/+34
Jeremy. (This used to be commit 14dd5ab632ff9abb9582e6484187c6ee1573cdd6)
2007-10-10r8959: Make msdfs code talloc based. Fix leaks.Jeremy Allison2-135/+196
Jeremy. (This used to be commit 076023df8ea7c0f03baf8102e55d347e05542c7b)
2007-10-10r8950: Fix one more mem leak found by Gunther.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 547c6ee0a965b425719cdb834dd5d68a3a3e7117)
2007-10-10r8948: Fix valgrind bad free bug found by Gunther.Jeremy Allison1-2/+6
Jeremy. (This used to be commit ff291f4c97b76fb3e9b71a07752ca68c23011273)
2007-10-10r8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 ↵Andrew Bartlett1-1/+1
'twice'. Andrew Bartlett (This used to be commit 7adeba4036d9d83a10d8944c81ea3fab0267db21)
2007-10-10r8912: Samba 3.0 was failing from a Vista client, because it was using 'raw'Andrew Bartlett1-6/+39
NTLMSSP (not wrapped in SPNEGO). We really should have supported this anyway, but we got away with it for a while... Andrew Bartlett (This used to be commit 78f0640a4b4af8b40c0af251fd06edd97feaf1be)
2007-10-10r8798: Save one system call per SMB. smb_run_idle_events right now is only ↵Volker Lendecke1-4/+0
used to close idle pdb_ldap connections, and from my point of view this can wait until normal timeout handling, this does not need to be done per client request. Volker (This used to be commit 404b817d7294fbea64f0fca019406c5c7458e386)
2007-10-10r8782: Fix bug #2918. The problem was using Inbuffer to push a deferred open ↵Jeremy Allison1-5/+7
message onto the queue when we're in a chained message set - we're actually processing a different buffer then. Added current_inbuf as a static inside smbd/process.c to ensure the correct message gets pushed and processed. Jeremy. (This used to be commit ccef7581717bff6145ffc386d5be24d6f42634cb)
2007-10-10r8697: BUG 2908: make sure to allow for the trailing NULLGerald Carter1-2/+1
(This used to be commit 3b505a824365222352be6a5ad2fb26586415a7a3)
2007-10-10r8695: Patch from James Peach for hires timestamps and efficientJeremy Allison1-4/+34
notify code. Bugid #2285. The last commit by me on behalf of James as he will be able to do his own now :-). Jeremy. (This used to be commit 524298b3f32f478e3750d805c5dc3b8fbe40d8d2)
2007-10-10r8689: Fixes bugid #2889 for sure. Turns out the OS/2 dos box doesn't like ↵Jeremy Allison1-14/+21
two offsets to be identical. Make offsets for . and .. different (and explicit). Jeremy. (This used to be commit 217cc66e46b3df35a66fed4055bd5032aab4d73f)
2007-10-10r8655: Still trying to fix #2889. We don't need the DPTR_MASK afterJeremy Allison1-9/+2
all, now thinking it might be to do with flags2... Jeremy. (This used to be commit a3ceabf7c678b5e7f77cc073cf535498ffc67eb6)
2007-10-10r8615: Added "acl group control". Defaults to off. Docs to follow.Jeremy Allison1-34/+127
Jeremy. (This used to be commit f7b169ed57de81229c3b9089a05f4e73ea39010c)
2007-10-10r8610: If I'm going to do a debug level zero, at least make it useful.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 99dae22dcf4050b5aacbb2cd4d2a08a183611402)
2007-10-10r8609: Fix for bugid #2889. I think the problem is that the top 16 bits of ↵Jeremy Allison2-3/+11
the "server state" field must be non-zero. As we're using the 32 bit field as an offset then normally this field will be zero. W2K3 fills this field with a counter enumerating the number of SMBsearch calls on this directory - starting at 1. Add back the 1<<31 bit flag DPTR_MASK to ensure this is non-zero - with better checks on use. Jeremy. (This used to be commit 6415657942c49ea51d4e4f4ee2189c7d70b9c5fa)
2007-10-10r8556: Fix bug #2878 - Norton commander not running on OS/2 client - we wereJeremy Allison1-1/+1
not correctly returning the requested open mode. Thanks to alex@infobit.ru for reporting this. Jeremy. (This used to be commit 7ff7211b808e708c00a3b0f57be8d1af3c632bd7)
2007-10-10r8552: Warning fix from jason@ncac.gwu.edu.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8558001b38786b7ff16d90d80d183b0277d74e16)
2007-10-10r8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.Jeremy Allison1-2/+0
Jeremy. (This used to be commit 4d69a682b3ab4f660455e6ea5a2970481a6ccffc)
2007-10-10r8545: Fix oplock bug introduced by oplock code "simplification" :-).Jeremy Allison1-5/+5
We *always* reply to an exclusive oplock break message even if we have no record of the oplock (and we always did before 3.0.20pre2). Jeremy. (This used to be commit b1a94aadf25e94dcc168ea3a5ae008f4e84ff296)
2007-10-10r8531: Fix a memleakVolker Lendecke1-0/+1
(This used to be commit ebf0cda797da2c63aa0033f034573f6d5485b57a)
2007-10-10r8521: Another micro-step: Don't pass down a flag where not necessary.Volker Lendecke1-14/+16
Volker (This used to be commit 5f51b72ec7abea3588f76d22a8daa434cdf90eb0)
2007-10-10r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.Volker Lendecke1-2/+2
Volker (This used to be commit 1993e409a53908d299f0b2b0e8e5546236fd580b)
2007-10-10r8492: open_mode_check does not use the parameter p_flags, so remove it.Volker Lendecke1-3/+2
Volker (This used to be commit ed9cb0061dbbc7677d5968581fde46c89febb6c0)
2007-10-10r8472: abartlet's patch for parallel ntlmssp ↵Gerald Carter2-18/+94
supporttrunk/source/smbd/sesssetup.c (This used to be commit aab17a7095a18b243a271f8f3f824facd6932f23)
2007-10-10r8457: Fix from Marcel Müller <mueller@maazl.de> to ensureJeremy Allison1-1/+1
we correctly set the return packet size to include the pad bytes in reply_readbmpx(). Jeremy. (This used to be commit 3070ec288c64880485ed159d512e91346f5d1b4e)
2007-10-10r8454: Fix Bug #2502Günther Deschner1-11/+0
Removing deprecated lp_min_password_length (the same functionality is provided by the account policy). Note that we now allow to set passwords less then 5 chars (if the admins decides to do so by setting the account policy). Thanks to Daniel Beschorner <db@unit-netz.de> Guenther (This used to be commit fd91378925f7e3541df4f31bd461dabc1da523a9)
2007-10-10r8402: allow to build with --enable-aio-support.Günther Deschner1-3/+3
Guenther (This used to be commit 49351d91c59b2e96ebddb2d721e660dcd90ec815)
2007-10-10r8292: Tidy up function comments.Jeremy Allison1-2/+10
Jeremy. (This used to be commit 8de6b1592ad205f59c44ed30102a56594f65e555)
2007-10-10r8290: Fix for bug in SMBwriteBraw where we incorrectlyJeremy Allison1-1/+2
returned the number of bytes written. Patch from Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 81e7a4a2cfd2d4764d757702f17635e5007e59de)
2007-10-10r8231: Patch from James Peach to fix the IRIX build.Volker Lendecke1-4/+4
Thanks, Volker (This used to be commit 1ebb3aa0d5007c470862e3adca92d2941ffa294c)
2007-10-10r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison17-1722/+2230
tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10r7985: Add "acl map full control", true by default, to allow people to changeJeremy Allison1-7/+7
mapping of rwx to full control or not. Requested feature at SambaXP. Jeremy. (This used to be commit c870579f4cd91dc9e030134dd367109aed3e3469)
2007-10-10r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.Jeremy Allison1-25/+36
Looking forward to the day he can commit these himself :-). Jeremy. (This used to be commit 12ff2978295a84fe6177af129c495a0021befacc)