summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24254: Fix a segfault in r24102Volker Lendecke1-1/+3
The really pure bugfix would have replaced pparam by *pparam, but we pulled the fid anyway. Metze, in line 2421 the FSP_BELONGS_CONN is commented out, is that intended? The FSCTL_CREATE_OR_GET_OBJECT_ID ioctl did not have it. Volker (This used to be commit 2c1376225b98a9325dfc2d00bad1722e63cf522b)
2007-10-10r24253: From Jan Martin <Jan.Martin@rwedea.com>.Jeremy Allison1-0/+8
---------------------------------------------------------- In rare cases, Samba 3.0.25b shows directory contents at the wrong position in the file tree when displaying a subdirectory of a DFS link. The problem occurs whenever Windows XP asks for a DFS referral for a subdirectory of a DFS link with a trailing backslash. Windows does not do this very often, but we saw it several times per day on our central DFS server. smbd/msdfs.c, dfs_path_lookup() does the following with the requested path: - in line 390, the local copy 'localpath' is 'unix_convert'ed; the trailing backslash is removed inside unix_convert - in lines 417-20, 'dfspath' (another copy of the requested path) is mangled another way without removing trailing backslashes That's why the following loop (lines 435-461) that is meant to synchronously cut off the last path component from both strings until it comes to a DFS link, does not handle both strings the same. When the original path ended with a backslash, 'canon_dfspath' has always one component more than 'localpath', so that *consumedcntp gets too big in line 446. This value is reported to the client. ---------------------------------------------------------- Bug #4860. Jeremy. (This used to be commit 42d1c6713a56197ca8dfebf74eb0d483102148f7)
2007-10-10r24244: Complete the conversion of reply_trans[s]Volker Lendecke2-64/+65
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 Lendecke2-36/+20
(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 Lendecke2-10/+21
(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 Lendecke2-19/+33
(This used to be commit 39a7809aa4c34bb26178589245c419df44796e22)
2007-10-10r24225: Convert reply_flush to the new APIVolker Lendecke2-10/+22
(This used to be commit f843c02f0794964eba02ab983f9c0701801f415c)
2007-10-10r24224: Check wct in reply_transVolker Lendecke1-4/+19
(This used to be commit fc8759e63ccec7f1cfb9f1d0ecd0f19a496e4153)
2007-10-10r24223: Convert reply_echo to the new APIVolker Lendecke2-15/+26
(This used to be commit 4863ff2899419e791ed0e340821072d004fb1d17)
2007-10-10r24164: Fix for write cache corruption bug reported by Jean-Francois ↵Jeremy Allison1-10/+20
Panisset <panisset@A52.com>. Awaiting confirmation from reporter. Jeremy. (This used to be commit 7bd65060bd965bd17a5d79639cf561b8b578cb36)
2007-10-10r24163: Remove the send_trans2_replies_new wrapperVolker Lendecke2-89/+90
This changes send_trans2_replies to not depend on large buffers anymore and finishes the trans2 conversion. (This used to be commit b1d133e4ffa8c9b8219ba6e7b83e23ca4bdd1616)
2007-10-10r24162: send_trans2_replies is now static in trans2.cVolker Lendecke1-8/+8
(This used to be commit 47261fb6fecc036cb1605f46bbe24e9b3661ff8c)
2007-10-10r24161: handle_trans2 takes care of errors itself, no need to do it in ↵Volker Lendecke1-6/+0
reply_transs2 (This used to be commit ca26b43e02f25d75e7439c6130f32dc322acd327)
2007-10-10r24160: process_trans2 in smbd/blocking.c used send_trans2_replies.Volker Lendecke2-12/+17
Fake a struct smb_request here. Volker (This used to be commit f712d1c92bee024a165b5facabdac1e2c866d9b1)
2007-10-10r24159: Convert reply_transs2 to the new APIVolker Lendecke2-47/+41
(This used to be commit a55a4d71ffe9ff1395e02f8bb3ad88fe5132fe99)
2007-10-10r24156: Convert reply_trans2 to the new APIVolker Lendecke2-57/+53
(This used to be commit a9c2d75b42be8b0d89ed1e1a2ce2c6ab4284f5ea)
2007-10-10r24155: Check wct in reply_trans2Volker Lendecke1-5/+21
(This used to be commit e0a708c79b4db4aab84022d568b5e7bf519e4b5a)
2007-10-10r24154: handle_trans2 does not reference inbuf/outbuf anymoreVolker Lendecke1-13/+9
(This used to be commit 8eb016a91e3ec8d1d9d5ae1ec6f92e1e0657d593)
2007-10-10r24153: Convert call_trans2setfsinfo to the new API.Volker Lendecke1-30/+57
This *might* break the transport encryption stuff. I need to check that. (This used to be commit 82b34d7bdbe5c5038810c11540b6b7bc04290653)
2007-10-10r24152: Convert call_trans2ioctl to the new APIVolker Lendecke1-25/+30
(This used to be commit db4e6781c4d1a9755a3ec45556be8dd935f15bae)
2007-10-10r24151: Convert call_trans2getdfsreferral to the new APIVolker Lendecke1-17/+25
(This used to be commit 642c58648b2468544e9488cbffe1a8b236949bcc)
2007-10-10r24150: Convert call_trans2qfsinfo to the new APIVolker Lendecke1-36/+59
(This used to be commit cdd86497b9830ba5fbc5b4511ed39ca44167faab)
2007-10-10r24149: Convert call_trans2setfilepathinfo to the new APIVolker Lendecke1-52/+81
(This used to be commit 50aa149cefc1da587f110eb0bf0344c737500f5b)
2007-10-10r24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfoVolker Lendecke1-37/+24
(This used to be commit 09ed6537b39f72e61043a93fadea33562b07c6c6)
2007-10-10r24147: Remove some inbuf refs from call_trans2setfilepathinfoVolker Lendecke1-4/+6
(This used to be commit a13c42be7548fc0de3e1f6f1eaacbad3046af0d0)
2007-10-10r24145: Fix a commentVolker Lendecke1-2/+2
(This used to be commit 34a00d8aa9af167c65baf7fc24de3c8e192f5ec0)
2007-10-10r24144: Fix the buildVolker Lendecke1-7/+5
In a function returning void the "return;" needs to stand alone on some compilers (This used to be commit 28affcca8e22b9a147876a60fec28551256bcaa8)
2007-10-10r24143: Convert call_trans2qfilepathinfo to the new APIVolker Lendecke1-85/+161
(This used to be commit 0b84e29120b87bf6fc86df10102f1c4d4f98cdb6)
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)