diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/drsuapi/drsutil.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c index a62f911537..43692ac5b4 100644 --- a/source4/rpc_server/drsuapi/drsutil.c +++ b/source4/rpc_server/drsuapi/drsutil.c @@ -86,6 +86,11 @@ int drsuapi_search_with_extended_dn(struct ldb_context *ldb, return ret; } + ret = ldb_request_add_control(req, LDB_CONTROL_REVEAL_INTERNALS, false, NULL); + if (ret != LDB_SUCCESS) { + return ret; + } + if (sort_attrib) { struct ldb_server_sort_control **sort_control; sort_control = talloc_array(req, struct ldb_server_sort_control *, 2); |