Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-15 | s4: Unit test update_machine_account_password through kinit | Matthieu Patou | 2 | -0/+40 | |
This patch is for testing the chgdcpass script which is mostly a call to update_machine_account_password. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-15 | s4: Add a simple script to change dc password | Matthieu Patou | 1 | -0/+63 | |
This script will mostly be used by unit test (blackbox type) to test the change of the dc password Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-15 | s4 provision: move update_machine_account_password to helpers | Matthieu Patou | 2 | -49/+51 | |
This is to allow reuse of this function and also unit tests Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-15 | s3: Fix crashes in the printing code | Volker Lendecke | 1 | -0/+3 | |
create_conn_struct did not create the conn->sconn!=NULL assumption we now depend on. Thanks to Andreas Schneider for testing! | |||||
2010-07-14 | s3-dcerpc: Break memory hierarchy for shared structure | Simo Sorce | 1 | -1/+1 | |
Handles are shared among multiple pipes_struct. We cannot allocate them on any specific pipes_struct or it will vanish for all others as soon as that pipes_struct is freed, leaving back dangling pointers. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-07-14 | s3-dcerpc: Break memory hierarchy for shared structure | Simo Sorce | 1 | -1/+1 | |
Handles are shared among multiple pipes_struct. We cannot allocate them on any specific pipes_struct or it will vanish for all others as soon as that pipes_struct is freed, leaving back dangling pointers. | |||||
2010-07-14 | s4: Added acl search tests for anonymous connection. | Nadezhda Ivanova | 1 | -83/+68 | |
The tests make sure that we comply with dsHeuristics setting and restrict anonymous access to rootDSE. They will be enabled when the implementation is pushed. tests are verified against win2k8. | |||||
2010-07-14 | s3-dcerpc: fix crash bug in error path of process_complete_pdu(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-14 | Fixed system_session_anon to actually make an anonymous session | Nadezhda Ivanova | 1 | -1/+1 | |
It seems that because the flag is false, this always used the supplied credentials rhather than establish anonymous connection. | |||||
2010-07-14 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 5 | -13/+19 | |
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3:smbd Give the kerberos session key a parent | Andrew Bartlett | 1 | -0/+2 | |
Nothing will free this, so this prevents a memory leak. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3:smbd Fix segfault if register_existing_vuid() fails | Andrew Bartlett | 1 | -4/+12 | |
The register_existing_vuid() call will handle both the ntlmssp_end and vuid invalidation internally, so we don't want to do it again. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3-selftest: enable RPC-BIND against s3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-14 | s4-smbtorture: add very simple RPC-BIND testsuite. | Günther Deschner | 4 | -2/+99 | |
Guenther | |||||
2010-07-14 | s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c. | Günther Deschner | 3 | -2/+2 | |
Guenther | |||||
2010-07-13 | s3-libnet: add missing header file, sorry. | Günther Deschner | 1 | -0/+13 | |
Guenther | |||||
2010-07-13 | s3-libnet: better separate headers. | Günther Deschner | 19 | -126/+61 | |
Guenther | |||||
2010-07-13 | s3-winbind: Don't cache queries to builtin and own sam domain. | Andreas Schneider | 1 | -3/+29 | |
2010-07-13 | s3-winbind: Set status before we leave in some msrpc functions. | Andreas Schneider | 1 | -0/+4 | |
2010-07-13 | Revert "Remove the global char *LastDir." | Jeremy Allison | 3 | -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-13 | s3-waf: fix the build. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-07-13 | s3-ldb: fix build warning. | Günther Deschner | 1 | -44/+1 | |
Guenther | |||||
2010-07-13 | s4: Reorganized dsHeuristics reset so the code can be reused | Nadezhda Ivanova | 1 | -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-13 | s3-dcerpc: Remove unused functions and headers | Simo Sorce | 3 | -355/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context() | Simo Sorce | 1 | -104/+76 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations. | Simo Sorce | 1 | -41/+32 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req() | Simo Sorce | 1 | -111/+89 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copy | Simo Sorce | 1 | -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-13 | s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memory | Simo Sorce | 1 | -30/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address | Simo Sorce | 3 | -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-13 | s3-dcerpc: pass the packet to setup_bind_nack() | Simo Sorce | 1 | -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-13 | s3-dceprc: Add debug messages | Simo Sorce | 1 | -0/+10 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused members | Simo Sorce | 1 | -3/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused functions | Simo Sorce | 3 | -378/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requests | Simo Sorce | 4 | -389/+406 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file | Simo Sorce | 3 | -67/+70 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Store opnum in its own variable | Simo Sorce | 8 | -13/+19 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct | Simo Sorce | 3 | -47/+37 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth() | Simo Sorce | 1 | -17/+23 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel() | Simo Sorce | 1 | -15/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp() | Simo Sorce | 1 | -21/+26 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | sr-dcerpc: add dcerpc_push_ncacn_packet_header() | Simo Sorce | 2 | -0/+43 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc delay rpc header unmarshalling | Simo Sorce | 1 | -49/+70 | |
Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused headers | Simo Sorce | 1 | -18/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_set_frag_length() | Simo Sorce | 3 | -18/+14 | |
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: link against ../librpc/rpc/dcerpc_util.c | Günther Deschner | 2 | -0/+7 | |
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s4-dcerpc: move some util functions up to main librpc directory. | Günther Deschner | 3 | -31/+54 | |
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused prototype | Simo Sorce | 1 | -1/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Fix ntlmssp sign/seal. | Simo Sorce | 1 | -15/+29 | |
Header calculation was misplaced. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Fix auth_length in auth3 response | Simo Sorce | 1 | -3/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> |