1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:idmap_tdb2: also support idmap script for named domains

this can be configured via "idmap config DOMAIN : script = foobar"
This commit is contained in:
Michael Adam 2010-06-16 15:49:30 +02:00
parent f27858548e
commit bb8a4415c8

View File

@ -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);
}