diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-08-13 13:02:28 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-13 09:16:20 -0400 |
commit | 2e53c10c68a86c33d97936fce02c3c53aad82bfa (patch) | |
tree | 88eb9699c29422737a9ce663319480a17a5db13b /server/tools | |
parent | 7fb74edcde011adef137357c916494409a94f1a1 (diff) | |
download | sssd-2e53c10c68a86c33d97936fce02c3c53aad82bfa.tar.gz sssd-2e53c10c68a86c33d97936fce02c3c53aad82bfa.tar.bz2 sssd-2e53c10c68a86c33d97936fce02c3c53aad82bfa.zip |
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
Diffstat (limited to 'server/tools')
-rw-r--r-- | server/tools/tools_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tools/tools_util.c b/server/tools/tools_util.c index 79f73ac6..62013994 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; } |