r24082: Following the removal of a fanstsy condition from the SAMR testsuite,
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jul 2007 10:37:33 +0000 (10:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:24 +0000 (15:01 -0500)
allow the server side to enumerate all domain controllers and domain
members...

Andrew Bartlett
(This used to be commit d42150ff0a05e891d36d1d3f1ec93952e6d4affd)

source4/rpc_server/samr/dcesrv_samr.c

index 9bb9cb8161828d9ec9423d63fe8a6550b17f390a..da1054efce4b4bdc39c2b15b4d0d1465011fd54c 100644 (file)
@@ -3707,13 +3707,6 @@ static NTSTATUS dcesrv_samr_QueryDisplayInfo(struct dcesrv_call_state *dce_call,
                                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];