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:
parent
f27858548e
commit
bb8a4415c8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user