diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-08-19 17:31:43 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-08-25 07:39:37 +1000 |
commit | 67651905f984745dab4de3944d1c0a988b8d5d50 (patch) | |
tree | edbd94e1296eb5690b61cb09c75e4f5033fdbd1b /source4/rpc_server/samr | |
parent | 8510e405f58313f190d8e3dfc3308e4a49530f9b (diff) | |
download | samba-67651905f984745dab4de3944d1c0a988b8d5d50.tar.gz samba-67651905f984745dab4de3944d1c0a988b8d5d50.tar.bz2 samba-67651905f984745dab4de3944d1c0a988b8d5d50.zip |
s4-samr: fixed subtree search
this needs to be on the domain NC
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 7d062ffff4..cc3b2c8bce 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -3666,7 +3666,7 @@ static NTSTATUS dcesrv_samr_QueryDisplayInfo(struct dcesrv_call_state *dce_call, /* search for all requested objects in all domains. This could possibly be cached and resumed based on resume_key */ - ret = dsdb_search(d_state->sam_ctx, mem_ctx, &res, NULL, + ret = dsdb_search(d_state->sam_ctx, mem_ctx, &res, ldb_get_default_basedn(d_state->sam_ctx), LDB_SCOPE_SUBTREE, attrs, 0, "%s", filter); if (ret != LDB_SUCCESS) { return NT_STATUS_INTERNAL_DB_CORRUPTION; |