Stefan Metzmacher
4ccd2dd8a2
s4:torture/rpc: make use of dcerpc_binding_handle_transport_session_key()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2024-09-26 15:22:45 +00:00
Andreas Schneider
a40bc1d0ee
s4:torture: Migrate smbtorture to new cmdline option parser
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-06-16 00:34:38 +00:00
Andreas Schneider
576bcf6155
libcli:auth: Return WERROR for encode_wkssvc_join_password_buffer()
...
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:24 +00:00
Andreas Schneider
53fbd4b9a4
s4:torture: Remove unused header file
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2019-02-27 07:59:27 +00:00
Jeremy Allison
b2de5a81bf
s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials().
...
Add one use of popt_set_cmdline_credentials().
Fix 80 column limits when cmdline_credentials changes
to popt_get_cmdline_credentials().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2017-05-11 20:30:13 +02:00
Günther Deschner
3487d6d78f
werror: replace WERR_RPC_E_REMOTE_DISABLED with HRES_RPC_E_REMOTE_DISABLED
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:35 +02:00
Günther Deschner
5eb28d55a7
werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source4/torture/rpc/
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:35 +02:00
Günther Deschner
f1fb2d242d
werror: replace WERR_SETUP_DOMAIN_CONTROLLER with WERR_NERR_SETUPDOMAINCONTROLLER in source4/torture/rpc/wkssvc.c
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:32 +02:00
Günther Deschner
a8f9e8d44e
werror: replace WERR_SETUP_NOT_JOINED with WERR_NERR_SETUPNOTJOINED in source4/torture/rpc/wkssvc.c
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:32 +02:00
Günther Deschner
3f75e34c39
werror: replace WERR_SETUP_ALREADY_JOINED with WERR_NERR_SETUPALREADYJOINED in source4/torture/rpc/wkssvc.c
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:30 +02:00
Günther Deschner
f7081d5ce0
werror: replace WERR_NOT_CONNECTED with WERR_NERR_USENOTFOUND in source4/torture/rpc/wkssvc.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
37853aef42
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/torture/
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:23 +02:00
Günther Deschner
a62cc2ce44
samba: pass down size_t instead of int to add_string_to_array().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Nov 17 19:53:22 CET 2014 on sn-devel-104
2014-11-17 19:53:22 +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
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
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
2010-04-14 20:27:11 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
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.
2010-04-11 20:57:33 +02:00
Stefan Metzmacher
b8605cdd4e
s4:torture/rpc/wkssvc.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:27 +01:00
Günther Deschner
5e8c86c558
s4-smbtorture: fix warning in RPC-WKSSVC torture test.
...
Guenther
2009-10-30 12:28:47 +01:00
Matthias Dieter Wallnöfer
e9686985cb
s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed
...
For KERBEROS applications the realm should be upcase (function "lp_realm") but
for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch
implements the use of both in the right way.
2009-10-14 10:50:43 +02:00
Andrew Bartlett
6c8f7e4005
Port Samba4 to the new combined libcli/auth functions
...
For example, some of the new shared functionality was previously in the wkssvc
torture test.
Andrew Bartlett
2009-04-14 16:23:41 +10:00
Jelmer Vernooij
7ab8f373c8
Use common header file for character set handling in Samba 3 and Samba 4.
2009-03-01 22:24:34 +01:00
Jelmer Vernooij
922a29992e
Remove iconv_convenience parameter from simple string push/pull
...
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
915f1df904
Fix wkssvc test build.
2008-10-15 17:04:19 +02:00
Jelmer Vernooij
5390dc0d24
Share wkssvc.idl.
2008-10-15 16:48:53 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Jelmer Vernooij
5e00673a40
r26438: Store iconv convenience in tdr push contexts.
...
(This used to be commit dffef31627
)
2007-12-21 05:50:07 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a553054
)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
6c999cd123
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
...
(This used to be commit 5b29ef7c03
)
2007-12-21 05:47:15 +01:00
Günther Deschner
a701aed885
r26217: Let encode_wkssvc_join_password_buffer() take the session key as parameter.
...
Guenther
(This used to be commit f8a247d00e
)
2007-12-21 05:46:55 +01:00
Günther Deschner
26f7752890
r26216: Add very basic torture test for wkssvc_NetrUnjoinDomain2().
...
Guenther
(This used to be commit f82116b6d7
)
2007-12-21 05:46:55 +01:00
Günther Deschner
245630cf7e
r26215: Verify that test_NetrJoinDomain2() has suceeded.
...
Guenther
(This used to be commit 16ef4564b2
)
2007-12-21 05:46:55 +01:00
Günther Deschner
82c18a40ff
r26214: Add note about remotely joining an unjoined XP SP2 workstation.
...
Guenther
(This used to be commit 2dd98c2333
)
2007-12-21 05:46:55 +01:00
Günther Deschner
85c83f6651
r26213: Trying to fix confusing inline comment about wkssvc_PasswordBuffer.
...
Guenther
(This used to be commit e3ce22107e
)
2007-12-21 05:46:54 +01:00
Günther Deschner
cd5eb29f1f
r26212: Make test_NetrJoinDomain2() a little more robust against missing parameters.
...
Guenther
(This used to be commit 08aad347e8
)
2007-12-21 05:46:54 +01:00
Günther Deschner
b32cbeafb2
r26211: Add very basic test_NetrJoinDomain2() test which can join xp workstations into
...
an AD domain.
Guenther
(This used to be commit 3fd5f3628c
)
2007-12-21 05:46:53 +01:00
Günther Deschner
91da59fe0f
r26210: w00t!
...
Solved the nasty crypto problem of the 524 byte wkssvc_PasswordBuffer for
wkssvc_JoinDomain()/wkssvc_UnjoinDomain().
Very soon we will be able to remotely join windows workstations into AD domains
using smbtorture :-)
Guenther
(This used to be commit 37469ed34c
)
2007-12-21 05:46:53 +01:00
Günther Deschner
6cb7ea0bc8
r26208: Add torture test for (unsupported) wkssvc_NetrJoinDomain() and
...
wkssvc_NetrUnjoinDomain().
Guenther
(This used to be commit 77c161b776
)
2007-12-21 05:46:52 +01:00
Günther Deschner
7a568ab3b3
r26171: Add my copyright.
...
Guenther
(This used to be commit 556d00d6a2
)
2007-12-21 05:46:34 +01:00
Günther Deschner
5365ee1abb
r26170: Put test_NetrUseGetInfo() in the correct order of tests.
...
Guenther
(This used to be commit 239749d811
)
2007-12-21 05:46:34 +01:00
Günther Deschner
616a48faf9
r26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and
...
wkssvc_NetrGetJoinableOus2() (both unavailable remotely).
Guenther
(This used to be commit 256d0a15f5
)
2007-12-21 05:46:31 +01:00
Günther Deschner
e84236a095
r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
...
Guenther
(This used to be commit 234b380669
)
2007-12-21 05:46:30 +01:00
Günther Deschner
73ff60a85a
r26162: Remove accidental commit.
...
Guenther
(This used to be commit 78ea566485
)
2007-12-21 05:46:30 +01:00
Günther Deschner
1ffb0eb7ec
r26161: Add (dangerous) torture tests for wkssvc_NetrRenameMachineInDomain() and
...
wkssvc_NetrRenameMachineInDomain2().
Guenther
(This used to be commit e105fb59b1
)
2007-12-21 05:46:30 +01:00
Günther Deschner
a1fdc20aee
r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
...
Guenther
(This used to be commit 1c50b9754e
)
2007-12-21 05:46:28 +01:00
Günther Deschner
03b68aaffd
r26156: Choose a more speaking message in test_NetrMessageBufferSend().
...
Guenther
(This used to be commit f7f474c6c7
)
2007-12-21 05:46:28 +01:00
Günther Deschner
e6c8fa7939
r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
...
Guenther
(This used to be commit 9de2f59d2b
)
2007-12-21 05:46:27 +01:00
Günther Deschner
722851c78e
r26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of
...
unknowns, I know...
Guenther
(This used to be commit de2c5d702e
)
2007-12-21 05:46:26 +01:00