summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29s4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.resultGünther Deschner1-98/+116
Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-17s4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-61/+99
metze
2010-03-12s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubsStefan Metzmacher1-3/+6
metze
2010-03-11s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.Günther Deschner1-4/+30
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly crashes smbd (in preparation of fixing bug #7237). Guenther
2010-03-09s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible ↵Matthias Dieter Wallnöfer1-18/+100
against Windows Server 2008 This is a reworked version of the mentioned test which passes against Windows Server 2008. The previous version, also mainly written by me passed only against Windows Server <= 2003.
2010-03-01s4:RPC-NETLOGON: remove useless rpc callbackStefan Metzmacher1-18/+1
If we got a failure from one request we bail out early. metze
2010-03-01s4:torture/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher1-1/+1
metze
2010-02-26s4:torture/rpc: use generate_random_password()Stefan Metzmacher1-4/+4
metze
2009-11-21s4:torture/rpc/netlogon - Fix uninitialised variableMatthias Dieter Wallnöfer1-2/+1
2009-11-09s4-smbtorture: re-arrange netlogon LogonControl test.Günther Deschner1-13/+64
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that tests the behaviour of that call when called by user, dc or workstation. Guenther
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-1/+1
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-6/+0
This reduces compile time somewhat.
2009-10-16s4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.Günther Deschner1-3/+109
Guenther
2009-10-14s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer1-3/+3
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way.
2009-09-06s4:torture - Fix uninitialized variableMatthias Dieter Wallnöfer1-1/+1
2009-09-02s4-smbtorture: test netr_ServerSetPassword2 against Samba3.Günther Deschner1-0/+1
Guenther
2009-08-27s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests.Günther Deschner1-9/+12
Guenther
2009-08-27s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite.Günther Deschner1-0/+101
Guenther
2009-08-26s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.Günther Deschner1-0/+18
Guenther
2009-08-04s4:torture Make RPC-NETLOGON pass against ncaclrpc serversAndrew Bartlett1-122/+132
The original patch didn't cope with a NULL target server name - we now key off that to decide it isn't worth checking against LDAP for this host. I still can't get this to pass against Windows 2008, but mdw was testing against Windows 2008R2. at least 'make test' is happy, and the rest should not be too hard... Andrew Bartlett
2009-08-03s4: Change constant to comply with the merged buildMatthias Dieter Wallnöfer1-1/+1
2009-08-03s4: Torture test for enhancements in "netr_LogonGetDomainInformations" callMatthias Dieter Wallnöfer1-26/+275
This corrects and enhances the torture test of the mentioned call.
2009-06-29s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.Günther Deschner1-1/+1
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC (ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST). Guenther
2009-06-18NETLOGON pipe improvementsMatthias Dieter Wallnöfer1-2/+2
Patch for bug #4939 This refactors the NETLOGON code related to this bug: - Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc. to WSPP) - Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP) - Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is also true when a domain is running in mixed mode) - Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex" (acc. to WSPP) - Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett1-84/+89
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
2009-01-06s4-smbtorture: verify each password change via samlogon in ↵Günther Deschner1-1/+1
SAMR-PASSWORDS-PWDLASTSET test. Guenther
2008-12-23Fix more compiler warnings.Jelmer Vernooij1-1/+0
2008-12-17s4: smbtorture, fix the build of netlogon test after idl change.Günther Deschner1-2/+2
Guenther
2008-12-17s4: fix smbtorture build after idl change.Günther Deschner1-4/+13
Guenther
2008-12-10s4-smbtorture: add simple netr_ServerGetTrustInfo test.Günther Deschner1-0/+42
Guenther
2008-12-04RAW-NETLOGON: check netr_GetAnyDCName() resultStefan Metzmacher1-0/+1
metze
2008-11-06s4-smbtorture: add test for netr_DatabaseRedo.Günther Deschner1-0/+535
Guenther
2008-10-29s4-netlogon: merge netr_ServerPasswordSet2 from s3 idl.Günther Deschner1-18/+23
Guenther
2008-10-29s4-netlogon: merge netr_ServerPasswordSet from s3 idl.Günther Deschner1-6/+11
Guenther
2008-10-29s4-netlogon: merge netr_ServerReqChallenge from s3 idl.Günther Deschner1-3/+3
Guenther
2008-10-29s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.Günther Deschner1-3/+3
Guenther
2008-10-29s4-netlogon: merge netr_DatabaseSync2 from s3 idl.Günther Deschner1-5/+17
Guenther
2008-10-29s4-netlogon: merge netr_DatabaseSync from s3 idl.Günther Deschner1-11/+21
Guenther
2008-10-29s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.Günther Deschner1-1/+8
Guenther
2008-10-29s4-netlogon: merge netr_AccountSync from s3 idl.Günther Deschner1-2/+18
Guenther
2008-10-29s4-netlogon: merge netr_AccountDeltas from s3 idl.Günther Deschner1-1/+14
Guenther
2008-10-29s4-netlogon: merge netr_DatabaseDeltas from s3 idl.Günther Deschner1-7/+12
Guenther
2008-10-29s4-netlogon: merge netr_LogonGetDomainInfo from s3 idl.Günther Deschner1-0/+4
Guenther
2008-10-29s4-netlogon: merge netr_LogonControl2Ex from s3 idl.Günther Deschner1-0/+2
Guenther
2008-10-29s4-netlogon: merge netr_LogonControl2 from s3 idl.Günther Deschner1-4/+15
Guenther
2008-10-29s4-netlogon: merge netr_LogonControl from s3 idl.Günther Deschner1-0/+2
Guenther
2008-10-29s4-netlogon: merge netr_DsRGetDCName{Ex,Ex2} from s3 idl.Günther Deschner1-6/+13
Guenther
2008-10-28s4-netlogon: merge netr_GetDcName from s3 idl.Günther Deschner1-1/+3
Guenther
2008-10-28s4-netlogon: merge netr_GetAnyDCName from s3 idl (untested).Günther Deschner1-3/+7
Guenther
2008-10-28s4-netlogon: merge netr_DsRGetSiteName from s3 idl.Günther Deschner1-1/+3
Guenther