s4:rootdse: for now don't pass down controls for the rootdse search
[kai/samba.git] / source4 / dsdb / samdb / ldb_modules / rootdse.c
index 0d14a54464c686e481593c0c1b8b79c14b2575bb..b38e182cf7897ca4bbc8557e987ef57efa4c43fa 100644 (file)
@@ -318,7 +318,7 @@ static int rootdse_search(struct ldb_module *module, struct ldb_request *req)
                                        LDB_SCOPE_BASE,
                                        NULL,
                                        req->op.search.attrs,
-                                       req->controls,
+                                       NULL,/* for now skip the controls from the client */
                                        ac, rootdse_callback,
                                        req);
        if (ret != LDB_SUCCESS) {