s4-drsutil: allow NULL filter
authorAndrew Tridgell <tridge@samba.org>
Fri, 25 Sep 2009 22:15:23 +0000 (15:15 -0700)
committerAndrew Tridgell <tridge@samba.org>
Mon, 28 Sep 2009 00:24:25 +0000 (10:24 +1000)
source4/rpc_server/drsuapi/drsutil.c

index 410563cf584ac03276cf6c81e1a970df408da721..84bb5ffc019bc3acc3e2ca56e815e09bde54d5a8 100644 (file)
@@ -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,