summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-31s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" resultMatthias Dieter Wallnöfer1-1/+1
See MS-NRPC 3.5.5.6.3.
2010-05-31s4:torture/rpc/netlogon.c - add another "LogonGetDomainInfo" testcaseMatthias Dieter Wallnöfer1-0/+17
Mark it as dangerous since it does break some target systems.
2010-05-20s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC testAndrew Bartlett1-1/+1
We also compare against SamLogon to try and validate the whole thing. Note that we must represent NULL as "" when comparing between the PAC and SamLogon, due to different marshalling of the structures. Andrew Bartlett
2010-05-11s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use ↵Matthias Dieter Wallnöfer1-2/+2
"AF_UNIX" instead "AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
2010-04-27s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatibleMatthias Dieter Wallnöfer1-4/+56
2010-04-28s4-netlogon: fixed getDcNameEx2 for blank inputsAndrew Tridgell1-0/+9
w2k8r2 returns the local DC information on no inputs for getDcNameEx2. This is needed for starting dsa.msc (ADUC) on Win7. CDLAP on the same call returns an error. This uses a parameter fill_on_blank_request to distinguish the two cases.
2010-04-27s4-torture: not all platforms have defines like AF_AX25Andrew Tridgell1-6/+6
all we need are invalid values here, so just use fixd high values.
2010-04-27s4:torture - DsRGetDcSiteCoverageW - adapt test to check for the sitenameMatthias Dieter Wallnöfer1-0/+24
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27s4:torture - DsRGetSiteName - move "skip" statement before the ↵Matthias Dieter Wallnöfer1-3/+3
"computer_name" check We don't support the check for the computer name on the RPC server side. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27s4:torture - GetAnyDCName - adaptionsMatthias Dieter Wallnöfer1-2/+23
- Check for the various domainname set modes (on NULL and "" the domain should be the default domain on the server) - support return value "WERR_NO_SUCH_DOMAIN" (the server is the PDC of the domain) Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27s4:torture - DsRAddressesToSitenames - enhance the testsuiteMatthias Dieter Wallnöfer1-24/+264
This shows the Windows behaviour of these two calls which we should match. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-20s4:torture/rpc/netlogon.c - fix typoMatthias Dieter Wallnöfer1-1/+1
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-04-13s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"Matthias Dieter Wallnöfer1-0/+20
Test for right domainname handling.
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-1/+1
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
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