From 2a2f642aae37e3f41cbbda162a74c2b946a4521f Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 20 Dec 2010 16:05:14 -0500 Subject: Add authorizedService support https://fedorahosted.org/sssd/ticket/670 --- src/providers/ldap/ldap_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/providers/ldap/ldap_init.c') diff --git a/src/providers/ldap/ldap_init.c b/src/providers/ldap/ldap_init.c index a1d8f05d..d5dad360 100644 --- a/src/providers/ldap/ldap_init.c +++ b/src/providers/ldap/ldap_init.c @@ -352,6 +352,8 @@ int sssm_ldap_access_init(struct be_ctx *bectx, goto done; } } + } else if (strcasecmp(order_list[c], LDAP_ACCESS_SERVICE_NAME) == 0) { + access_ctx->access_rule[c] = LDAP_ACCESS_SERVICE; } else { DEBUG(1, ("Unexpected access rule name [%s].\n", order_list[c])); ret = EINVAL; -- cgit