mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
libwbclient: Test wbcGetDisplayName
This commit is contained in:
parent
8f3ab439f3
commit
ae3edf85d4
@ -231,6 +231,12 @@ static bool test_wbc_users(struct torture_context *tctx)
|
||||
wbcFreeMemory(name);
|
||||
torture_assert_wbc_ok(tctx, wbcLookupUserSids(&sid, true, &num_sids, &sids),
|
||||
"wbcLookupUserSids failed");
|
||||
torture_assert_wbc_ok(
|
||||
tctx, wbcGetDisplayName(&sid, &domain, &name,
|
||||
&name_type),
|
||||
"wbcGetDisplayName failed");
|
||||
wbcFreeMemory(domain);
|
||||
wbcFreeMemory(name);
|
||||
wbcFreeMemory(sids);
|
||||
}
|
||||
wbcFreeMemory(users);
|
||||
|
Loading…
Reference in New Issue
Block a user