summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-14s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c.Günther Deschner3-2/+2
Guenther
2010-07-13s3-libnet: add missing header file, sorry.Günther Deschner1-0/+13
Guenther
2010-07-13s3-libnet: better separate headers.Günther Deschner19-126/+61
Guenther
2010-07-13s3-winbind: Don't cache queries to builtin and own sam domain.Andreas Schneider1-3/+29
2010-07-13s3-winbind: Set status before we leave in some msrpc functions.Andreas Schneider1-0/+4
2010-07-13Revert "Remove the global char *LastDir."Jeremy Allison3-1/+22
Volker pointed out I'd missed the "last directory" cache part of this code. Return us to caching the directory we're in (reduces sys call load). Mea maxima culpa. Jeremy. This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871.
2010-07-13s3-waf: fix the build.Günther Deschner1-0/+1
Guenther
2010-07-13s3-ldb: fix build warning.Günther Deschner1-44/+1
Guenther
2010-07-13s4: Reorganized dsHeuristics reset so the code can be reusedNadezhda Ivanova1-53/+38
Moved the setting of dsHeuristics to a method as soon we will have to set other values as well in different tests
2010-07-13s3-dcerpc: Remove unused functions and headersSimo Sorce3-355/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context()Simo Sorce1-104/+76
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations.Simo Sorce1-41/+32
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req()Simo Sorce1-111/+89
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copySimo Sorce1-105/+52
Also move dcerpc_push_dcerpc_auth() invocation in api_pipe_bind_req() to simplify the workflow. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memorySimo Sorce1-30/+27
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by addressSimo Sorce3-8/+8
There is no need to copy the whole structure twice by passing it in by value. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: pass the packet to setup_bind_nack()Simo Sorce1-6/+6
Allows to not rely on p->call_id but use the value directly from the request packet header. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Add debug messagesSimo Sorce1-0/+10
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused membersSimo Sorce1-3/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused functionsSimo Sorce3-378/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requestsSimo Sorce4-389/+406
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce3-67/+70
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Store opnum in its own variableSimo Sorce8-13/+19
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_structSimo Sorce3-47/+37
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth()Simo Sorce1-17/+23
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel()Simo Sorce1-15/+27
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp()Simo Sorce1-21/+26
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13sr-dcerpc: add dcerpc_push_ncacn_packet_header()Simo Sorce2-0/+43
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc delay rpc header unmarshallingSimo Sorce1-49/+70
Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused headersSimo Sorce1-18/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_set_frag_length()Simo Sorce3-18/+14
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: link against ../librpc/rpc/dcerpc_util.cGünther Deschner2-0/+7
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s4-dcerpc: move some util functions up to main librpc directory.Günther Deschner3-31/+54
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused prototypeSimo Sorce1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Fix ntlmssp sign/seal.Simo Sorce1-15/+29
Header calculation was misplaced. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Fix auth_length in auth3 responseSimo Sorce1-3/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-12s3-dcerpc: Fix miscalculation of buffer start addressSimo Sorce1-1/+3
This was breaking schannel
2010-07-11tsocket: Fix some unreachable codeVolker Lendecke1-2/+1
2010-07-11s3: [ug]id_to_unix_... can not failVolker Lendecke4-20/+19
Remove some silly failure checks
2010-07-10README.Coding: fix typosStefan Metzmacher1-5/+6
Thanks to Michael Wood <esiotrot@gmail.com> for the review. metze
2010-07-10README.Coding: add examples for good and bad commentsStefan Metzmacher1-1/+72
metze
2010-07-10s4:provision: remove --policy-guid and --policy-guid-dc cmdline optionsStefan Metzmacher1-5/+0
metze
2010-07-10s4:provision: also use fixed GUID names of the default group policies for ↵Stefan Metzmacher1-2/+3
domain and domain controllers in tests metze
2010-07-10s4 provision: use correct GUID for default policiesMatthieu Patou1-2/+7
The value of GUID for policy is not random for default policies, it is described here ("How Core Group Policy Works"): http://technet.microsoft.com/en-us/library/cc784268%28WS.10%29.aspx at paragraph System\Policies Container. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-10s4 unittests: remove the provision directory before (re)generatingMatthieu Patou3-0/+3
2010-07-10s4 net: Add spn module to list/add/remove spn on objectsMatthieu Patou4-0/+253
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-10testprogs/blackbox/subunit.sh: initialize failed to 0Stefan Metzmacher1-0/+3
This is a short-term workarround for broken scripts, which use "exit $failed", without initializing failed. We need a discussion on the mailing list how to handle this in a nicer way. This should fix some random failures in the blackbox tests. metze
2010-07-10s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole bufferStefan Metzmacher1-0/+1
We should not send uninitialized bytes to the winbind pipe, this makes also makes valgrind very unhappy. metze
2010-07-10s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher1-1/+2
metze
2010-07-10s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher1-1/+2
metze