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.
|
|
|
|
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
|
|
|
|
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
|
Jeremy.
|
|
|
|
rules" warning.
Guenther
|
|
Guenther
|
|
It was failing randomly due to an uninitialised "status" variable.
|
|
|
|
|
|
|
|
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user
|
|
reg_util_marshalling.h and use them only where needed.
|
|
|
|
|
|
reg_util_token.h
and use it only where necessary.
|
|
|
|
and use them only where needed.
|
|
And use them only when necessary.
|
|
And use them only where needed.
|
|
And use them only where needed.
|
|
|
|
|