summaryrefslogtreecommitdiff
path: root/source4/rpc_server/drsuapi
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-19 19:39:42 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-19 19:39:42 -0700
commitd5b9409e634a43a953a8128a376ddd90a0cb5a23 (patch)
treed5bc088b3be179be41cd59f430cad19d4bae154b /source4/rpc_server/drsuapi
parent8fd6ce613a4c1b35e1c1435bdd99af96de1d6bdf (diff)
downloadsamba-d5b9409e634a43a953a8128a376ddd90a0cb5a23.tar.gz
samba-d5b9409e634a43a953a8128a376ddd90a0cb5a23.tar.bz2
samba-d5b9409e634a43a953a8128a376ddd90a0cb5a23.zip
s4-drs: security checking on DRS needs to default to on
Diffstat (limited to 'source4/rpc_server/drsuapi')
-rw-r--r--source4/rpc_server/drsuapi/drsutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c
index 54bcdabea9..03116f29d9 100644
--- a/source4/rpc_server/drsuapi/drsutil.c
+++ b/source4/rpc_server/drsuapi/drsutil.c
@@ -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;
}