summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2011-08-31s4-smbtorture: For now, skip trusted domain auth validation tests against ↵Günther Deschner1-9/+15
the sambas. Guenther
2011-08-31s4-smbtorture: Add trust password to CreateTrust testSumit Bose1-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>
2011-08-31s4-smbtorture: Add tests for lsaQueryTrustedDomainInfoByName() and ↵Sumit Bose1-0/+102
lsaSetTrustedDomainInfoByName() Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce4-8/+8
2011-08-03gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett1-3/+3
gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
2011-08-03gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett4-0/+4
The startup and runtime functions that have no dependencies are moved into the top level. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20auth: Split out make_user_info_SamBaseInfo and add authenticated argumentAndrew Bartlett1-0/+1
This will allow the source3 auth code to call this without needing to double-parse the SIDs Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-15s4-smbtorture: add very basic tests for lsa_CreateTrustedDomainEx.Günther Deschner1-21/+79
Guenther
2011-07-15lsa: rename auth info argument in lsa_CreateTrustedDomainEx2Günther Deschner2-2/+2
Guenther
2011-06-21s4-smbtorture: rework the spoolss notify test a bit.Günther Deschner1-16/+15
Guenther
2011-06-21s4-smbtorture: use ipv4 addresses for backchannel spoolss change notifyGünther Deschner1-1/+1
connections for now. Guenther
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-1/+1
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-05-18s4:auth/credentials: pass 'self_service' to ↵Stefan Metzmacher1-3/+4
cli_credentials_set_impersonate_principal() This also adds a cli_credentials_get_self_service() helper function. In order to support S4U2Proxy we need to be able to set the service principal for the S4U2Self step independent of the target principal. metze
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-2/+2
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-04-29s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"Matthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-04-29s4:torture/rpc/testjoin.c - use a LDB result constantMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-04-20s4-smbtorture: restructure documentname handling in spoolss test a bit.Günther Deschner1-3/+4
Guenther
2011-04-13s4/torture Fix calls to charcnv functions to always supply converted_sizeAndrew Bartlett2-2/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-07s4-smbtorture: fix lsa forest trust test.Günther Deschner1-1/+1
lsa_lsaRSetForestTrustInformation takes a policy handle obtained from lsaopenpolicy/lsaopenpolicy2 and not a trusted domain handle (MS-LSAD 3.1.4.7.16 LsarSetForestTrustInformation (Opnum 74)). Sumit, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 7 14:52:52 CEST 2011 on sn-devel-104
2011-04-03Fix compilation without external heimdal.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 3 17:18:56 CEST 2011 on sn-devel-104
2011-04-03use system heimdal headers if possible, fix missing dependencies on hx509 ↵Jelmer Vernooij1-1/+5
and krb5 libraries.
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison1-2/+2
Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell3-5/+3
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: use torture_assert in torture_samba3_rpc_sharesec().Günther Deschner1-23/+18
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 17:47:11 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: use torture_fail and _assert in torture_samba3_rpc_getusername().Günther Deschner1-48/+16
Guenther
2011-03-16s4-smbtorture: remove explicit mem_ctx from torture_samba3_rpc_getusername().Günther Deschner1-20/+14
Guenther
2011-03-16s4-smbtorture: use torture_assert in samr large-dc test.Günther Deschner1-14/+38
Guenther
2011-03-16s4-smbtorture: use torture_fail and _assert macros in torture_netlogon_samba3().Günther Deschner1-30/+16
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 15:51:12 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: remove explicit mem_ctx from torture_netlogon_samba3().Günther Deschner1-12/+3
Guenther
2011-03-15s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP ↵Günther Deschner1-2/+1
subsystem. Guenther
2011-03-14Merge new lorikeet heimdal, revision 85ed7247f515770c73b1f1ced1739f6ce19d75d2Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 14 23:53:46 CET 2011 on sn-devel-104
2011-03-13s4:torture/rpc/scanner: use dcerpc_binding_handle_raw_call() instead of ↵Stefan Metzmacher1-2/+11
dcerpc_request() metze
2011-03-13s4:torture/rpc/countcalls: use dcerpc_binding_handle_raw_call() instead of ↵Stefan Metzmacher1-2/+12
dcerpc_request() metze
2011-03-13s4:torture/rpc/autoidl: use dcerpc_binding_handle_raw_call() instead of ↵Stefan Metzmacher1-6/+43
dcerpc_request() metze
2011-03-13s4:torture/rpc/object_uuid: use dcerpc_binding_handle_call() instead of ↵Stefan Metzmacher1-2/+4
dcerpc_ndr_request() metze
2011-02-28Fix some typesJelmer Vernooij3-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 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-16s4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.Sumit Bose1-2/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s4-smbtorture: Two fixes for forest trust test against samba.Sumit Bose1-2/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-15s4: Fix a typoVolker Lendecke1-1/+1
2011-02-15s4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding ↵Matthias Dieter Wallnöfer1-2/+16
QueryDisplayInfo This is needed to comply with the previous patch. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 17:40:22 CET 2011 on sn-devel-104
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell2-2/+2
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-09s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett1-36/+40
This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
2011-02-08s4-smbtorture: add torture test to check proper add and delete driver ↵Günther Deschner1-0/+77
operations. Thanks to Bjoern Baumbach <bb@sernet.de> for pushing us to test and verify this. Guenther
2011-02-08s4-smbtorture: also run the driver timestamp spoolss test against samba.Günther Deschner1-4/+0
Guenther
2011-02-08libndr: share some uuid helpers.Günther Deschner1-7/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
2011-02-05s4 torture: add new rpc torture tests for backup key remote protocolMatthieu Patou2-0/+1039
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Feb 5 13:01:42 CET 2011 on sn-devel-104