summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-30 10:34:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:23 -0500
commit97859bc760e606b34fd818e6436b2bd0444fa3e3 (patch)
tree0cfbd66b1143c5af1cdcd532f7520c7ce5be7dfa /source4
parent008b84076094733d7754c524923b1d96ab30b825 (diff)
downloadsamba-97859bc760e606b34fd818e6436b2bd0444fa3e3.tar.gz
samba-97859bc760e606b34fd818e6436b2bd0444fa3e3.tar.bz2
samba-97859bc760e606b34fd818e6436b2bd0444fa3e3.zip
r24081: Domain Controllers are also shown in this enumeration.
Andrew Bartlett (This used to be commit 3e332ff77120003da2a23df8e0d30a330847f0f1)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samr.c4
1 files changed, 2 insertions, 2 deletions
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);