summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23151: Re-arrange the logic so it looks identical to theJeremy Allison1-8/+14
"file existed" case above. This has no functional change but is easier to see that it's doing the same thing. Jeremy. (This used to be commit 0a7d8362be8379b77e6afb803ab88d726ae7877d)
2007-10-10r23150: Fix Samba3 in the build farm again. In the case where theJeremy Allison1-0/+17
file was being created and we go into the race condition check, we were testing for compatible open modes, but were not breaking oplocks in the same way as if the file existed. This meant that we weren't going into the code path that sets fsp->oplock = FAKE_LEVEL_II_OPLOCK if the client didn't ask for an oplock on file create. We need to do this as internally it's what Windows does. Jeremy. (This used to be commit 9b9513856e9e9f84d5acd94e3e3d6e73358ee7dc)
2007-10-10r23107: Fix renames on file descriptors that are supposed to overwrite theJeremy Allison1-3/+4
target. Needs merging for 3.0.25a (sorry). Jeremy. (This used to be commit a56bce3d44e89b4fd7806cc5b464c7481ec0197f)
2007-10-10r23106: Use lchown for symlinks.Jeremy Allison1-2/+11
Jeremy. (This used to be commit b98175440b2c235fe223b4375441f15ea027a5b2)
2007-10-10r23100: Implement the delete on close semantics I've just tested forJeremy Allison3-27/+72
in Samba4 smbtorture. Fix rename on an open file handle. Needed for 3.0.25a. Jeremy. (This used to be commit a301467d5f645dada27093ddfd74890b88bb4ce8)
2007-10-10r23088: Fix rename for cifsfs client. This may be needed forJeremy Allison1-2/+2
3.0.25a. Jeremy. (This used to be commit 02e4f6b0f1f1a1cc6bfe5fed7866eb5b18ab87e0)
2007-10-10r23087: Fix POSIX setfilepathinfo to use lstat, not stat.Jeremy Allison2-10/+27
Still missing lchown (will add this for 3.0.26). Don't merge for 3.0.25a - possibly 3.0.25b (if it exists). Jeremy. (This used to be commit f546750176a22cdd7298a73afc81587923baaff9)
2007-10-10r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke4-5/+3
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10r23016: Remove extra & - thanks to Volker for spotting this.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c2c970fd50b293031390358d72aaa7bd94da6e6d)
2007-10-10r23015: Make message_(de)register static to messages.cVolker Lendecke1-19/+24
(This used to be commit a8082a3c7c3d1e68c27fc3bf42f3d44402cc6f9f)
2007-10-10r23014: For all branches, ensure that if we're blocked on a POSIXJeremy Allison3-10/+36
lock we know nothing about that we retry the lock every 10 seconds instead of waiting for the standard select timeout. This is how we used to (and are supposed to) work. Jeremy. (This used to be commit fa18fc25a50cf13c687ae88e7e5e2dda1120e017)
2007-10-10r23007: Ensure we don't allow large read over the possibleJeremy Allison1-0/+4
packet size. Jeremy. (This used to be commit 5d465dd2d559df29d18a844137c8e14ffbb1a269)
2007-10-10r22978: Don't use current_user to prep the security ctx in change_to_userGerald Carter1-7/+15
since any SID/uid/gid translation calls will reset the struct when popping the security ctx. This should fix the standalone server configuration issues reported by David Rankin (thanks for the logs). (This used to be commit 63cb25bad19d9600399a6ee2221497d71e805320)
2007-10-10r22954: More messaging_registerVolker Lendecke1-1/+1
(This used to be commit 9b8df24107ffe3016031e5257c5680689f061886)
2007-10-10r22942: Some message_register -> messaging_register conversionsVolker Lendecke3-42/+75
(This used to be commit 65335a420645202fc79c599a1177838ec19a4075)
2007-10-10r22925: Sync read_and_X with 3.0.26 code (use setup_readX_header()).Jeremy Allison1-6/+1
Jeremy. (This used to be commit e1052c0e3d50473a9ded6092b6a85d78590a00e7)
2007-10-10r22922: Move "normal_read:" label out of ifdef guard. Fix the build.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 3c1ccc68f03b02d2223ec745e241129766e0c15e)
2007-10-10r22920: Add in the UNIX capability for 24-bit readX, as discussedJeremy Allison2-63/+111
with the Apple guys and Linux kernel guys. Still looking at how to do writeX as there's no recvfile(). Jeremy. (This used to be commit a53268fb2082de586e2df250d8ddfcff53379102)
2007-10-10r22911: Pass a messaging_context to message_send_allVolker Lendecke2-2/+4
(This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
2007-10-10r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke1-1/+1
(This used to be commit 330946ad2307ca34f0a8d068a0193fcb8a0d6036)
2007-10-10r22900: Convert profile/ to messaging_send_pid/messaging_registerVolker Lendecke1-1/+1
(This used to be commit edbeea520727f51568ccd8ffa802e06bd120794c)
2007-10-10r22868: Replace some message_send_pid calls with messaging_send_pid calls. MoreVolker Lendecke7-80/+98
tomorrow. (This used to be commit 74fa57ca5d7fa8eace72bbe948a08a0bca3cc4ca)
2007-10-10r22846: Chunk one to replace message_send_pid with messaging_send: Deep insideVolker Lendecke4-15/+28
locking/locking.c we have to send retry messages to timed lock holders. The majority of this patch passes a "struct messaging_context" down there. No functional change, survives make test. (This used to be commit bbb508414683eeddd2ee0d2d36fe620118180bbb)
2007-10-10r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke4-24/+24
replace all data_blob(NULL, 0) calls. (This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
2007-10-10r22784: fixed change notify for delete on closeAndrew Tridgell1-0/+4
(This used to be commit 6f52435a72427a8264096ac14bad54020c9d852b)
2007-10-10r22765: Fix from Alison Winters <alisonw@sgi.com> for missing returnJeremy Allison1-0/+1
in sendfilereadbraw. Jeremy. (This used to be commit b523e782b0f3a3899e5f448698fbecddd59f4369)
2007-10-10r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke4-25/+12
connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker (This used to be commit e43e94cda1ad8876b3cb5d1129080b57fa6ec214)
2007-10-10r22755: Second half of r22754. As it stands now, string_replace expects aVolker Lendecke1-10/+8
pstring. Give it one, although I hate putting it in :-) Thanks to Tom Bork! :-) (This used to be commit f4ea3fd36543120fa7d712e6e650c704e4e23759)
2007-10-10r22751: Next step for the cluster merge: sessionid.tdb should contain a 'structVolker Lendecke2-4/+4
server_id' instead of a 'uint32 pid' (This used to be commit be7bac55c37676a8137c59a22dfb2e4c4821ac21)
2007-10-10r22747: Fix some C++ warningsVolker Lendecke2-8/+4
(This used to be commit a66a04e9f11f6c4462f2b56b447bae4eca7b177c)
2007-10-10r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke7-19/+19
patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker (This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
2007-10-10r22695: Dummy checkin (reformatting) to make the AIX hosts retry.Volker Lendecke1-6/+6
(This used to be commit cd55ccef6a1d0c95836feeb5efb5abcaedb35df2)
2007-10-10r22693: Always compile before checkin.... I've now installed dmapi on my ↵Volker Lendecke1-1/+2
laptop :-) (This used to be commit 7460511c4e92f6fdde430d0c56bbb72377e80b4b)
2007-10-10r22691: Fix a 64-bit warning and a const const discard warningVolker Lendecke2-5/+5
(This used to be commit 3a2ca1b1b85e268928587287f61d26f992b303a5)
2007-10-10r22611: Fix from Jens Nissen <jens.nissen@gmx.net>. Fix badJeremy Allison1-0/+1
memory leak I introduced into acl code, also remove redundent extra check for global_sid_System : global_sid_System == S-1-5-18 which is already included in the check for a domain of global_sid_NT_Authority == S-1-5 Jeremy. (This used to be commit 10649540ac11e679997f414d4a6b12d057bd7913)
2007-10-10r22590: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison1-4/+8
That should be it.... Jeremy. (This used to be commit 603233a98bbf65467c8b4f04719d771c70b3b4c9)
2007-10-10r22561: Fix a memleak in lanman.c: Nobody would free the session_list.Volker Lendecke2-3/+7
Volker (This used to be commit 5d428400f77399b7fc30fb2a0fb10f0c74b96458)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison9-12/+12
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22533: Use lib functions where we have themVolker Lendecke1-2/+3
(This used to be commit dc18ab2f3407234dc545d5133660f9f04e8e5b55)
2007-10-10r22502: Fix bug #4536 - delete symlinks to a directory correctly.Jeremy Allison1-1/+17
Jeremy. (This used to be commit dcc6517d9d349c65b045160e8a1358af088ae97a)
2007-10-10r22495: Create wrapper to hide the details of obtaining a set of socketsJames Peach2-167/+203
to listen on. (This used to be commit 29a16b2acb8da604776d48c6a1e6163c9e868d12)
2007-10-10r22493: Fix horrible memory corruption bug with CIFS POSIX open/mkidr.Jeremy Allison1-0/+2
Found by SteveF + valgrind :-). Jerry - essential for rc3. Jeremy. (This used to be commit b01c1c4618fe0ff9fd9bac7ed780a4676ea1ba7a)
2007-10-10r22492: Add objectid code.Jeremy Allison1-10/+23
Jeremy. (This used to be commit d3df922038032b65f52e1e0ac1f2dd53a6933fb7)
2007-10-10r22491: Fix the build (3.0.25 and 3.0 are different here).Jeremy Allison1-1/+1
Jeremy. (This used to be commit c34c291194f34a4b68c1b149dd513b79295a7f1c)
2007-10-10r22490: Fix a couple of bugs found whist investigating CSC Vista issues.Jeremy Allison1-4/+92
Ensure we correctly NULL out allocation size fields. Allow QFILEINFO on pipes (Vista bug ?). Jerry - don't automatically merge for 3.0.25. Jeremy. (This used to be commit a27577815201101de4ca5c8375b7f768b6127fb2)
2007-10-10r22481: Move check for non-mappable SIDs to after sid_to_uid,Jeremy Allison1-11/+10
sid_to_gid mapping, add LocalSystem to non-mappable list. Jeremy. (This used to be commit 805f01464f3feb30725dbce1f90d4296380dd796)
2007-10-10r22458: Fix a commentVolker Lendecke1-1/+1
(This used to be commit f5ccec42287cfdf128bbfcf562a47a852bd0e3fe)
2007-10-10r22418: Support running under launchd. We abstract the method of obtainingJames Peach2-55/+162
sockets to listen on a little, because in the launchd case these are provided for us. We also add an idle timeout so that a daemon can exit after a period of inactivity. (This used to be commit fc8589a3371d396197fae508e563f814899c2beb)
2007-10-10r22417: Refactor the various daemon run-mode options to make the semanticsJames Peach1-40/+49
of the various flags explicit. (This used to be commit 19c929c6330a50f278ac322ac5fcb83d03734ea2)
2007-10-10r22411: Fix the build:Michael Adam1-3/+5
Prototype of create_aio_ex_read, set_message and definition of UNIXERROR have changed in r22389 and r22391? to require an additional "inbuf" argument. Some places in smbd/aio.c had not been adapted. This patch fixes the build. Michael (This used to be commit 9de1af6dc835fa12a75bae00935cd605f61217a3)