if (NT_STATUS_EQUAL(r.out.result, NT_STATUS_ACCESS_DENIED) ||
NT_STATUS_EQUAL(r.out.result, NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED)) {
torture_comment(tctx,
- "LookupNames4 correctly returned with "
+ "LookupSids3 correctly returned with "
"result: %s\n",
nt_errstr(r.out.result));
return true;
if (!test_LookupNames4(b, tctx, level, &names, true)) {
return false;
}
+ } else if (auth_type == DCERPC_AUTH_TYPE_KRB5 &&
+ auth_level == DCERPC_AUTH_LEVEL_PRIVACY)
+ {
+ if (!test_LookupSids3(b, tctx, level, &sids)) {
+ return false;
+ }
+ if (!test_LookupNames4(b, tctx, level, &names, true)) {
+ return false;
+ }
} else {
/*
* If we don't have a secure channel these tests must