Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
changes.
Also, some common definitions for user mod tests have been put into
a separate file.
rafal
(This used to be commit 0040c087481be68d44a0b59744be5c5e569fd8a4)
|
|
now to multiple changes...
rafal
(This used to be commit 6df2c04e03ac6b7d518edfee7fd6a5de299bf9d4)
|
|
rafal
(This used to be commit c68ec9109e970d899672b8c9db12c181ff6c3b59)
|
|
and add one requested field in to the function creating testing
set of changes for user modify routine.
rafal
(This used to be commit f6d4f356b3de03baa3d1672730195668bbfdc9c7)
|
|
(This used to be commit 6e7e151432a31e48a67679df3966d2227d555317)
|
|
rafal
(This used to be commit 4803e95c68d8824b5494ee86d626e474d8a0c925)
|
|
rafal
(This used to be commit 6db488cc6e29704ae2ae17b2875a76ded5d86b88)
|
|
rafal
(This used to be commit 9e7709de62ccb66d312e985fa0846b1004e77d32)
|
|
metze
(This used to be commit c4387dd3f6d1463d9557ee8923590fa5590b35ff)
|
|
more fair to each of the fields (ie. don't create new code at midnight
after a long day...).
This will be useful for testing multiple changes at once and verifying
correctness. A few testing runs already demostrated some missing pieces.
rafal
(This used to be commit 809c9cca965841e8bce84f4b4ecf804ce793d807)
|