From 3c60433641ce2e86b9b04778c8f8652ef0d097e4 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Apr 2012 15:02:10 +0200 Subject: Make re_expression and full_name_format per domain options * Allows different user/domain qualified names for different domains. For example Domain\User or user@domain. * The global re_expression and full_name_format options remain as defaults for the domains. * Subdomains get the re_expression and full_name_format of their parent domain. https://bugzilla.redhat.com/show_bug.cgi?id=811663 --- src/tools/tools_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/tools_util.c b/src/tools/tools_util.c index 871ba2b11..fbb1d81bd 100644 --- a/src/tools/tools_util.c +++ b/src/tools/tools_util.c @@ -268,7 +268,7 @@ int init_sss_tools(struct tools_ctx **_tctx) goto fini; } - ret = sss_names_init(tctx, tctx->confdb, &tctx->snctx); + ret = sss_names_init(tctx, tctx->confdb, tctx->local->name, &tctx->snctx); if (ret != EOK) { DEBUG(1, ("Could not set up parsing\n")); goto fini; -- cgit