s4-drs: security checking on DRS needs to default to on
authorAndrew Tridgell <tridge@samba.org>
Sun, 20 Sep 2009 02:39:42 +0000 (19:39 -0700)
committerAndrew Tridgell <tridge@samba.org>
Sun, 20 Sep 2009 02:39:42 +0000 (19:39 -0700)
source4/rpc_server/drsuapi/drsutil.c

index 54bcdabea91d96124cf8dbc5a1f80fcc192e52d8..03116f29d9e9a4464d47ea1174cfa75814c8e83c 100644 (file)
@@ -105,7 +105,8 @@ int drsuapi_search_with_extended_dn(struct ldb_context *ldb,
 
 WERROR drs_security_level_check(struct dcesrv_call_state *dce_call, const char* call)
 {
-       if (lp_parm_bool(dce_call->conn->dce_ctx->lp_ctx, NULL, "drs", "disable_sec_check", true)) {
+       if (lp_parm_bool(dce_call->conn->dce_ctx->lp_ctx, NULL, 
+                        "drs", "disable_sec_check", false)) {
                return WERR_OK;
        }