summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-09s4-torture: validate owf password hash and negotiate AES ServerGetTrustInfo ↵Günther Deschner1-4/+33
test. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: use names for r.in.logon_level of netlogon samlogon requests.Günther Deschner1-2/+2
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: add AES support for netr_ServerPasswordSet2 tests.Günther Deschner1-6/+29
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: pass down netlogon flags in netr_ServerPasswordSet2 tests.Günther Deschner1-4/+12
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: remove trailing whitespace from netlogon test.Günther Deschner1-105/+105
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-09-26netlogon: Per MS-NRPC, don't send unknown workstation flags back to theJelmer Vernooij1-3/+25
client.
2012-01-02s4:torture/rpc/netlogon.c - enhance the "DsRGetDCName*" testsMatthias Dieter Wallnöfer1-0/+96
To check for the expected behaviour (DS_* flags). Always according to MS-NRPC 2.2.1.2.1. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 2 20:43:05 CET 2012 on sn-devel-104
2011-12-23s4:torture/rpc/netlogon.c - factor out the computer name check in an own testMatthias Dieter Wallnöfer1-11/+61
This check is by no ways specific to "DsRGetSiteName" and hence it should be factored out in an own function. Samba at the moment does not implement the expected behaviour so I have added the "torture_skip" action. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 23 12:17:48 CET 2011 on sn-devel-104
2011-12-22s4-torture: Test rpc schannel netr_LogonGetCapability.Stefan Metzmacher1-0/+54
metze
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce1-2/+2
2011-02-28Fix some typesJelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-22s4:torture/rpc/netlogon.c - fix two build warnings by castsMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-1/+1
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-02s4:torture/rpc/netlogon: add invalid level tests for netr_LogonControl2Stefan Metzmacher1-0/+24
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 2 12:43:32 CET 2011 on sn-devel-104
2011-02-02s4:torture/rpc/netlogon: improve comments in test_LogonControl2()Stefan Metzmacher1-12/+12
metze
2011-02-02s4:torture/rpc/netlogon: test invalid netr_LogonControl() levelStefan Metzmacher1-0/+7
metze
2011-02-02s4:torture/rpc/netlogon: test invalid LogonSamLogon levelsStefan Metzmacher1-0/+90
This proves that the invalid parameter/info class checks need to be done before the credential chain checks. metze
2011-02-02s4:torture/rpc/netlogon: test validation levels 2 and 3Stefan Metzmacher1-1/+1
metze
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-3/+3
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-09s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett1-1/+1
The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett
2010-11-19s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"Matthias Dieter Wallnöfer1-2/+20
- Performs the short computer name check against the sam account name. - Enhances the LogonGetDomainInfo testsuite which checks the NULL "dns_hostname" behaviour Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer1-0/+1
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer1-1/+0
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-09-24s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"Matthias Dieter Wallnöfer1-5/+54
Since this one relies on the right server loadparm context which we aren't able to provide over torture. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-5/+5
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
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