summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24383: Convert call_nt_transact_ioctl to the new APIVolker Lendecke1-52/+55
(This used to be commit 8e6485e0782e9ab31b07dd9f662bd845f58faf4a)
2007-10-10r24382: Remove reply_prep_legacy from call_nt_transact_createVolker Lendecke1-83/+34
(This used to be commit 73392485f4c3bf8b4138b500b4882c492bf96358)
2007-10-10r24381: Push reply_prep_legacy into call_nt_transact_createVolker Lendecke1-68/+98
(This used to be commit ca18ba96be84ed12003af84c53cc5f2e92fcc984)
2007-10-10r24368: Push down reply_prep_legacy one levelVolker Lendecke1-55/+167
Not pretty, but necessary to convert the calls one by one (This used to be commit 523a463be427da0c3dbe01399e87b82b9f759512)
2007-10-10r24367: Push reply_prep_legacy into handle_nttransVolker Lendecke1-47/+32
(This used to be commit 8b5e51c2668799890d033a371e5b9a57b8f086c6)
2007-10-10r24361: Push reply_prep_legacy down in reply_nttrans[s]Volker Lendecke1-53/+64
(This used to be commit d97a2e91d3c44ad39e6a1ee369e1e906d98707f5)
2007-10-10r24359: Fix the buildVolker Lendecke1-1/+1
(This used to be commit b2ac1a3ec59f7c804521e5a478916fba16f4b3d4)
2007-10-10r24358: Push reply_prep_legacy into reply_nttrans[s]Volker Lendecke1-21/+53
(This used to be commit 197c2310792965f94d66ad7c8016a1594945bdf8)
2007-10-10r24357: Check wct in reply_nttrans[s]Volker Lendecke1-6/+21
(This used to be commit 9ab87e644e4dc54ebbcb8ad300fe338f4a809ba9)
2007-10-10r24356: Add send_nt_replies_new wrapperVolker Lendecke1-0/+18
(This used to be commit 8a910d37ccc767eb8ab25ef2af3a136ad874346f)
2007-10-10r24312: revision 24091 removed the 'FORCE'...Stefan Metzmacher1-1/+1
metze (This used to be commit 34d821daf0af6ef1e51dfd5cd99741f426d6956e)
2007-10-10r24310: we should not call END_PROFILE(SMBntcreateX); twice...Stefan Metzmacher1-1/+0
metze (This used to be commit 7a98e09f2e4d5eff074e2d71dd1ff2f019a4547a)
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-10r24145: Fix a commentVolker Lendecke1-2/+2
(This used to be commit 34a00d8aa9af167c65baf7fc24de3c8e192f5ec0)
2007-10-10r24130: Explicitly pass flags2 to srvstr_pushVolker Lendecke1-1/+4
This is in preparation of the trans2 conversion: srvstr_push should not look at inbuf directly. (This used to be commit 5fd7e6a3821bea26d352e3edc23b7a216b1200e5)
2007-10-10r24102: Pass the fid instead of inbuf and an offset to file_fsp.Volker Lendecke1-9/+9
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-10r24100: Convert reply_ntcancel to the new APIVolker Lendecke1-8/+6
(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 Lendecke1-63/+109
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-10r23997: Check in the infrastructure for getting rid of the global ↵Volker Lendecke1-3/+3
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-10r23939: Fixes for notify returns. Returned param value must fix insideJeremy Allison1-2/+3
max_param or return NT_STATUS_OK. Jeremy. (This used to be commit ab4af60d1ab4583fd27deb63b3f7baa1ede3473d)
2007-10-10r23903: Fix a potential reason for the segfault Steve foundVolker Lendecke1-0/+1
(This used to be commit c06bc91085c24bf6cc4491448ba12c5c2f1c7937)
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-10r23768: Get rid of the three global variables for the case semantics. I thinkVolker Lendecke1-64/+70
this is really not worth globals. Jeremy, please check for 3.0.26. (This used to be commit 6e655500c05f2584094329a95ad5791160147fd9)
2007-10-10r23765: Another error-path restore_case_semantics().Volker Lendecke1-0/+1
(This used to be commit a3e5fe1693a3e1830561d60254d6a3bfc0c30686)
2007-10-10r23764: Do restore_case_semantics in an error path. Jeremy, please check!Volker Lendecke1-0/+1
(This used to be commit 3b5422c9a401321788d824c68da31a39d85aece1)
2007-10-10r23761: Rename reduce_name to check_reduced_nameVolker Lendecke1-1/+1
The function name reduce_name is misleading, making the user believe it changes an argument. (This used to be commit 68234f0bc6fb4d6d99ae94ff067db118c60804aa)
2007-10-10r23738: Re-add commented out code snipped that got lost by accidentVolker Lendecke1-0/+10
(This used to be commit c38c31afb770350e47713bf1025c23fd774607ab)
2007-10-10r23727: Explicitly pass down FLAGS2 to srvstr_get_path.Volker Lendecke1-11/+32
Next step is to remove the bug that in the trans2 code we use the inbuf as the base pointer to decide whether we need ucs2 alignment where we need to use the beginning of the params buffer Jeremy, last one for today to reviw :-) (This used to be commit 18078b9faa3820fb34604063c9079c1ebe3ad47f)
2007-10-10r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The nextVolker Lendecke1-1/+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-10r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_requestVolker Lendecke1-22/+31
that contains some of the fields from the SMB header, removing the need to access inbuf directly. This right now is used only in the open file code & friends, and creating that header is only done when needed. This needs more work, but it is a start. Jeremy, I'm only checking this into 3_0, please review before I merge it to _26. Volker (This used to be commit ca988f4e79e977160d82e86486972afd15d4acf5)
2007-10-10r23640: When we support the SeSecurity privilage, this is whereJeremy Allison1-0/+21
we'll check it. Jeremy. (This used to be commit 1b73bf79f4f8a2bc408d52a1ce9df47f33fb3a87)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison1-9/+3
return to correctly return NT_STATUS_INVALID_OWNER if it should be disallowed. Matches better what W2K3R3 does. NFSv4 ACL module owners, please examine these changes. Jeremy. (This used to be commit fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
2007-10-10r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach1-1/+1
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2007-10-10r23450: max_params_return is complete fiction when getting a changenotifyJeremy Allison1-4/+2
request. Ignore it. Should fix bug #4689 but more tests and valgrinding will follow. Jeremy. (This used to be commit c23e08cc09b8de860ab9c7ac9d0e7c2502dfccd9)
2007-10-10r23346: Fix offline caching with XP/Vista. It was an off-by-oneJeremy Allison1-4/+4
in storing the access mask. I shouldn't have made this mistake. Damn. Fixes bug #4673. Jeremy (This used to be commit 84801d4e83786b9de3d0875a317ca9ed8ff5b3e4)
2007-10-10r23206: remove unreachable codeGerald Carter1-3/+0
(This used to be commit 6e2bb4836fab5e548429613dea431007af3a7995)
2007-10-10r23183: Check in a change made by Tridge:Volker Lendecke1-4/+2
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker (This used to be commit 9b10dbbd5de8813fc15ebbb6be9b18010ffe8139)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison1-1/+1
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22492: Add objectid code.Jeremy Allison1-10/+23
Jeremy. (This used to be commit d3df922038032b65f52e1e0ac1f2dd53a6933fb7)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison1-25/+31
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-10r22129: Fix the nttrans create extended response for pipesJeremy Allison1-5/+44
and files (tested with Win32 code). Bug #4404 should now be dead :-). Jeremy. (This used to be commit 40a86a56662eca2668b8a9515b9f924f54d80cc0)
2007-10-10r22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIREDJeremy Allison1-1/+24
set. Only the NTTrans create left to fix for csc. Jeremy. (This used to be commit 7856db9fce9906c5a7d19fbe69dfcfd4b644c134)
2007-10-10r22124: Wow - NTCreateX sets the word count to 42, but returns 50 onJeremy Allison1-1/+7
the wire. Strange.... But now we're returning Windows compatible extended info. Next to fix the pipe returns and NTTrans Creates. Jeremy. (This used to be commit 57e46f2f80db153fc7ce0eb09f24afa78aa27349)
2007-10-10r22123: Try and fix the csc (#4404) bug by supporting the extendedJeremy Allison1-7/+18
response to NTCreateX - need to fix this also for pipe open and NTTransCreate as well so this isn't finished. Jeremy. (This used to be commit be742f248178ae606dfa3a90c6148a18b42128e3)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-1/+1
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison1-8/+25
works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy. (This used to be commit 7a7862c01d07796ef206b255c676ad7dc2cc42fc)