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
Stefan Metzmacher
9bbe047f8d
s4:torture/rpc/autoidl: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
...
metze
2011-03-13 16:53:16 +01:00
Stefan Metzmacher
7888f0e7f7
s4:torture/rpc/object_uuid: use dcerpc_binding_handle_call() instead of dcerpc_ndr_request()
...
metze
2011-03-13 10:34:22 +01:00
Matthias Dieter Wallnöfer
a5aecdf361
s4:torture/rap/rap.c - remove unused variable "i"
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Mar 2 18:38:58 CET 2011 on sn-devel-104
2011-03-02 18:38:58 +01:00
Günther Deschner
bd675e0b15
s4-smbtorture: add netsessionenum rap torture test.
...
Guenther
2011-03-02 12:12:32 +01:00
Günther Deschner
c884e622fa
s4-smbtorture: add smbcli_rap_netsessionenum().
...
Guenther
2011-03-02 12:12:32 +01:00
Jelmer Vernooij
59a077d8f5
Fix some types
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28 23:30:06 +01:00
Jelmer Vernooij
136c160064
Use <tdb.h> to include tdb, so the system include file gets used when building against
...
system tdb.
2011-02-28 21:11:21 +01:00
Kamen Mazdrashki
375eddc15e
s4/drs-test: Remove unused imports
2011-02-27 00:23:20 +02:00
Kamen Mazdrashki
62a6b75482
s4/drs-test: remove netReplicateCmd test from 'deleted object' test case
...
DCs synchronization is moved to the test case setUp method
as there is no guarantee for the order of execution of tests
in a test case - thus netReplicateCmd may be executed after
ReplicateDeleteOjbect test
2011-02-27 00:23:20 +02:00
Kamen Mazdrashki
281e306045
s4/drs-tests: Disable replication during 'deleted object' test
...
This allows us to remove the patch that prevents the test failure.
Also pass 'forced' flag to samba-tool drs replicate command, otherwise
DsReplicaSync will fail with 'replication not permitted' error
2011-02-27 00:23:19 +02:00
Kamen Mazdrashki
90d0d3e5f8
s4/drs-tests: Move enable/disable replication methods to DrsBase class so we can re-use them
2011-02-27 00:23:19 +02:00
Andrew Tridgell
5ec284d152
build: moved librpc/rpc/*.c into a rpccommon library
...
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-24 02:42:37 +01:00
Matthias Dieter Wallnöfer
85f4f73ed4
s4:torture/rpc/netlogon.c - fix two build warnings by casts
...
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-22 11:45:49 +01:00
Andrew Tridgell
a12239b131
s4-waf: rename smbpasswd library to smbpasswdparser
...
this removes a conflict with the s3 smbpasswd binary
2011-02-22 02:51:10 +01:00
Günther Deschner
fb45c88904
s4-smbtorture: use torture_comment() instead of printf in raw.write test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 21 15:26:38 CET 2011 on sn-devel-104
2011-02-21 15:26:38 +01:00
Günther Deschner
138533da3c
s4-smbtorture: fix some indent in raw.write test.
...
Guenther
2011-02-21 14:42:22 +01:00
Günther Deschner
e1f4f0b605
s4-smbtorture: fix trailing whitespace in raw.write test.
...
Guenther
2011-02-21 14:42:22 +01:00
Christian Ambach
2ba57fd183
s4:smbtorture do not leave output directory around
...
calling smbtorture with no or invalid arguments left the temporary
output directory around
this patches removes the dead-end exit from usage and makes the
logic go on until the final cleanup state is reached
output directory will still be left around when test times out
or testcases itself force an exit
also make sure that the directory itself is deleted, not just
the objects in it
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
2011-02-21 11:35:30 +01:00
Kamen Mazdrashki
1273d504f2
s4/drs-tests:Blackbox test to verify DsReplicaSync handling
...
DsReplicaSync is indirectly called using 'samba-tool drs options' command
to enable/disable replication and 'samba-tool drs replicate' command
to trigger inbound replication cycle
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Feb 20 23:03:03 CET 2011 on sn-devel-104
2011-02-20 23:03:03 +01:00
Kamen Mazdrashki
adfb618ef5
s4/drs-tests: Allow _net_drs_replicate to force replication and return output from command execution
2011-02-20 23:13:11 +02:00
Kamen Mazdrashki
288e20cfb7
s4/drs-tests: Split samba-tool command line generation into separate method
...
so we can use to exec samba-tool passing different commands
2011-02-20 23:13:10 +02:00