summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/idmap_tdb2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index 4eebb8e049..6fe0480939 100644
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -383,6 +383,11 @@ static NTSTATUS idmap_tdb2_db_init(struct idmap_domain *dom,
ctx->filter_high_id = 0;
}
+ ctx->script = lp_parm_const_string(-1, config_option, "script", NULL);
+ if (ctx->script) {
+ DEBUG(1, ("using idmap script '%s'\n", ctx->script));
+ }
+
talloc_free(config_option);
}