From 97859bc760e606b34fd818e6436b2bd0444fa3e3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Jul 2007 10:34:23 +0000 Subject: r24081: Domain Controllers are also shown in this enumeration. Andrew Bartlett (This used to be commit 3e332ff77120003da2a23df8e0d30a330847f0f1) --- source4/torture/rpc/samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 2534044417..aef75ea78a 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -3315,8 +3315,8 @@ static BOOL test_each_DisplayInfo_user(struct dcerpc_pipe *p, TALLOC_CTX *mem_ct q.out.info->info21.account_name.string); } - if (!(q.out.info->info21.acct_flags & (ACB_WSTRUST))) { - printf("Found non-trust account %s in trust accoutn listing: 0x%x 0x%x\n", + if (!(q.out.info->info21.acct_flags & (ACB_WSTRUST | ACB_SVRTRUST))) { + printf("Found non-trust account %s in trust account listing: 0x%x 0x%x\n", q.out.info->info21.account_name.string, querydisplayinfo->out.info.info2.entries[i].acct_flags, q.out.info->info21.acct_flags); -- cgit