Stefan Metzmacher
b83223476c
s4:torture/nbt/winsreplication: ignore incoming broadcast messages
...
This will hopefully fix the flakey behavior of the
samba4.nbt.winsreplication.owned test.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 30 12:45:01 CEST 2011 on sn-devel-104
2011-04-30 12:45:01 +02:00
Stefan Metzmacher
9d738adcf8
s4:torture/nbt/winsreplication: assert the nbt name before the type
...
I hope that will make it easier to find problems
with the flakey samba4.nbt.winsreplication.owned test.
metze
2011-04-30 11:43:30 +02:00
Stefan Metzmacher
944929bb69
s4:torture/nbt/winsreplication: use torture macros in order report failures
...
This makes sure we can ignore this failures with the "knownfail"
file.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 30 10:37:16 CEST 2011 on sn-devel-104
2011-04-30 10:37:16 +02:00
Matthias Dieter Wallnöfer
bbf28703a4
s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"
...
Reviewed-by: abartlet
2011-04-29 19:05:04 +02:00
Matthias Dieter Wallnöfer
6611f0109b
s4:torture/rpc/testjoin.c - use a LDB result constant
...
Reviewed-by: abartlet
2011-04-29 19:05:04 +02:00
Günther Deschner
c8f9515f19
s4-smbtorture: restructure documentname handling in spoolss test a bit.
...
Guenther
2011-04-20 17:54:11 +02:00
Andrew Bartlett
f28f5db15a
libcli/auth Move PAC parsing and verification in common.
...
This uses the source3 PAC code (originally from Samba4) with some
small changes to restore functionality needed by the torture tests,
and to have a common API.
Andrew Bartlett
2011-04-20 04:31:07 +02:00
Andrew Bartlett
4fd6ebf544
selftest: Remove duplication between BUILDIR and BINDIR
...
Just have BINDIR, and have it default to ./bin
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Andrew Tridgell
887fdb7ba1
s4-test: added a test for E_deshash()
...
this particularly checks the boundary conditions near passwords of
length 14 characters
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Apr 13 07:31:55 CEST 2011 on sn-devel-104
2011-04-13 07:31:55 +02:00
Andrew Bartlett
d335b635c2
lib/util/charset Add many more charset tests
...
This confirms that the behaviour of the convert_string() API (with the
process-wide iconv handle).
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13 14:47:08 +10:00
Andrew Bartlett
a2c691ab9a
lib/util/charset Rename convert_string test to allow a 'non_handle' test
...
A future commit will test (with a subset of tests) the varient of this
function without _handle.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13 14:47:08 +10:00
Andrew Bartlett
87d2722b84
s4/torture Fix calls to charcnv functions to always supply converted_size
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13 14:47:07 +10:00
Günther Deschner
ead6faab27
s4-smbtorture: fix lsa forest trust test.
...
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-07 14:52:51 +02:00
Andrew Tridgell
a8da13cd5c
lib: make asn1_util a private library
...
this prevents symbol duplication of the asn1 symbols in the service
and ntvfs subsystems
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06 08:12:19 +02:00
Jelmer Vernooij
5cb8f6b9f1
Fix compilation without external heimdal.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Apr 3 17:18:56 CEST 2011 on sn-devel-104
2011-04-03 17:18:56 +02:00
Jelmer Vernooij
09289c073c
use system heimdal headers if possible, fix missing dependencies on hx509 and krb5 libraries.
2011-04-03 16:33:04 +02:00
Andrew Bartlett
620921b36b
lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et al
...
This adds tests for:
strncasecmp_m
strcasecmp_m
strupper_talloc_n
strlower_talloc
strhaslower
strhasupper
The tests can certainly be improved with pre-calculated upper and
lower case text, but this at least puts them though their paces.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Mar 31 14:24:22 CEST 2011 on sn-devel-104
2011-03-31 14:24:22 +02:00
Jeremy Allison
c109a70531
Fix convert_string() to take a *converted_size arg. and return a bool.
...
Makes these interfaces much harder to misuse and easier to ensure error
checking.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104
2011-03-30 23:59:37 +02:00
Andrew Bartlett
43e364e61b
lib/util/charset Add tests for convert_string_talloc_handle()
...
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104
2011-03-30 13:02:47 +02:00
Jeremy Allison
0c5214e2eb
Ensure convert_string_XXX is always called with a valid converted_size pointer.
...
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-29 21:01:49 +02:00
Andrew Tridgell
f4d581468c
s4-fsmo: samba-tool fsmo takes a URL, not a hostname
...
better to call the option --url
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Bartlett
b5616adc8a
lib/util/charset rename iconv_convenience to iconv_handle
...
This better reflects what this structure is
Andrew Bartlett
2011-03-25 04:37:06 +01:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to 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-24 01:47:26 +01:00
Jelmer Vernooij
fc720be5a2
source4/torture: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
7628fb2396
source4/torture/ndr: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
be9f1ca1c6
source4/torture/basic: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Jelmer Vernooij
6dfd88ab0a
source4/torture/raw: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Günther Deschner
de5cec48a4
s4-smbtorture: add netsessiongetinfo() test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-18 02:11:38 +01:00
Günther Deschner
26ddcd3da1
s4-smbtorture: add missing error code check in test_netsessionenum().
...
Guenther
2011-03-18 01:24:07 +01:00
Günther Deschner
9ef1a8cf4c
s4-smbtorture: add test for rap_NetUserDelete().
...
Guenther
2011-03-18 01:24:07 +01:00
Günther Deschner
249340c9c8
s4-smbtorture: add test for rap_NetUserAdd().
...
Guenther
2011-03-18 01:24:07 +01:00
Günther Deschner
40398acf75
s4-smbtorture: use torture_assert_ and comment functions in raw.eas test.
...
Guenther
2011-03-18 01:24:06 +01:00
Günther Deschner
4a48c9d4ac
s4-smbtorture: use torture_context in raw.eas test.
...
Guenther
2011-03-18 01:24:06 +01:00
Günther Deschner
ac851935e2
s4-smbtorture: remove trailing whitespace from raw.eas test.
...
Guenther
2011-03-18 01:24:06 +01:00
Günther Deschner
717beda638
s4-smbtorture: more torture_fail usage in raw.write test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar 17 13:10:14 CET 2011 on sn-devel-104
2011-03-17 13:10:14 +01:00
Günther Deschner
48c2117019
s4-smbtorture: use torture_assert in torture_samba3_rpc_sharesec().
...
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-16 17:47:11 +01:00
Günther Deschner
9295cffad8
s4-smbtorture: use torture_fail and _assert in torture_samba3_rpc_getusername().
...
Guenther
2011-03-16 17:04:04 +01:00
Günther Deschner
7544f23d20
s4-smbtorture: remove explicit mem_ctx from torture_samba3_rpc_getusername().
...
Guenther
2011-03-16 16:56:47 +01:00
Günther Deschner
97addd8fc2
s4-smbtorture: use torture_assert in samr large-dc test.
...
Guenther
2011-03-16 16:56:46 +01:00
Günther Deschner
e084edc16e
s4-smbtorture: use torture_fail and _assert macros in torture_netlogon_samba3().
...
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-16 15:51:12 +01:00
Günther Deschner
be55bbc575
s4-smbtorture: remove explicit mem_ctx from torture_netlogon_samba3().
...
Guenther
2011-03-16 14:56:16 +01:00
Günther Deschner
8775aee036
s4-smbtorture: use torture_fail and _skip in raw.write test.
...
Guenther
2011-03-16 14:52:51 +01:00
Günther Deschner
1b055fa6c6
s4-smbtorture: remove duplicate if branch in raw.write test.
...
Guenther
2011-03-16 14:51:30 +01:00
Günther Deschner
227c00d8bd
s4-smbtorture: use torture_fail/-assert api in torture_samba3_hide().
...
Guenther
2011-03-16 14:04:09 +01:00
Günther Deschner
c287351d05
s4-rap: remove last iconv_convenience traces from rap client and test code.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 15 22:01:51 CET 2011 on sn-devel-104
2011-03-15 22:01:51 +01:00
Günther Deschner
135104649f
s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP subsystem.
...
Guenther
2011-03-15 21:16:36 +01:00
Günther Deschner
ebe0aa0e9c
s4-smbtorture: check for username and computername presence in rap_netsessionenum test.
...
Guenther
2011-03-15 21:16:35 +01:00
Jelmer Vernooij
431853c846
Merge new lorikeet heimdal, revision 85ed7247f515770c73b1f1ced1739f6ce19d75d2
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Mar 14 23:53:46 CET 2011 on sn-devel-104
2011-03-14 23:53:46 +01:00
Stefan Metzmacher
572683d9ad
s4:torture/rpc/scanner: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
...
metze
2011-03-13 17:00:59 +01:00
Stefan Metzmacher
c3d8b4f003
s4:torture/rpc/countcalls: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
...
metze
2011-03-13 17:00:40 +01:00