diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-12-19 12:24:09 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-02 08:16:50 +1100 |
commit | beba977213daf5ff4004954e03481e970d1749cb (patch) | |
tree | aea2d33500398aa1c00788321f2bcdabeb445fb7 /source4 | |
parent | 809bcfca3d835458010013c0454b16d7f2a9fdf3 (diff) | |
download | samba-beba977213daf5ff4004954e03481e970d1749cb.tar.gz samba-beba977213daf5ff4004954e03481e970d1749cb.tar.bz2 samba-beba977213daf5ff4004954e03481e970d1749cb.zip |
s4-dsdb: ask for REVEAL_INTERNALS in getncchanges
We need this for the linked attribute meta data
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); |