Author: abartlet
Date: 2007-07-30 10:34:23 +0000 (Mon, 30 Jul 2007)
New Revision: 24081

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24081

Log:
Domain Controllers are also shown in this enumeration.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/rpc/samr.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samr.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samr.c        2007-07-30 10:30:34 UTC 
(rev 24080)
+++ branches/SAMBA_4_0/source/torture/rpc/samr.c        2007-07-30 10:34:23 UTC 
(rev 24081)
@@ -3315,8 +3315,8 @@
                                       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);

Reply via email to