Stefan Metzmacher
0400f301e3
s4:torture/rpc: do testjoin only via ncalrpc or ncacn_np
...
ncacn_ip_tcp doesn't have the required session key.
It used to be the wellknown "SystemLibraryDTC" constant,
but that's not available in modern systems anymore.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2016-03-10 06:52:31 +01:00
Stefan Metzmacher
ea53ba15ee
s4:torture/rpc: fix error path in torture_leave_domain()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-03-25 00:45:28 +01:00
Stefan Metzmacher
da846ba106
s4:torture/rpc: make use of dcerpc_binding_get_string_option("host")
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2014-02-13 11:54:18 +01:00
Jeremy Allison
6550bc0d26
Rewrite torture_samba3_rpc_sharesec() to use a non-privileged user for share security descriptor testing.
2012-08-31 20:29:13 -07:00
Stefan Metzmacher
1764607150
s4:torture/rpc: use talloc_zero() in torture_join_domain()
...
metze
2011-11-29 09:21:25 +01:00
Andreas Schneider
b411b81642
s4-torture: Add torture_delete_testuser().
2011-10-27 17:09:50 +02:00
Andreas Schneider
80e942aec9
s4-torture: Add domain_handle to test_join struct.
2011-10-27 17:09:50 +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
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
19d99a6426
s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
...
required for upcoming rap pwd tests.
Guenther
2010-05-12 00:16:50 +02:00
Günther Deschner
40e7a5879c
s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
...
Guenther
2010-05-12 00:16:50 +02:00
Stefan Metzmacher
c0736c70d6
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02: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
Günther Deschner
a154bb5629
s4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Stefan Metzmacher
2d31379853
s4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-17 18:26:18 +01:00
Stefan Metzmacher
9ada48ffdb
s4:torture/rpc: use generate_random_password()
...
metze
2010-02-26 08:57:29 +01:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Günther Deschner
296fae7561
s4-samr: fix samr passwdord_expired callers.
...
Guenther
2008-11-28 13:55:49 +01:00
Günther Deschner
bb1d7684d2
s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
61391d0ade
s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
f42f1ae5a8
s4-samr: merge samr_GetUserPwInfo from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:27 +01:00
Andrew Tridgell
d87e9ba56b
setup the loadparm context for ldb in testjoin
2008-09-29 21:59:50 -07:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Andrew Bartlett
960bd9df1f
Add a test to explore Netlogon PAC validation
...
However, I have still not figured out this protocol yet, and the docs
are rather unclear... :-(
Andrew Bartlett
(This used to be commit d878643071
)
2008-08-27 21:36:27 +10:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca3
)
2008-06-14 11:59:19 -04:00
Volker Lendecke
ef6fd2d46d
In torture_leave_domain, say what account was deleted
...
(This used to be commit a9a0f24f72
)
2008-05-16 15:40:29 +02:00
Simo Sorce
4f51b0246d
Fix problems with event context not being the parent.
...
(This used to be commit 957c4d893a
)
2008-04-14 12:45:51 -04:00
Andrew Bartlett
9f96f39ca0
Pass discovered server DN down to provision.
...
This uses the new 'serverdn' argument added to provision in the
previous commit.
Andrew Bartlett
(This used to be commit 74480c7de7
)
2008-04-04 12:55:45 +11:00
Jelmer Vernooij
4c4323009f
r26327: Explicit loadparm_context for RPC client functions.
...
(This used to be commit eeb2251d22
)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
ab69eb8d89
r26250: Avoid global_loadparm in a couple more places.
...
(This used to be commit 2c6b755309
)
2007-12-21 05:47:28 +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
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9
)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
919aa6b27e
r24735: Use torture API in more places.
...
(This used to be commit 1319d88c09
)
2007-10-10 15:03:00 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81
)
2007-10-10 15:02:15 -05:00
Andrew Bartlett
649d4bf8aa
r24074: Test both permitted logon hours and permitted workstations in the
...
RPC-SAMLOGON test.
This showed that, as noted by bug #4823 , we didn't test for invalid
workstations. In fact, the code had been ported across, but because
untested code is broken code, it never worked...
Andrew Bartlett
(This used to be commit 5e07417ada
)
2007-10-10 15:01:21 -05:00
Andrew Bartlett
a0fa5051bd
r23816: A little more static, but leave the dead code testjoin.c as documentation.
...
Andrew Bartlett
(This used to be commit 6679003c05
)
2007-10-10 14:59:23 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
df5f675d2a
r22983: This should ensure that torture_create_testuser() can be called,
...
without needing to change the user's password afterwoulds.
(Accounts were being created with 'must change at next login' set).
Andrew Bartlett
(This used to be commit 7b94f2f6db
)
2007-10-10 14:52:35 -05:00
Stefan Metzmacher
37f2d53528
r21827: move comments to the place where the functionality is implemented
...
metze
(This used to be commit 5d49d8b9e1
)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
31c674bffc
r21821: move comment about the becoming a dc to the code which implements it
...
and extent the comments a bit
metze
(This used to be commit 16c958600e
)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
f1aaa16cbc
r20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
...
Here is a patch that adds a torture:dc_binding parametric option to
torture_create_testuser in testjoin.c. This patch is used in OpenChange
torture tests when the AD is different from the Exchange Server. This generic
option could also be used for later 'member server' tests in Samba4.
metze
(This used to be commit 9ddabfc60e
)
2007-10-10 14:29:09 -05:00
Andrew Bartlett
334f78d206
r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
...
particular to verify more expected results.
Also return more details from the join process. Now we also return
the machine account's GUID.
Andrew Bartlett
(This used to be commit 5b32f102af
)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
00306527b6
r20093: some documentation updates
...
metze
(This used to be commit 314308c0bf
)
2007-10-10 14:29:04 -05:00
Stefan Metzmacher
766dfed735
r20065: make it possible to get the dns domain name and netbios domain name
...
of the join account
metze
(This used to be commit 45da80888f
)
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
6d34f76f86
r20039: things which need to be done for unbecoming a dc
...
metze
(This used to be commit 73f7e2d5b3
)
2007-10-10 14:28:52 -05:00