1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

149 Commits

Author SHA1 Message Date
Andreas Schneider
811c412da5 s4:torture: Use GnuTLS RC4 for RAP SAM test
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14031

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-07-26 01:48:25 +00:00
Jeremy Allison
e7e56bcc72 s4: torture: Change torture_register_suite() to add a TALLOC_CTX *.
Change callers to use the passed in TALLOC_CTX *
instead of talloc_autofree_context().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
2017-05-05 15:52:11 +02:00
Jeremy Allison
306783d6f5 lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
Not currently used - no logic changes inside.

This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.

Updated all known module interface numbers, and added a
WHATSNEW.

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Ralph Böhme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
2017-04-22 01:17:00 +02:00
Günther Deschner
f05eb9b533 werror: replace WERR_USEREXISTS with WERR_NERR_USEREXISTS in source4/torture/rap/sam.c
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:26 +02:00
Günther Deschner
d8d7d67336 werror: replace WERR_USER_NOT_FOUND with WERR_NERR_USERNOTFOUND in source4/torture/rap/sam.c
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:26 +02:00
Stefan Metzmacher
714954c16f s4:torture/rap/printing: check smbcli_rap_netprintqgetinfo() WERR status
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Dec 17 01:09:32 CET 2011 on sn-devel-104
2011-12-17 01:09:32 +01:00
Günther Deschner
74d82faa78 s4-smbtorture: add test_netremotetod.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
2011-05-16 12:45:52 +02: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
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
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
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
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-11 04:16:13 +01:00
Andrew Tridgell
6b266b85cf s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
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-07-16 18:24:27 +10:00
Günther Deschner
d56cc23c6a s4-smbtorture: add my (C) to rap torture lib.
Guenther
2010-07-05 18:06:21 +02:00
Günther Deschner
a6f1c111ff s4-smbtorture: Remind myself we need to add a test for SMBsplretq in RAP-PRINTING.
Guenther
2010-06-16 17:10:15 +02:00
Günther Deschner
8843eea2e0 s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
Guenther
2010-06-16 12:20:05 +02:00
Günther Deschner
185adc4c81 Revert "s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo()."
This reverts commit 1f1c04010a.
2010-06-16 12:18:32 +02:00
Günther Deschner
1a86532fce s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.
Guenther
2010-06-16 12:15:24 +02:00
Günther Deschner
1f1c04010a s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
Guenther
2010-06-16 12:15:24 +02:00
Günther Deschner
8b3059de97 s4-smbtorture: check error codes in RAP-SAM testsuite.
Guenther
2010-06-05 00:35:09 +02:00
Günther Deschner
667716d204 s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.
Guenther
2010-05-28 00:22:40 +02:00
Günther Deschner
7803bcdae6 s4-smbtorture: remove obsolete handmarshalled rap code.
Guenther
2010-05-28 00:22:18 +02:00
Günther Deschner
82982bd480 s4-smbtorture: we can fully use autogenerated code to pull info unions now.
Guenther
2010-05-28 00:17:45 +02:00
Günther Deschner
a1fc7aebfc s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.
Guenther
2010-05-27 13:37:28 +02:00
Günther Deschner
66e9b8c888 s4-smbtorture: add usergetinfo to RAP-SAM.
Guenther
2010-05-26 22:58:36 +02:00
Günther Deschner
b86666ab53 s4-smbtorture: add smbcli_rap_netusergetinfo().
Guenther
2010-05-26 22:20:13 +02:00
Matthias Dieter Wallnöfer
6af5e7cde1 s4:torture/rap/rap.c - quiet discard const warning 2010-05-21 23:35:58 +02:00
Günther Deschner
dd3c367153 s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.
Guenther
2010-05-21 18:11:10 +02:00
Günther Deschner
94d41ddc8f s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
2010-05-21 18:11:04 +02:00
Günther Deschner
9c7d47fdad s4-smbtorture: take a TODO note for RAP-PRINTING.
Guenther
2010-05-20 11:08:14 +02:00
Jelmer Vernooij
c0fb7b8180 s3: Fix some more iconv convenience usages. 2010-05-18 11:45:31 +02:00
Jelmer Vernooij
390ada6ec7 Remove more usages of iconv_convenience in files which were apparently not recompiled by waf. 2010-05-18 11:45:31 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Günther Deschner
73d654ec2f s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
Unless we spent time researching the RAP useradd calls (and implement them in
s3) it is far more easy to use existing SAMR calls to create and delete test
users that are used for RAP change password operations.

Guenther
2010-05-12 00:21:20 +02:00
Günther Deschner
b73b237a6b s4-smbtorture: add test_oemchangepassword to RAP-SAM.
Guenther
2010-05-12 00:21:06 +02:00
Günther Deschner
931b7fcc8a s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Guenther
2010-05-12 00:20:41 +02:00
Günther Deschner
84ab762fd5 s4-smbtorture: getting serious about checking rap status return codes.
Guenther
2010-05-12 00:17:24 +02:00
Günther Deschner
d0a87f0098 s4-smbtorture: test netservergetinfo level 1 also against s3.
Guenther
2010-05-11 22:52:37 +02:00
Günther Deschner
9e643f0784 s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
2010-05-11 00:58:57 +02:00
Günther Deschner
36b0fed567 s4-smbtorture: fix smbcli_rap_netoemchangepassword.
Guenther
2010-05-11 00:58:57 +02:00
Günther Deschner
fc6a22983b s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().
Guenther
2010-05-11 00:58:56 +02:00
Günther Deschner
7cf1a2986f s4-smbtorture: add smbcli_rap_netoemchangepassword().
Guenther
2010-05-10 21:30:27 +02:00
Günther Deschner
e065ecc6b3 s4-smbtorture: add smbcli_rap_netuserpasswordset2().
Guenther
2010-05-08 01:47:04 +02:00
Günther Deschner
d3bd9de087 s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().
Guenther
2010-05-05 17:21:05 +02:00