summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.c
Commit message (Collapse)AuthorAgeFilesLines
* Let send_trans_reply work on only the inbufVolker Lendecke2008-06-281-52/+55
| | | | It does not really need the whole smb_request
* Remove connection_struct->mem_ctx, connection_struct is its own parentVolker Lendecke2008-05-051-1/+1
|
* Rewrite the wrap checks to deal with gcc 4.x optimisations.Jeremy Allison2008-04-071-33/+45
| | | | | Karolin, please pull once Volker has reviewed. Thanks. Jeremy.
* Now conn is part of smb_request, we don't need it asJeremy Allison2008-01-041-2/+4
| | | | | | an extra parameter. This cleans up quite a few places we were passing it around without needing it. Jeremy.
* Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-041-23/+30
| | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy.
* Don't need an fstring here, we can talloc.Jeremy Allison2007-12-101-9/+8
| | | | Jeremy.
* Fix crash bug with vl's new trans handling in old transsJeremy Allison2007-12-041-5/+6
| | | | | | | calls. Make this look like the (working) transs2 handling (replace inbuf, not write to outbuf - outbuf isn't allocated yet so you get a null deref). Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25103: Ensure we don't return unwritten memory (valgrind caught).Jeremy Allison2007-10-101-3/+9
| | | | Jeremy.
* r24320: Fix the wct checks in reply_trans2 and the reply_trans callsVolker Lendecke2007-10-101-2/+2
| | | | | | No idea what I've been smoking here. Thanks to Stefan for closely looking
* r24244: Complete the conversion of reply_trans[s]Volker Lendecke2007-10-101-62/+63
| | | | Remove reply_prep/post_legacy from send_trans_replies
* r24243: Remove reply_prep_legacy from api_replyVolker Lendecke2007-10-101-14/+4
|
* r24242: Remove reply_prep_legacy from api_rpc_trans_replyVolker Lendecke2007-10-101-24/+10
|
* r24241: Remove reply_prep_legacy from api_WNPHS and api_SNPHSVolker Lendecke2007-10-101-57/+23
|
* r24240: Push down reply_prep_legacy one level inside api_fd_replyVolker Lendecke2007-10-101-19/+54
|
* r24239: Push reply_prep_legacy into api_fd_replyVolker Lendecke2007-10-101-51/+38
|
* r24238: Push down reply_prep_legacy one levelVolker Lendecke2007-10-101-8/+25
|
* r24237: Add send_trans_reply_newVolker Lendecke2007-10-101-0/+18
|
* r24236: Push reply_prep_legacy() into named_pipe()Volker Lendecke2007-10-101-46/+46
|
* r24235: Make handle_trans reply to errors itselfVolker Lendecke2007-10-101-47/+29
|
* r24234: Reformatting -- SCNRVolker Lendecke2007-10-101-49/+20
|
* r24233: Push reply_prep_legacy into handle_transVolker Lendecke2007-10-101-34/+16
|
* r24232: Push down reply_prep_legacy inside reply_transsVolker Lendecke2007-10-101-25/+35
|
* r24231: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke2007-10-101-9/+20
|
* r24230: Push down reply_prep_legacy in reply_transVolker Lendecke2007-10-101-52/+62
| | | | The last checkin was for reply_trans, not reply_transs
* r24229: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke2007-10-101-18/+32
|
* r24224: Check wct in reply_transVolker Lendecke2007-10-101-4/+19
|
* r23823: Memory leak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>Volker Lendecke2007-10-101-0/+2
| | | | | | Thanks! Volker
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The nextVolker Lendecke2007-10-101-2/+2
| | | | | | checkin will pull this up to srvstr_get_path. At that point we can get more independent of the inbuf, the base_ptr in pull_string will only be used to satisfy UCS2 alignment constraints.
* r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison2007-10-101-53/+126
| | | | | | | to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy.
* r22059: Over-allocate and NULL out 100 bytes for lanman.c.Volker Lendecke2007-10-101-4/+8
| | | | Volker
* r20237: Replace exit_server with exit_server_cleanly where appropriate. AllJames Peach2007-10-101-2/+2
| | | | | send_smb failures should be clean exits. All times when we exit as a matter of policy should also be clean exits.
* r20178: Ensure we allocate the intermediate trans structsJeremy Allison2007-10-101-1/+2
| | | | | | | off conn->mem_ctx, not the null context so we can safefy free everything on conn close. Should fix possible memleak. Jeremy.
* r17316: More C++ warnings -- 456 leftVolker Lendecke2007-10-101-2/+2
|
* r16275: Start fixing up gcc4 -O6 warnings on an x86_64 box. size_t != ↵Jeremy Allison2007-10-101-4/+4
| | | | | | | unsigned int in a format string. Jeremy.
* r15911: Make us survive rpc-authcontext committed nextVolker Lendecke2007-10-101-0/+6
|
* r15266: Fix bug 3720. I wonder why -O1 compiles did not catch this...Volker Lendecke2007-10-101-2/+2
| | | | | | Thanks to Jason Mader for reporting this. Volker
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-101-181/+271
| | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy.
* r14849: Fix >= that should be >. Too strict conditionJeremy Allison2007-10-101-2/+2
| | | | | checked by Volker. Jeremy.
* r13980: Fix Coverity bug # 63. Jeremy, could you take a look at this?Volker Lendecke2007-10-101-5/+16
| | | | | | Thanks, Volker
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-1/+1
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r5165: BUG 2295: always use get_local_machine_name() rather than digging in ↵Gerald Carter2007-10-101-5/+6
| | | | the gloval variable 'local_machine'
* r4830: Fix for problem noticed by Guy Harris <gharris@apple.com>, returnJeremy Allison2007-10-101-2/+4
| | | | | | correct DOS/NT error code on transact named pipe on closed pipe handle. Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-4/+4
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3666: Generalise fix for trans and nttrans multi-fragment requests.Jeremy Allison2007-10-101-2/+2
| | | | Jeremy
* Yet another '\n' termination of debug message.Rafal Szczesniak2004-03-091-1/+1
| | | | rafal
* Ensure the server can cope with multiple secondary transJeremy Allison2003-12-011-0/+8
| | | | | requests when signing is turned on. Jeremy.
* Fix for bug #64, Win9x Nexus tools not working against Samba3.0. MissingJeremy Allison2003-10-211-1/+9
| | | | | map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata. Jeremy.