summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24135: Convert call_trans2open to the new APIVolker Lendecke5-38/+77
This itself won't help much, because send_trans2_replies_new still allocates the big buffers, but stay tuned :-) Also add/update my copyright on stuff I recently touched. Volker (This used to be commit 248f15ff143474db2493cef89ba446892342a361)
2007-10-10r24134: talloc smb_request for handle_trans2Volker Lendecke1-6/+27
When starting to convert the individual trans2 subcalls, I need the new API conventions to be present there. This means that those calls fill in req->outbuf when there's something to ship (This used to be commit d9eef977dc80d6ee71898efc1ff736afb75eba0c)
2007-10-10r24133: Explicitly pass flags2 down to push_string_fnVolker Lendecke1-3/+7
This needs a bit closer review, it also touches the client libs (This used to be commit 824eb26738d64af1798d319d339582cf047521f0)
2007-10-10r24130: Explicitly pass flags2 to srvstr_pushVolker Lendecke5-32/+80
This is in preparation of the trans2 conversion: srvstr_push should not look at inbuf directly. (This used to be commit 5fd7e6a3821bea26d352e3edc23b7a216b1200e5)
2007-10-10r24120: add a file_id_create() hook into the VFS layerStefan Metzmacher5-12/+20
it's needed for some cluster filesystems to overload this function. metze (This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
2007-10-10r24119: Convert reply_exit to the new APIVolker Lendecke2-7/+5
(This used to be commit d4d550aa2ba20d704d2ab1265732b03405e8819c)
2007-10-10r24106: Pass fnum instead of buf/offset into get_rpc_pipe_pVolker Lendecke2-5/+5
(This used to be commit eb353412c60fc21a31530d9678505470ffbf11ce)
2007-10-10r24102: Pass the fid instead of inbuf and an offset to file_fsp.Volker Lendecke4-42/+38
This removes the buf==NULL condition in file_fsp(), but wherever it is called we do have a buffer anyway. Volker (This used to be commit d70a1f82fed64fa332f16407bea7c6671f48c59a)
2007-10-10r24101: Move prohibited_ea_names[] into samba_private_attr_name()Volker Lendecke1-6/+6
Minor cleanup (This used to be commit 04879717229d5b74b94b79a962cca5e9624648bc)
2007-10-10r24100: Convert reply_ntcancel to the new APIVolker Lendecke2-9/+7
(This used to be commit 6e5f39379f60e30cd0445a049df619ec8f65fc01)
2007-10-10r24097: Convert reply_ntcreate_and_X_quota to the new APIVolker Lendecke1-31/+14
(This used to be commit 08acadae56e0b603ccac7dc21f89d5071a33b255)
2007-10-10r24092: Convert do_ntcreate_pipe_open to the new APIVolker Lendecke1-25/+67
nt_open_pipe_new() is a copy of nt_open_pipe(). It will stick for a bit until do_nt_transact_create_pipe is converted as well. (This used to be commit 247d6baaed6f017328de6688e6daa15aa6aaa18e)
2007-10-10r24091: Convert reply_ntcreate_and_X to the new APIVolker Lendecke2-64/+110
The routines called will follow (This used to be commit 28025fc17efa033515cef94789e518a6615e141f)
2007-10-10r24090: Separate parsing in reply_ntcreate_and_XVolker Lendecke1-18/+32
In particular, check if we have enough parameters (This used to be commit 7a19b3071e1d5d5002013a67794261bf6be0c81d)
2007-10-10r24089: Add reply_prep/post_legacyVolker Lendecke1-0/+54
Routines to ease the transition to the new API (This used to be commit 1bb2b341e2cb6c0175376dc8bd2d1ce6d9c6c00e)
2007-10-10r24088: Convert reply_unlink to the new APIVolker Lendecke2-22/+32
(This used to be commit fb0a1b7bd0a195dbedb3b0c02d8a4ec25c21b9bf)
2007-10-10r24086: Convert reply_ulogoffX to the new APIVolker Lendecke2-12/+17
(This used to be commit bbc99e1c3b764bc2adf620553b7fa85efdf8ac53)
2007-10-10r24085: Convert reply_rmdir to the new APIVolker Lendecke2-16/+25
(This used to be commit 7689048d71cc4adbdaee5521cc57890518e7090a)
2007-10-10r24084: Convert reply_mkdir to the new APIVolker Lendecke2-16/+25
(This used to be commit e93f3996fcdde6f0fbba3fb9e1e97407e9ccdd62)
2007-10-10r24079: Convert reply_dskattr to the new APIVolker Lendecke2-15/+15
(This used to be commit c8e0aa5752fde34f7271a4fad758dfae0991722d)
2007-10-10r24078: Add reply_unixerrorVolker Lendecke1-0/+30
(This used to be commit 10ac991750e9476299d39ac6f763d1638ff8c619)
2007-10-10r24077: Convert reply_tdis to the new APIVolker Lendecke2-11/+8
(This used to be commit bd0cb48dde401f48dec98fa7ca794a912e0244f1)
2007-10-10r24071: Fix a missing END_PROFILE callVolker Lendecke1-0/+1
(This used to be commit c9f12326dd1c090bd0ef9bb97c82926c2efd6ae8)
2007-10-10r24070: Apply some constVolker Lendecke1-1/+1
(This used to be commit e6d592dcb8ff9f986b531435d0d03df20880880b)
2007-10-10r24056: Another big one: This converts reply_sesssetup_and_X to the new API. ↵Volker Lendecke2-186/+249
As usual, its history can be found on http://samba.org/~vlendec/sesssetup/. This very obviously needs close review. Volker (This used to be commit 35675a6a33d584e5c3c97d1cb5ca9b0315a5fa92)
2007-10-10r24050: Fix a typoVolker Lendecke1-1/+3
(This used to be commit 53027d0ee2dbe15beb2fce5d11a26f4ac0b08b9c)
2007-10-10r24049: Some more 64-bit warningsVolker Lendecke1-1/+1
(This used to be commit eabe796e464e5fe10d0f4cca1362985c529f5a5b)
2007-10-10r24046: Fix a 64-bit warningVolker Lendecke1-1/+1
(This used to be commit a2ecc34aa43f810e68815c25016da1d184a21a04)
2007-10-10r24029: merge from http://samba.org/~tridge/samba_3_2_ctdb/:Stefan Metzmacher1-5/+8
the claim_connection() must come after the sockets are open metze (This used to be commit 306846a14f554c55b57e9ce0ad324d5c81776330)
2007-10-10r24009: Revert to the 3.0.25 logic for parsing the client's protocols. hpisgr8Volker Lendecke1-13/+5
with gcc still gives timeouts which worry me. Volker (This used to be commit c30835b4f0416b2b2b7d77d31b0fca0606f2387a)
2007-10-10r24006: Some more paranoia in reply_negprotVolker Lendecke1-2/+12
Some hosts see the smb_bufrem(req->inbuf, p) as an unsigned int. And as the p += strlen(p) + 2 went one beyond the buffer, this was a very large positive. Also take the chance to add one more consistency check. (This used to be commit 3673707f9f1a3ba29966ac7cf744e2b6462c8dde)
2007-10-10r24004: Convert reply_checkpath to the new APIVolker Lendecke2-17/+24
(This used to be commit e5c7c6406af5552b3060f03a09b5e6c9a42e531c)
2007-10-10r24003: Convert reply_tcon_and_X to the new APIVolker Lendecke2-45/+73
(This used to be commit 9422385d9c018a0b1f2a0b2edd82dc574a9fb403)
2007-10-10r24002: Convert reply_negprot to the new APIVolker Lendecke2-91/+115
(This used to be commit bd981f53282573058bf4c2939e0e836499cf38be)
2007-10-10r24001: Separate out the parsing of the client's requested protocolsVolker Lendecke1-29/+66
This way the range checking only needs to be done once (This used to be commit befaa9713adec90088eedcf264f1e396ab150d25)
2007-10-10r24000: Add message_push_blob() and message_push_string().Volker Lendecke1-0/+40
The proposed new API convention is to start with a 0 bcc length and then push things step by step. These routines reallocate the outbuf and adjust the length and bcc fields as necessary. (This used to be commit 624f1fe4f6e022d73e78fa8c9646f6f64035f3ee)
2007-10-10r23999: Convert reply_open_and_XVolker Lendecke3-71/+105
This is an example of chained code that is executed in make test (This used to be commit e3a10e9ffb06f429208f8b8e8482bbfd56dace91)
2007-10-10r23998: Convert reply_close to the new APIVolker Lendecke3-19/+28
(This used to be commit dbf74cb747d34dac571d85d6bae9398558086456)
2007-10-10r23997: Check in the infrastructure for getting rid of the global ↵Volker Lendecke7-395/+658
InBuffer/OutBuffer The complete history of this patch can be found under http://www.samba.org/~vlendec/inbuf-checkin/. Jeremy, Jerry: If possible I would like to see this in 3.2.0. I'm only checking into 3_2 at the moment, as it currently will slow down operations for all non-converted (i.e. all at this moment) operations, as it will copy the talloc'ed inbuf over the global InBuffer. It will need quite a bit of effort to convert everything necessary for the normal operations an XP box does. I have patches for negprot, session setup, tcon_and_X, open_and_X, close. More to come, but I would appreciate some help here. Volker (This used to be commit 5594af2b208c860d3f4b453af6a649d9e4295d1c)
2007-10-10r23996: One more constVolker Lendecke1-1/+1
(This used to be commit a54fa551a4b9ffe3f29b339a54e563cdfe924959)
2007-10-10r23992: Some constVolker Lendecke1-2/+2
(This used to be commit bc106cf50732ed6c169dcf593797501fcb3ae675)
2007-10-10r23990: Reformatting for 80 cols and trailing whitespaceVolker Lendecke1-11/+18
(This used to be commit 0484de27d97306707ae0243443d18e9dec6d80f3)
2007-10-10r23988: Looks a lot more scary than it is: This just unwraps the else-branch ofVolker Lendecke1-67/+74
if (smb_messages[type].fn == NULL) { into the function top-level. Makes this function a bit easier to understand IMO. Volker (This used to be commit ada23b7f06acb00c36763a3e7a6f6e0caac86951)
2007-10-10r23987: Remove static pid in switch_message()Volker Lendecke1-5/+3
There's no point in duplicating functionality that exists in sys_getpid() that also only used in a debug statement (This used to be commit ebf1b1e97c709f5ffe48c85b4227a0af1f88b0ab)
2007-10-10r23967: Memleak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>Volker Lendecke1-0/+3
Thanks! Volker (This used to be commit 46997a70199296d4ec45780f002898f23029bb26)
2007-10-10r23942: Fix issue found by Shlomi Yaakobovich <Shlomi@exanet.com> whereJeremy Allison1-5/+6
invalid names sent as a resume name were incorrectly mapped into . and .. Ensure they really *are . and .. Jeremy. (This used to be commit 78d0c5194fe42ad4f096657e2210a15541303a2a)
2007-10-10r23941: Don't use "False" when you mean "MARSHALL".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 57d4d5f2cd1ad7bae28f40478f4c2f9b6a475ce6)
2007-10-10r23940: Added missing line that was deleted accidently.Jeremy Allison1-0/+2
Should fix the build. Jeremy. (This used to be commit b085366d5b982b635561f1d3211a6f3197258e6f)
2007-10-10r23939: Fixes for notify returns. Returned param value must fix insideJeremy Allison2-21/+20
max_param or return NT_STATUS_OK. Jeremy. (This used to be commit ab4af60d1ab4583fd27deb63b3f7baa1ede3473d)
2007-10-10r23935: We were lying to the client in the case of POSIX_UNLINKJeremy Allison1-16/+51
if a Windows client had the file open. We were setting delete on close and returning "ok". The POSIX client then believed the file was gone (and it wasn't). Fix this to return SHARING_VIOLATION if there is an existing NTcreateX open on the file and someone calls POSIX_UNLINK. Still one more Cthon test to fix but getting closer now. Should be in 3.0.25c also. Jeremy. (This used to be commit 24e625a615447c025b73fed2d3db03c1f11ae596)