r24081: Domain Controllers are also shown in this enumeration.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jul 2007 10:34:23 +0000 (10:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:23 +0000 (15:01 -0500)
Andrew Bartlett
(This used to be commit 3e332ff77120003da2a23df8e0d30a330847f0f1)

source4/torture/rpc/samr.c

index 253404441789a26452af1b00ba1163fab5ad53df..aef75ea78a24458ac19aef489117c3b9fc24f950 100644 (file)
@@ -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);