summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-25s4-smbtorture: Make test_SetupCredentials3 publicSumit Bose1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-21/+21
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-29s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation ↵Günther Deschner1-2/+6
test. When skipping over it, we can at least verify the credential chain. Guenther
2010-06-29s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().Günther Deschner1-1/+1
Guenther
2010-06-29s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.Günther Deschner1-0/+39
Guenther
2010-06-18s4:torture/rpc/netlogon.c - make sure that the address family is set in ↵Matthias Dieter Wallnöfer1-18/+18
little endian in the "AddressToSitenames" tests
2010-06-18s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run ↵Matthias Dieter Wallnöfer1-12/+16
against s4
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-1/+1
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
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