Author: abartlet
Date: 2007-07-30 10:37:33 +0000 (Mon, 30 Jul 2007)
New Revision: 24082

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

Log:
Following the removal of a fanstsy condition from the SAMR testsuite,
allow the server side to enumerate all domain controllers and domain
members...

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c     2007-07-30 
10:34:23 UTC (rev 24081)
+++ branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c     2007-07-30 
10:37:33 UTC (rev 24082)
@@ -3707,13 +3707,6 @@
                                samdb_result_string(res[i], "description", "");
                        break;
                case 2:
-                       if (!(samdb_result_acct_flags(res[i], 
-                                                     "userAccountControl") & 
ACB_WSTRUST)) {
-                               /* Domain controllers match the
-                                * filter, but should not be included
-                                * in the output */
-                               continue;
-                       }
                        entriesFull[count].idx = count + 1;
                        entriesFull[count].rid =
                                objectsid->sub_auths[objectsid->num_auths-1];

Reply via email to