summaryrefslogtreecommitdiffstats
path: root/src/confdb
diff options
context:
space:
mode:
authorAriel Barria <arielb@fedoraproject.org>2012-05-10 22:18:52 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-05-11 10:20:14 -0400
commit3db7aca0479a30f4a1e66a35b4b7b7bcfd81a78f (patch)
tree5380da02fbae0bc3e5621e11f54b796e2159852a /src/confdb
parent2d34690ae92215d355b0272001d9e68214dc80f6 (diff)
downloadsssd-3db7aca0479a30f4a1e66a35b4b7b7bcfd81a78f.tar.gz
sssd-3db7aca0479a30f4a1e66a35b4b7b7bcfd81a78f.tar.xz
sssd-3db7aca0479a30f4a1e66a35b4b7b7bcfd81a78f.zip
Bad check for id_provider=local and access_provider=permit
documentation-access_provider Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/confdb')
-rw-r--r--src/confdb/confdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index 1c5e40cd1..3f1352138 100644
--- a/src/confdb/confdb.c
+++ b/src/confdb/confdb.c
@@ -770,7 +770,7 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb,
tmp = ldb_msg_find_attr_as_string(res->msgs[0],
CONFDB_DOMAIN_ACCESS_PROVIDER,
NULL);
- if (tmp && strcasecmp(tmp, "local") != 0) {
+ if (tmp && strcasecmp(tmp, "permit") != 0) {
DEBUG(0, ("Local ID provider does not support [%s] as an ACCESS provider.\n", tmp));
ret = EINVAL;
goto done;