summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context()Simo Sorce2010-07-131-104/+76
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations.Simo Sorce2010-07-131-41/+32
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req()Simo Sorce2010-07-131-111/+89
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copySimo Sorce2010-07-131-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>
* s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memorySimo Sorce2010-07-131-30/+27
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by addressSimo Sorce2010-07-133-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>
* s3-dcerpc: pass the packet to setup_bind_nack()Simo Sorce2010-07-131-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>
* s3-dceprc: Add debug messagesSimo Sorce2010-07-131-0/+10
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused membersSimo Sorce2010-07-131-3/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused functionsSimo Sorce2010-07-133-378/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requestsSimo Sorce2010-07-134-389/+406
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce2010-07-133-67/+70
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dceprc: Store opnum in its own variableSimo Sorce2010-07-138-13/+19
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_structSimo Sorce2010-07-133-47/+37
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth()Simo Sorce2010-07-131-17/+23
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel()Simo Sorce2010-07-131-15/+27
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp()Simo Sorce2010-07-131-21/+26
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* sr-dcerpc: add dcerpc_push_ncacn_packet_header()Simo Sorce2010-07-132-0/+43
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc delay rpc header unmarshallingSimo Sorce2010-07-131-49/+70
| | | | | | Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused headersSimo Sorce2010-07-131-18/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use dcerpc_set_frag_length()Simo Sorce2010-07-133-18/+14
| | | | | | Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: link against ../librpc/rpc/dcerpc_util.cGünther Deschner2010-07-132-0/+7
| | | | | | | Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s4-dcerpc: move some util functions up to main librpc directory.Günther Deschner2010-07-133-31/+54
| | | | | | | Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused prototypeSimo Sorce2010-07-131-1/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Fix ntlmssp sign/seal.Simo Sorce2010-07-131-15/+29
| | | | | | Header calculation was misplaced. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dceprc: Fix auth_length in auth3 responseSimo Sorce2010-07-131-3/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Fix miscalculation of buffer start addressSimo Sorce2010-07-121-1/+3
| | | | This was breaking schannel
* tsocket: Fix some unreachable codeVolker Lendecke2010-07-111-2/+1
|
* s3: [ug]id_to_unix_... can not failVolker Lendecke2010-07-114-20/+19
| | | | Remove some silly failure checks
* README.Coding: fix typosStefan Metzmacher2010-07-101-5/+6
| | | | | | Thanks to Michael Wood <esiotrot@gmail.com> for the review. metze
* README.Coding: add examples for good and bad commentsStefan Metzmacher2010-07-101-1/+72
| | | | metze
* s4:provision: remove --policy-guid and --policy-guid-dc cmdline optionsStefan Metzmacher2010-07-101-5/+0
| | | | metze
* s4:provision: also use fixed GUID names of the default group policies for ↵Stefan Metzmacher2010-07-101-2/+3
| | | | | | domain and domain controllers in tests metze
* s4 provision: use correct GUID for default policiesMatthieu Patou2010-07-101-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>
* s4 unittests: remove the provision directory before (re)generatingMatthieu Patou2010-07-103-0/+3
|
* s4 net: Add spn module to list/add/remove spn on objectsMatthieu Patou2010-07-104-0/+253
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* testprogs/blackbox/subunit.sh: initialize failed to 0Stefan Metzmacher2010-07-101-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
* s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole bufferStefan Metzmacher2010-07-101-0/+1
| | | | | | | We should not send uninitialized bytes to the winbind pipe, this makes also makes valgrind very unhappy. metze
* s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher2010-07-101-1/+2
| | | | metze
* s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher2010-07-101-1/+2
| | | | metze
* s4:libnet_GroupList: allocate children strings on the correct talloc parentStefan Metzmacher2010-07-101-2/+2
| | | | | | | Otherwise the _recv() function won't move the children strings to the callers memory context and let the callers crash. metze
* s4:libnet_UserList: allocate children strings on the correct talloc parentStefan Metzmacher2010-07-101-2/+2
| | | | | | | Otherwise the _recv() function won't move the children strings to the callers memory context and let the callers crash. metze
* s4:buildtools: add 'make show_waf_options'Stefan Metzmacher2010-07-101-0/+3
| | | | metze
* s4:buildtools: make it possible to use advanced test options via the make ↵Stefan Metzmacher2010-07-101-3/+3
| | | | | | | | | waf wrapper You can to do thinks like this now: make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo metze
* s3: Cleanup of the initial SMB2 counters patch.Ira Cooper2010-07-092-99/+191
| | | | | | | This reorganizes smbd_smb2_request_dispatch to have a central exit point, and use the normal profiling macros. Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:drepl_notify: hide some bugs from the make test outputStefan Metzmacher2010-07-091-1/+12
| | | | | | | | | | | | | | It's useless to get messages like this every few seconds: dreplsrv_notify: Failed to send DsReplicaSync to edbf4745-2966-49a7-8653-99200f1c9430._msdcs.samba2003.example.com for CN=Configuration,DC=samba2003,DC=example,DC=com - NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE We have a non bug regarding non-linked DN attributes and changes of the target DN. metze
* s4:drsuapi: don't return all linked attributes at the same timeStefan Metzmacher2010-07-091-8/+51
| | | | | | | | | | | | | Windows gives them in chunks, but I don't know the correct rule to calculate the chunk size. For now I'll use 1500 as the max size. Windows isn't happy when it gets ~ 100000 linked attributes in one response. It corrupts its directory index and later moves some objects to the LostAndFound folder. metze
* s3-build: Add a gdbtestenv environment for Samba3.Andreas Schneider2010-07-091-0/+6
| | | | | | | This will open 3 xterms; smbd with gdb, winbind with gdb and a window to run client commands. Example: make gdbtestenv SMBD_OPTIONS="-d2"
* s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid ↵Stefan Metzmacher2010-07-091-0/+5
| | | | | | alloc code metze
* selftest/Samba4: set dreplsrv:periodic_startup_interval = 0Stefan Metzmacher2010-07-091-0/+1
| | | | metze