summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc/lsa.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture/rpc: make use of dcerpc_binding_handle_auth_info() in lsa.cStefan Metzmacher2014-03-251-2/+7
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture/rpc: make use of dcerpc_binding_[g|s]et_transport()Stefan Metzmacher2014-02-131-10/+15
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* libcli/auth: also set secure channel type in netlogon_creds_client_init().Günther Deschner2013-08-051-0/+1
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s4:tortore/rpc/lsa: make more use of torture_assert*Stefan Metzmacher2012-10-031-47/+40
| | | | | | | | | | Currently samba3.rpc.lsa.privileges.lsa.Privileges(s3dc) seems to be flakey. We may be able to find the bug with this, or at least mark it as flapping. metze
* torture: More torture_assert() calls in rpc.lsaAndrew Bartlett2012-09-241-36/+19
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 24 05:27:46 CEST 2012 on sn-devel-104
* torture: use torture_assert rather than return false in rpc.lsaAndrew Bartlett2012-09-241-110/+52
| | | | | | This will help ensure we always generate correct subunit failures. Andrew Bartlett
* torture: tidy up rpc.lsa OpenPolicy2 test to more clearly use torture_fail()Andrew Bartlett2012-09-241-14/+10
|
* s4-torture: Don't consider NONE_MAPPED an error in LookupSids3.Andreas Schneider2012-07-061-3/+19
|
* s4-torture: Don't consider NONE_MAPPED an error in LookupNames4.Andreas Schneider2012-07-061-3/+15
|
* s4-torture: Add a lsarpc test_GetUserName_fail function.Andreas Schneider2012-07-061-0/+59
|
* s4-torture: Add a lsarpc test_OpenPolicy2_fail function.Andreas Schneider2012-07-061-20/+73
|
* s4-torture: Add a lsarpc test_OpenPolicy_fail function.Andreas Schneider2012-07-061-17/+74
|
* s4-torture: Add a lsarpc test_LookupNames4_fail function.Andreas Schneider2012-07-061-23/+74
|
* s4-torture: Add a lsarpc test_LookupSids3_fail function.Andreas Schneider2012-07-061-15/+68
|
* s4-torture: Test LookupSids3/LookupNames4 over np and tcpip.Andreas Schneider2012-07-061-8/+26
|
* s4-torture: Make sure lsa_OpenPolicy2 fails over TCP/IP.Andreas Schneider2012-07-061-7/+15
|
* s4-torture: Make sure lsa_OpenPolicy fails over TCP/IP.Andreas Schneider2012-07-061-9/+20
|
* s4-torture: Make sure ncacn_np tests are only called over the a pipe.Andreas Schneider2012-07-061-1/+27
|
* s4-torture: Test LookupSids3 and LookupNames4 only over tcpip.Andreas Schneider2012-07-061-13/+36
| | | | | LookupSids3 and LookupNames4 are only available over tcpip and MUST fail over named pipes.
* s4-torture: Use test_LookupSids3 function.Andreas Schneider2012-07-061-32/+1
|
* s4-torture: Fix build warnings in lsa test.Andreas Schneider2012-07-061-10/+2
|
* s4-torture: LookupSids3 is only available over NCACN_IP_TCP.Andreas Schneider2011-12-141-1/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104
* s4-smbtorture: For now, skip trusted domain auth validation tests against ↵Günther Deschner2011-08-311-9/+15
| | | | | | the sambas. Guenther
* s4-smbtorture: Add trust password to CreateTrust testSumit Bose2011-08-311-32/+245
| | | | | | | | Instead of using empty authinfo and authinfo_internal structures a trust password is added to these structures. After creating the trust the trust account is used to validate that the trust password is set correctly. Signed-off-by: Günther Deschner <gd@samba.org>
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-131-1/+1
|
* s4-smbtorture: add very basic tests for lsa_CreateTrustedDomainEx.Günther Deschner2011-07-151-21/+79
| | | | Guenther
* lsa: rename auth info argument in lsa_CreateTrustedDomainEx2Günther Deschner2011-07-151-1/+1
| | | | Guenther
* Fix some typesJelmer Vernooij2011-02-281-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-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
* libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett2010-10-141-17/+0
| | | | | | | | | This should ensure we only have one copy of these core functions in the tree. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-161-1/+1
| | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell2010-09-041-15/+50
| | | | | | | | | | | | | | | | | | | | | | | | Now that we support SePrintOperatorPrivilege, an interaction between the spoolss tests and the privileges tests cause a failure. The failure happens like this: - the spoolss.access test creates and then deletes an account with SePrintOperatorPrivilege privilege - this leaves the privileges database with an entry for a deleted account that is still visible via LSA calls. This is correct behaviour (verified against w2k8r2) - the lsa.privileges test then enumerates all accounts that have at least one privilege, and gets the SID for the deleted account - it then called LookupNames and LookupSids on this deleted account, and gets an error. The fix is to not call LookupSids and LookupNames on sids which have SID_NAME_UNKNOWN as the type Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose2010-08-251-0/+10
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-1/+1
|
* s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | NT_STATUS_NET_WRITE_FAULT metze
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-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
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-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.
* s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected ↵Stefan Metzmacher2010-04-091-4/+17
| | | | | | status metze
* s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.resultStefan Metzmacher2010-03-291-306/+361
| | | | metze
* s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-171-197/+207
| | | | metze
* s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubsStefan Metzmacher2010-03-121-8/+8
| | | | metze
* s4:torture/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher2010-03-011-1/+1
| | | | metze
* Change uint_t to unsigned int in source4Matt Kraai2010-02-021-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.Günther Deschner2009-11-031-3/+14
| | | | | | These are only supported by s3 when running pdb_ads atm. Guenther
* s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.Günther Deschner2009-11-031-0/+4
| | | | | | This is only supported by s3 when running pdb_ads atm. Guenther
* s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.Günther Deschner2009-11-031-0/+4
| | | | Guenther
* s4-smbtorture: simplify some torture_comments in RPC-LSA.Günther Deschner2009-11-031-20/+6
| | | | Guenther
* s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up ↵Günther Deschner2009-10-211-6/+45
| | | | | | a client. Guenther
* s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.Günther Deschner2009-10-201-16/+50
| | | | | | | Make sure to split out lsa_LookupName NULL name test so that we can better track results from bogus names and NULL names. Guenther
* s4-smbtorture: Make it simpler to specify number of trusted domains to create inGünther Deschner2009-10-201-17/+40
| | | | | | RPC-LSA-TRUSTED-DOMAINS. Guenther