Age | Commit message (Collapse) | Author | Files | Lines |
|
- fail torture_context in case libnet_DeleteUser() has failed
- make use of torture_assert_* macros to track down where failur occured
- use only one memory context internally
|
|
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>
|
|
|
|
|
|
Pre-connecting SAMR and LSA pipes is implemented in
test_libnet_context_init() function
|
|
This way we ensure that LIBNET call will be issued against
the DC we are testing against
|
|
implementation instead of not-so-informative test_cleanup()
|
|
We now have a nice common test_samr_close_handle() function to use
|
|
We have same functionality already implemented by
test_user_create() in libnet/utils.c
|
|
|
|
In multi-DC environment, NBT name resolution may resolv
domain name to any of DCs.
This make this test to fail, as we are modifying the user account
on one DC and query user info immediately after that on another DC.
|
|
There is no need anymore to modify samAccountName
of the testing user to original value as test_cleanup()
will spot the right samAccountName to delete
|
|
test_cleanup() is called always with RDN name of the user to be deleted.
When modify-user test fails however, we end up with a user
with RDN = libnetusertest and samAccountName = random_name.
This way we can not delete the user and the error message is
quite misleading (I've spent a *lot* of time trying to figure out
if the database is corrupted because of this error).
|
|
|
|
This patch replaces hand-make count of fields to be tested
with defines for FIRST-LAST value for corresponding fields
to test with.
As a side-effect, 'acct_flags' is now included in tests.
|
|
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
|
|
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
torture tests.
Mimir, please check.
Guenther
|
|
Guenther
|
|
metze
|
|
metze
|
|
This reduces compile time somewhat.
|
|
Guenther
|
|
Guenther
|
|
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
|
|
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
|
|
This test needed to be updated to handle the fact that you cannot
clear the ACB_PW_EXPIRED bit, and to always use the torture comment
functions (not printf directly).
Andrew Bartlett
(This used to be commit 2211476bbb3d8e5bca9659e886e559a36f40aff4)
|
|
These tests still do not pass against windows, but at least now it
doesn't reset acct_flags to 0.
This is enough to have Samba4 pass it's own tests for the moment.
Andrew Bartlett
(This used to be commit aa3901311eb7ce6f2d2b2413323e31a5b064cfc4)
|
|
smbtorture calls srandom() once for the whole suite, with command line
override to allow reproduceable random tests.
Andrew Bartlett
(This used to be commit 68dcd1073cfed830fb6e2013e27d2ebbc443c451)
|
|
(This used to be commit a2bc97e8b01ecee48be60823cb19b4e794fb8f93)
|
|
call has failed.
(This used to be commit ded8a45d79beb0e539c573f67056c8cb4aa62c3f)
|
|
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
|
|
allocation.
Fix a few places where we were passing talloc contexts that were not
torture contexts.
(This used to be commit 9d12fc7dc5abc82c8ad189420db1f85a89c71e4f)
|
|
uses of global_loadparm.
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
|
|
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
|
|
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
|
|
number in more places.
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
|
|
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
|
|
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
|
|
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
|
|
metze
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
|
|
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
|
|
metze
(This used to be commit 1a1a339d48af535d60a37b6c646e3e6ca95d41b5)
|
|
rafal
(This used to be commit a97fb96203dab5de1d04f4c0917446e1d88f0168)
|
|
with non-zero resume index to continue longer enumeration.
rafal
(This used to be commit efa04d6d0b62ff3c6332db4b31622c0579428a56)
|
|
rafal
(This used to be commit e1a20bba9dcc740630c093dcdd1f082e54473e95)
|
|
rafal
(This used to be commit cfcbddfe71ce27bf195a1877f75789ef23bb6b1d)
|
|
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
|
|
(this also fix compiler warnings)
metze
(This used to be commit f8afdac4710581db421dc7c558eb8ba57597b056)
|
|
- do not stop NET-API-USERMODIFY test when a single field fails
- add account flags to the fields tested
- separate "cleanup" step from closing domain at the end
rafal
(This used to be commit 16fde3b8e2c93ec10e43bb09334bf460db8ac70b)
|