summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-10-25 16:15:06 +0200
committerJakub Hrozek <jhrozek@redhat.com>2017-02-15 14:51:41 +0100
commit90a103d6050b266fd8fc8fd0636be32de5885dec (patch)
tree8b3841501a8793c05d63e1cd1d41090a2cf7f1dc
parent8cfb42e1985550e99585d311f68087d414932806 (diff)
downloadsssd-90a103d6050b266fd8fc8fd0636be32de5885dec.tar.gz
sssd-90a103d6050b266fd8fc8fd0636be32de5885dec.tar.xz
sssd-90a103d6050b266fd8fc8fd0636be32de5885dec.zip
CONFDB: Re-enable the files provider
The files provider was "blacklisted" for a long time, because very old (pre-1.0) versions of sssd had the capability to create users and groups by calling into the shadow-utils binaries directly which was later removed. Since nobody is (hopefully) running these ancient versions anymore and we are about to re-enable the files provider, we can remove this check. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r--src/confdb/confdb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index 69200f5cd..b0a75867c 100644
--- a/src/confdb/confdb.c
+++ b/src/confdb/confdb.c
@@ -900,13 +900,6 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb,
goto done;
}
- if (strcasecmp(domain->provider, "files") == 0) {
- /* The files provider is not valid anymore */
- DEBUG(SSSDBG_FATAL_FAILURE, "The \"files\" provider is invalid\n");
- ret = EINVAL;
- goto done;
- }
-
if (strcasecmp(domain->provider, "local") == 0) {
/* If this is the local provider, we need to ensure that
* no other provider was specified for other types, since