summaryrefslogtreecommitdiff
path: root/source3/smbd/ipc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-12-04Fix crash bug with vl's new trans handling in old transsJeremy Allison1-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)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r25103: Ensure we don't return unwritten memory (valgrind caught).Jeremy Allison1-3/+9
Jeremy. (This used to be commit b3f0d39d11fa18b7bfef6cec88efaf4a2be2d6e0)
2007-10-10r24320: Fix the wct checks in reply_trans2 and the reply_trans callsVolker Lendecke1-2/+2
No idea what I've been smoking here. Thanks to Stefan for closely looking (This used to be commit 708f5af2e8c10d9a0d0027e3c31fa23689e746b8)
2007-10-10r24244: Complete the conversion of reply_trans[s]Volker Lendecke1-62/+63
Remove reply_prep/post_legacy from send_trans_replies (This used to be commit c08366f840ead5aba7199cf0b058587055b4d98e)
2007-10-10r24243: Remove reply_prep_legacy from api_replyVolker Lendecke1-14/+4
(This used to be commit b01664b43b0bd94bb59dec57480d2be954a7298a)
2007-10-10r24242: Remove reply_prep_legacy from api_rpc_trans_replyVolker Lendecke1-24/+10
(This used to be commit 160f65946af9b3e1609b0efb211edc81514fb36f)
2007-10-10r24241: Remove reply_prep_legacy from api_WNPHS and api_SNPHSVolker Lendecke1-57/+23
(This used to be commit 8702450e91943b1097ae3c8979d60b6962a69632)
2007-10-10r24240: Push down reply_prep_legacy one level inside api_fd_replyVolker Lendecke1-19/+54
(This used to be commit 0bb95639d6b49b18f2a7f1131f54239355097119)
2007-10-10r24239: Push reply_prep_legacy into api_fd_replyVolker Lendecke1-51/+38
(This used to be commit e2a96497928ab959e36639fef2d493640bb6e951)
2007-10-10r24238: Push down reply_prep_legacy one levelVolker Lendecke1-8/+25
(This used to be commit a6a2d97facf95c7997f3d12457f2811b3b7bde1b)
2007-10-10r24237: Add send_trans_reply_newVolker Lendecke1-0/+18
(This used to be commit f0598b3ca0ee04e31855c3e54f3198e6fd968737)
2007-10-10r24236: Push reply_prep_legacy() into named_pipe()Volker Lendecke1-46/+46
(This used to be commit b38f9347e81364d224e5ca00609099a74410e99c)
2007-10-10r24235: Make handle_trans reply to errors itselfVolker Lendecke1-47/+29
(This used to be commit 06d0c74b74754c55f4c8ef0899bda08476e7dd4b)
2007-10-10r24234: Reformatting -- SCNRVolker Lendecke1-49/+20
(This used to be commit 040d6d5db6d929f1612b1b0dc762b7f55c956740)
2007-10-10r24233: Push reply_prep_legacy into handle_transVolker Lendecke1-34/+16
(This used to be commit dc27c3c668f86d008c27b8a749f5726287ba54a5)
2007-10-10r24232: Push down reply_prep_legacy inside reply_transsVolker Lendecke1-25/+35
(This used to be commit 511f8bc030a9a16c2e793ce5d06577608e101de4)
2007-10-10r24231: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke1-9/+20
(This used to be commit 74ae19cca6dd15b65deffbf464cfd0e485da8611)
2007-10-10r24230: Push down reply_prep_legacy in reply_transVolker Lendecke1-52/+62
The last checkin was for reply_trans, not reply_transs (This used to be commit 50a2bfd9e04d51aa5e3ae9d6620a98eeb158b6ea)
2007-10-10r24229: Push allocating InBuffer/OutBuffer into reply_transsVolker Lendecke1-18/+32
(This used to be commit 39a7809aa4c34bb26178589245c419df44796e22)
2007-10-10r24224: Check wct in reply_transVolker Lendecke1-4/+19
(This used to be commit fc8759e63ccec7f1cfb9f1d0ecd0f19a496e4153)
2007-10-10r23823: Memory leak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>Volker Lendecke1-0/+2
Thanks! Volker (This used to be commit 17b875ae5bab9473f0f896e63fff4a65588c2fb8)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The nextVolker Lendecke1-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)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison1-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)
2007-10-10r22059: Over-allocate and NULL out 100 bytes for lanman.c.Volker Lendecke1-4/+8
Volker (This used to be commit 0eea6b84cec7e2a3fc1f784d5a9b162f71cc8a02)
2007-10-10r20237: Replace exit_server with exit_server_cleanly where appropriate. AllJames Peach1-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)
2007-10-10r20178: Ensure we allocate the intermediate trans structsJeremy Allison1-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)
2007-10-10r17316: More C++ warnings -- 456 leftVolker Lendecke1-2/+2
(This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
2007-10-10r16275: Start fixing up gcc4 -O6 warnings on an x86_64 box. size_t != ↵Jeremy Allison1-4/+4
unsigned int in a format string. Jeremy. (This used to be commit 952547471f03bd2da1eda0247471b17aa1ff15de)
2007-10-10r15911: Make us survive rpc-authcontext committed nextVolker Lendecke1-0/+6
(This used to be commit c24bfdce625782637b5f4d11a5117ef795ddfc2f)
2007-10-10r15266: Fix bug 3720. I wonder why -O1 compiles did not catch this...Volker Lendecke1-2/+2
Thanks to Jason Mader for reporting this. Volker (This used to be commit 3e616c3272ba76a2d135f7c51ceb44461ad165ad)
2007-10-10r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison1-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)
2007-10-10r14849: Fix >= that should be >. Too strict conditionJeremy Allison1-2/+2
checked by Volker. Jeremy. (This used to be commit 9a763da07385bf9af437cab8dd680f2e13fca3c3)
2007-10-10r13980: Fix Coverity bug # 63. Jeremy, could you take a look at this?Volker Lendecke1-5/+16
Thanks, Volker (This used to be commit 49043a756dfa6a973d5605f42068df351a4a9ab5)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-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)
2007-10-10r5165: BUG 2295: always use get_local_machine_name() rather than digging in ↵Gerald Carter1-5/+6
the gloval variable 'local_machine' (This used to be commit 6a6e4af46a5c0a693a3dd9d558a4d1c1e5d72d95)
2007-10-10r4830: Fix for problem noticed by Guy Harris <gharris@apple.com>, returnJeremy Allison1-2/+4
correct DOS/NT error code on transact named pipe on closed pipe handle. Jeremy. (This used to be commit 599c281464fa96725c3ee6dd3c5ee03ea81314ea)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-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)
2007-10-10r3666: Generalise fix for trans and nttrans multi-fragment requests.Jeremy Allison1-2/+2
Jeremy (This used to be commit 10b2489e3b2345a8532098523ebcebb73665a76f)
2004-03-09Yet another '\n' termination of debug message.Rafal Szczesniak1-1/+1
rafal (This used to be commit 3e57c2c6850655da77e25de4cb047cc27741ca9c)
2003-12-01Ensure the server can cope with multiple secondary transJeremy Allison1-0/+8
requests when signing is turned on. Jeremy. (This used to be commit 206464a748a59b1d485d4d3d0cb4d257d60fbd00)
2003-10-21Fix for bug #64, Win9x Nexus tools not working against Samba3.0. MissingJeremy Allison1-1/+9
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata. Jeremy. (This used to be commit 7eaae388b35cb3d20cdd968b00d65c88fcee5878)
2003-10-17Typo broke win9x logins.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4e00cad645635af66b62c6a5568264a09cf340f3)
2003-10-16Tidyup wrap checking.Jeremy Allison1-6/+14
Jeremy. (This used to be commit 41d1870a51c259f0cf17caf59928a3b38b21ea11)
2003-08-02More fixes for client and server side signing. Ensure sequence numbersJeremy Allison1-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)
2003-08-02Add the same signing code to the server. Ensure we use identical sessionJeremy Allison1-0/+6
numbers and MIDs when in trans/trans2/nttrans code. Jeremy. (This used to be commit 901544b29b4d815709b3dbad3012f1d2c419d904)
2003-04-14Whitespace syncup.Tim Potter1-3/+3
(This used to be commit 8fe5bab565cdcf498e4d0f5cca31f799d249e3b3)
2003-03-18Merge signed/unsigned fix from HEAD.Andrew Bartlett1-1/+1
(This used to be commit 196628432130f826505187a27207a7b947e034cf)