summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/drsuapi/drsutil.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c
index 410563cf58..84bb5ffc01 100644
--- a/source4/rpc_server/drsuapi/drsutil.c
+++ b/source4/rpc_server/drsuapi/drsutil.c
@@ -64,11 +64,6 @@ int drsuapi_search_with_extended_dn(struct ldb_context *ldb,
return LDB_ERR_OPERATIONS_ERROR;
}
- if (filter == NULL) {
- talloc_free(tmp_ctx);
- return LDB_ERR_OPERATIONS_ERROR;
- }
-
ret = ldb_build_search_req(&req, ldb, tmp_ctx,
basedn,
scope,