mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s4/test: Call test_user_cleanup with original RDN for the user
'name' var is changed during the test execution and should contain samAccountName for the user, while test_user_cleanup() expects account RDN to be passed
This commit is contained in:
parent
61e5ac4a5a
commit
85d7863b2c
@ -459,7 +459,7 @@ bool torture_usermod(struct torture_context *torture)
|
||||
}
|
||||
|
||||
cleanup:
|
||||
if (!test_user_cleanup(torture, b, mem_ctx, &h, name)) {
|
||||
if (!test_user_cleanup(torture, b, mem_ctx, &h, TEST_USERNAME)) {
|
||||
ret = false;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user