summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-145/+174
metze
2010-03-16s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-86/+89
metze
2010-03-16s4:torture/rpc/spoolss_notify.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-15/+19
metze
2010-03-16s4:torture/rpc/spoolss_notify.c: fix compiler warningsStefan Metzmacher1-1/+5
metze
2010-03-16s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2-314/+342
metze
2010-03-16s4:tortore/rpc/spoolss.c: fix compiler warningStefan Metzmacher1-1/+0
metze
2010-03-16s4:torture/rpc/autoidl.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-6/+7
metze
2010-03-16s4:torture/rpc/mgmt.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2-16/+20
metze
2010-03-16s4:torture/rpc/remact.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-2/+3
metze
2010-03-16s4:torture/rpc/oxidresolve.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-7/+15
metze
2010-03-16s4:torture/rpc/initshutdown.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-3/+6
metze
2010-03-16s4:torture/rpc/epmapper.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-12/+18
metze
2010-03-16s4:torture/rpc/eventlog.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-33/+41
metze
2010-03-16s4:tortore/rpc/eventlog.c: rename variable 'b' => 'br'Stefan Metzmacher1-7/+7
metze
2010-03-16s4:torture/rpc/svcctl.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-63/+80
metze
2010-03-16s4:torture/rpc/atsvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-4/+8
metze
2010-03-16s4:torture/rpc/wkssvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-32/+63
metze
2010-03-16s4:torture/rpc/srvsvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-23/+42
metze
2010-03-16s4:torture/rpc/dsgetinfo.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-3/+6
metze
2010-03-16s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-6/+8
metze
2010-03-16s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubsStefan Metzmacher2-24/+25
metze
2010-03-16s4:torture/rpc/unixinfo.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-5/+10
metze
2010-03-16s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:Günther Deschner1-4/+0
Guenther
2010-03-16s3-winreg: change notify call has no meaning when called remotely.Günther Deschner1-4/+0
Just return not supported to make smbtorture happy. Guenther
2010-03-16s3-registry: make sure root has full registry access (in particular for make ↵Günther Deschner1-0/+6
test). Guenther
2010-03-16s4-smbtorture: make it a bit easier to track failures in RPC-SPOOLSS-PRINTER.Günther Deschner1-5/+15
Guenther
2010-03-16s4:torture-ndr add lsarSetForestTrustInformation ndr testSimo Sorce1-0/+51
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16s4-lsa: fix dcesrv_lsa_lsaRSetForestTrustInformation server stub.Günther Deschner1-3/+3
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16s3-lsa: fix _lsa_lsaRSetForestTrustInformation server stub.Günther Deschner1-1/+1
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16s3: re-run make samba3-idl.Günther Deschner7-47/+579
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16s4:idl add lsaRSetForestTrustInformationSimo Sorce1-2/+50
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba ↵Stefan Metzmacher1-9/+5
(both dont survive)."" This reverts commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3. This lets make test fail. Matthias: please make sure make test still passes when you change things like this...(maybe add something to knownfail or so) metze
2010-03-16s4:torture/rpc/dsgetinfo.c: fix name resolving for ldap_urlStefan Metzmacher1-1/+6
metze
2010-03-16Update copyrightJim McDonough1-1/+1
2010-03-16security.idl - push generated code diffMatthias Dieter Wallnöfer2-1/+14
2010-03-16s4:resolve_oids LDB module - not really a change but a nicer method to call ↵Matthias Dieter Wallnöfer1-1/+2
"talloc_reference"
2010-03-16Don't exit(0) on errorJim McDonough1-3/+3
2010-03-16s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and closeHolger Hetterich2-2/+65
2010-03-16smb_traffic_analyzer.c: optimize marshalling function and documentHolger Hetterich2-34/+54
Collect all data that is needed, and use only one talloc_asprintf operation to create the string of common data. This simplifies the code a bit and is most probably faster than the old method. Also, #define SMBTA_COMMON_DATA_COUNT as a complete string, speeding things up because we know the value at compile time.
2010-03-16vfs_smb_traffic_analyzer.c: added functionHolger Hetterich1-63/+58
static char *smb_traffic_analyzer_anonymize This takes a lot of code out of the main functions, and makes it a bit simpler. Do the anonymization in a function. Since we already anonymized the username we don't need to do this a second time in the v2 marshalling function.
2010-03-16Simplify the code a bit by creating the functions:Holger Hetterich1-84/+123
smb_traffic_analyzer_encrypt - doing the encryption of a data block, smb_traffic_analyzer_create_header - create the protocol header, smb_traffic_analyzer_write_data - actually write the data to the socket.
2010-03-16Update the manpage of vfs_smb_traffic_analyzer and add smbta-util.Holger Hetterich2-8/+237
2010-03-16Add the number of common data blocks to the protocol.Holger Hetterich2-10/+33
Always send the number of common data blocks first. This way, we can make the protocol backwards compatible. A receiver running with an older subprotocol can just ignore if a newer sender sends more common data. Add a few remarks to the marshalling function. Add two #define lines defining the protocol subrelease number and the number of common data blocks to the header file.
2010-03-16Put all the protocol stuff into a separate header file.Holger Hetterich2-114/+152
All the structures and the vfs function identifier list is required by the receiver. It's therefore very handy to have this in an extra header file.
2010-03-16Add smbta-util to manage the encryption key.Holger Hetterich3-4/+225
This program allows the administrator to enable or disable AES encryption when using vfs_smb_traffic_analyzer. It also generates new keys, stores them to a file, so that the file can be reused on another client or server.
2010-03-16Implement AES encryption of the data block.Holger Hetterich1-13/+33
First try. This runs on 16 bytes long AES block size, and enlarges the data block with 16 bytes, to make sure all bytes are in. The added bytes are filled with '.'. It then creates a header featuring the new length to be send, and finally sends the data block, then returns. This code is untested, as creating the receiver will be my next step. To simplify traffic_analyzer's code, this code should run as a function. It's on the do-to-list.
2010-03-16Implement anonymization for protocol v2.Holger Hetterich1-14/+53
Since we need to care for the SID too, do the anonymization in the marshalling function and anonymize both the username and the SID. Remove the 'A' status flag from the header definition. A listener could see from the unencrypted header if the module is anonymizing or not, which is certainly not wanted.
2010-03-16Make all remarks compatible to the linux kernel coding styleguide.Holger Hetterich1-27/+33
2010-03-16Added an exact description of the V2 protocol.Holger Hetterich1-0/+62
I don't think it should have it's place the man page, because this is developer information.
2010-03-16Move the creation of the header.Holger Hetterich1-11/+37
Since the header block of the protocol contains the number of bytes to come, we always send the header itself unmodified. If we compress or crypt the data we are about to send, the length of the data to send may change. Therefore, we no longer create the header in smb_traffic_analyzer_create_string, but shortly before we send the data. For both cases, encryption and normal, we create our own header, and send it before the actual data. In case of protocol v1, we don't need to create an extra header. Just send the data, and return from the function. Change a debug message to say that the header for crypted data has been created. Add a status flags consisting of 6 bytes to the header. Their function will be descriped in one of the next patches, which is descriping the header in a longer comment. When anonymization and/or encryption is used, set the flags accordingly.