summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-30 10:37:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:24 -0500
commitbd705012b82b5c6653dd70444b089c0f4fe22211 (patch)
tree137a03b749eb2aacee35c00cf835f7c297b3ffb5 /source4/rpc_server
parent97859bc760e606b34fd818e6436b2bd0444fa3e3 (diff)
downloadsamba-bd705012b82b5c6653dd70444b089c0f4fe22211.tar.gz
samba-bd705012b82b5c6653dd70444b089c0f4fe22211.tar.bz2
samba-bd705012b82b5c6653dd70444b089c0f4fe22211.zip
r24082: 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 (This used to be commit d42150ff0a05e891d36d1d3f1ec93952e6d4affd)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 9bb9cb8161..da1054efce 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -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];