The simple access provider grants or denies access based on an access or deny list of user or group names. The following rules apply:
- • If all lists are empty, access is granted
- • If any list is provided, the order of evaluation is allow,deny. This means that any matching deny rule will supersede any matched allow rule.
- • If either or both "allow" lists are provided, all users are denied unless they appear in the list.
- • If only "deny" lists are provided, all users are granted access unless they appear in the list.
Refer to the section "DOMAIN SECTIONS" of the sssd.conf(5) manual page for details on the configuration of an SSSD domain.
- Comma separated list of users who are allowed to log in.
- Comma separated list of users who are explicitly denied access.
- Comma separated list of groups that are allowed to log in. This applies only to groups within this SSSD domain. Local groups are not evaluated.
- Comma separated list of groups that are explicitly denied access. This applies only to groups within this SSSD domain. Local groups are not evaluated.
Specifying no values for any of the lists is equivalent to skipping it entirely. Beware of this while generating parameters for the simple provider using automated scripts.
Please note that it is an configuration error if both, simple_allow_users and simple_deny_users, are defined.
The following example assumes that SSSD is correctly configured and example.com is one of the domains in the [sssd] section. This examples shows only the simple access provider-specific options.
[domain/example.com] access_provider = simple simple_allow_users = user1, user2
The complete group membership hierarchy is resolved before the access check, thus even nested groups can be included in the access lists. Please be aware that the "ldap_group_nesting_level" option may impact the results and should be set to a sufficient value. (sssd-ldap(5)) option.
The SSSD upstream - http://fedorahosted.org/sssd