summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24142: Remove some direct inbuf references from call_trans2qfilepathinfoVolker Lendecke1-4/+9
(This used to be commit c9c0133d5512e68fcaf22b2abd3343ae944ddb9d)
2007-10-10r24141: Add check_fsp as a replacement for CHECK_FSPVolker Lendecke1-0/+27
(This used to be commit a3d77a576f863c4d9f95a1a898f70ae5b5bbc471)
2007-10-10r24140: Convert call_trans2findnotifyfirst/next to the new APIVolker Lendecke1-24/+30
(This used to be commit 46d9c51631d099af0f8696d3942eb51b0cb09865)
2007-10-10r24139: Convert call_trans2mkdir to the new APIVolker Lendecke1-25/+39
(This used to be commit d0b7f409e1ec88bcd695474aa77e75cb50dce013)
2007-10-10r24138: Convert call_trans2findnext to the new APIVolker Lendecke1-27/+42
(This used to be commit af1855e4cebb6df3415ca5389b10aaa5a956adc2)
2007-10-10r24137: Convert call_trans2findfirst to the new APIVolker Lendecke1-33/+55
(This used to be commit 238edebab71ed1596af82f4c8611432f9156bd18)
2007-10-10r24136: get_lanman2_dir_entry() does not need access to inbuf/outbufVolker Lendecke1-39/+49
It did not use inbuf anyway. Outbuf was used for alignment and to the flags2. The alignment works ok if we align relative to base_data because this and outbuf are both malloc'ed, and we put send_trans2_replies aligns out_data properly relative to the start of the outbuf. I don't know if the explicit align_string() calls in get_lanman2_dir_entry are really necessary. I think that srvstr_push also does the same. Please also note that this changes dst_len in srvstr_push from -1 to the real length remaining. Volker (This used to be commit 9b1614f8cb415c15032e6a34f2da5df026f92e6e)
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)