summaryrefslogtreecommitdiffstats
path: root/source3/smbd/ipc.c
Commit message (Collapse)AuthorAgeFilesLines
* 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. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
* Don't need an fstring here, we can talloc.Jeremy Allison2007-12-101-9/+8
| | | | | Jeremy. (This used to be commit 3f6cc826378729c9157ea68e7cf5c7b584bbb585)
* 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. (This used to be commit f04e37a630f8e7538d670d34db4ea7fc7c0b50a3)
* 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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25103: Ensure we don't return unwritten memory (valgrind caught).Jeremy Allison2007-10-101-3/+9
| | | | | Jeremy. (This used to be commit b3f0d39d11fa18b7bfef6cec88efaf4a2be2d6e0)
* 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 (This used to be commit 708f5af2e8c10d9a0d0027e3c31fa23689e746b8)
* r24244: Complete the conversion of reply_trans[s]Volker Lendecke2007-10-101-62/+63
| | | | | Remove reply_prep/post_legacy from send_trans_replies (This used to be commit c08366f840ead5aba7199cf0b058587055b4d98e)
* r24243: Remove reply_prep_legacy from api_replyVolker Lendecke2007-10-101-14/+4
| | | | (This used to be commit b01664b43b0bd94bb59dec57480d2be954a7298a)
* r24242: Remove reply_prep_legacy from api_rpc_trans_replyVolker Lendecke2007-10-101-24/+10
| | | | (This used to be commit 160f65946af9b3e1609b0efb211edc81514fb36f)
* r24241: Remove reply_prep_legacy from api_WNPHS and api_SNPHSVolker Lendecke2007-10-101-57/+23
| | | | (This used to be commit 8702450e91943b1097ae3c8979d60b6962a69632)
* r24240: Push down reply_prep_legacy one level inside api_fd_replyVolker Lendecke2007-10-101-19/+54
| | | | (This used to be commit 0bb95639d6b49b18f2a7f1131f54239355097119)
* r24239: Push reply_prep_legacy into api_fd_replyVolker Lendecke2007-10-101-51/+38
| | | | (This used to be commit e2a96497928ab959e36639fef2d493640bb6e951)
* r24238: Push down reply_prep_legacy one levelVolker Lendecke2007-10-101-8/+25
| | | | (This used to be commit a6a2d97facf95c7997f3d12457f2811b3b7bde1b)
* r24237: Add send_trans_reply_newVolker Lendecke2007-10-101-0/+18
| | | | (This used to be commit f0598b3ca0ee04e31855c3e54f3198e6fd968737)
* r24236: Push reply_prep_legacy() into named_pipe()Volker Lendecke2007-10-101-46/+46
| | | | (This used to be commit b38f9347e81364d224e5ca00609099a74410e99c)
* r24235: Make handle_trans reply to errors itselfVolker Lendecke2007-10-101-47/+29
| | | | (This used to be commit 06d0c74b74754c55f4c8ef0899bda08476e7dd4b)
* r24234: Reformatting -- SCNRVolker Lendecke2007-10-101-49/+20
| | | | (This used to be commit 040d6d5db6d929f1612b1b0dc762b7f55c956740)
* r24233: Push reply_prep_legacy into handle_transVolker Lendecke2007-10-101-34/+16
| | | | (This used to be commit dc27c3c668f86d008c27b8a749f5726287ba54a5)
* r24232: Push down reply_prep_legacy inside reply_transsVolker Lendecke2007-10-101-25/+35
| | | | (This used to be commit 511f8bc030a9a16c2e793ce5d06577608e101de4)
* r24231: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke2007-10-101-9/+20
| | | | (This used to be commit 74ae19cca6dd15b65deffbf464cfd0e485da8611)
* r24230: Push down reply_prep_legacy in reply_transVolker Lendecke2007-10-101-52/+62
| | | | | The last checkin was for reply_trans, not reply_transs (This used to be commit 50a2bfd9e04d51aa5e3ae9d6620a98eeb158b6ea)
* r24229: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke2007-10-101-18/+32
| | | | (This used to be commit 39a7809aa4c34bb26178589245c419df44796e22)
* r24224: Check wct in reply_transVolker Lendecke2007-10-101-4/+19
| | | | (This used to be commit fc8759e63ccec7f1cfb9f1d0ecd0f19a496e4153)
* r23823: Memory leak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>Volker Lendecke2007-10-101-0/+2
| | | | | | | Thanks! Volker (This used to be commit 17b875ae5bab9473f0f896e63fff4a65588c2fb8)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* 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. (This used to be commit 836782b07bf133e9b2598c4a089f1c810e4c7754)
* 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. (This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
* r22059: Over-allocate and NULL out 100 bytes for lanman.c.Volker Lendecke2007-10-101-4/+8
| | | | | Volker (This used to be commit 0eea6b84cec7e2a3fc1f784d5a9b162f71cc8a02)
* 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. (This used to be commit d6382092e72120a3c89ffe81975e8898d454bf06)
* 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. (This used to be commit b33bde7b39953e171f05cdb53b6345ee3a9ec6e7)
* r17316: More C++ warnings -- 456 leftVolker Lendecke2007-10-101-2/+2
| | | | (This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
* 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. (This used to be commit 952547471f03bd2da1eda0247471b17aa1ff15de)
* r15911: Make us survive rpc-authcontext committed nextVolker Lendecke2007-10-101-0/+6
| | | | (This used to be commit c24bfdce625782637b5f4d11a5117ef795ddfc2f)
* 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 (This used to be commit 3e616c3272ba76a2d135f7c51ceb44461ad165ad)
* 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. (This used to be commit 08e52ead03304ff04229e1bfe544ff40e2564fc7)
* r14849: Fix >= that should be >. Too strict conditionJeremy Allison2007-10-101-2/+2
| | | | | | checked by Volker. Jeremy. (This used to be commit 9a763da07385bf9af437cab8dd680f2e13fca3c3)
* r13980: Fix Coverity bug # 63. Jeremy, could you take a look at this?Volker Lendecke2007-10-101-5/+16
| | | | | | | Thanks, Volker (This used to be commit 49043a756dfa6a973d5605f42068df351a4a9ab5)
* 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 (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
* r5165: BUG 2295: always use get_local_machine_name() rather than digging in ↵Gerald Carter2007-10-101-5/+6
| | | | | | the gloval variable 'local_machine' (This used to be commit 6a6e4af46a5c0a693a3dd9d558a4d1c1e5d72d95)
* 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. (This used to be commit 599c281464fa96725c3ee6dd3c5ee03ea81314ea)
* 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. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r3666: Generalise fix for trans and nttrans multi-fragment requests.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy (This used to be commit 10b2489e3b2345a8532098523ebcebb73665a76f)
* Yet another '\n' termination of debug message.Rafal Szczesniak2004-03-091-1/+1
| | | | | rafal (This used to be commit 3e57c2c6850655da77e25de4cb047cc27741ca9c)
* Ensure the server can cope with multiple secondary transJeremy Allison2003-12-011-0/+8
| | | | | | requests when signing is turned on. Jeremy. (This used to be commit 206464a748a59b1d485d4d3d0cb4d257d60fbd00)
* 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. (This used to be commit 7eaae388b35cb3d20cdd968b00d65c88fcee5878)
* Typo broke win9x logins.Jeremy Allison2003-10-171-1/+1
| | | | | Jeremy. (This used to be commit 4e00cad645635af66b62c6a5568264a09cf340f3)
* Tidyup wrap checking.Jeremy Allison2003-10-161-6/+14
| | | | | Jeremy. (This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
* More fixes for client and server side signing. Ensure sequence numbersJeremy Allison2003-08-021-3/+2
| | | | | | | are updated correctly on returning an error for server trans streams. Ensure we turn off client trans streams on error. Jeremy. (This used to be commit 3a789cb7f01115c37404e5a696de363287cb0e5f)
* Add the same signing code to the server. Ensure we use identical sessionJeremy Allison2003-08-021-0/+6
| | | | | | numbers and MIDs when in trans/trans2/nttrans code. Jeremy. (This used to be commit 901544b29b4d815709b3dbad3012f1d2c419d904)