From 2e53c10c68a86c33d97936fce02c3c53aad82bfa Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 13 Aug 2009 13:02:28 +0200 Subject: Make "files" a reserved word for legacy local domain This patch introduces provider=files as a valid provider. Upon loading the backend, its properties in confdb are overwritten to those that represent legacy local domain. Also document this in sssd.conf(5) and example config --- server/tools/tools_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tools') diff --git a/server/tools/tools_util.c b/server/tools/tools_util.c index 79f73ac66..620139940 100644 --- a/server/tools/tools_util.c +++ b/server/tools/tools_util.c @@ -78,7 +78,8 @@ enum id_domain get_domain_type(struct tools_ctx *ctx, if (strcasecmp(dom->provider, "local") == 0) { return ID_IN_LOCAL; - } else if (is_domain_local_legacy(ctx, dom) == 0) { + } else if (strcasecmp(dom->provider, "files") == 0 || + is_domain_local_legacy(ctx, dom) == 0) { return ID_IN_LEGACY_LOCAL; } -- cgit