sssd-simple.5.xml revision ff5de51ef7ba824cff814265f3fb4622dc2abb83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
<reference>
<title>SSSD Manual pages</title>
<refentry>
<refmeta>
<refentrytitle>sssd-simple</refentrytitle>
<manvolnum>5</manvolnum>
<refmiscinfo class="manual">File Formats and Conventions</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>sssd-simple</refname>
<refpurpose>the configuration file for SSSD's 'simple' access-control
provider</refpurpose>
</refnamediv>
<refsect1 id='description'>
<title>DESCRIPTION</title>
<para>
This manual page describes the configuration of the simple
access-control provider for
<citerefentry>
<refentrytitle>sssd</refentrytitle>
<manvolnum>8</manvolnum>
</citerefentry>.
For a detailed syntax reference, refer to the
<quote>FILE FORMAT</quote> section of the
<citerefentry>
<manvolnum>5</manvolnum>
</citerefentry> manual page.
</para>
<para>
The simple access provider grants or denies access based on an
access or deny list of user or group names. The following rules
apply:
<itemizedlist>
<listitem>
<para>If all lists are empty, access is granted</para>
</listitem>
<listitem>
<para>
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.
</para>
</listitem>
<listitem>
<para>
If either or both "allow" lists are provided, all
users are denied unless they appear in the list.
</para>
</listitem>
<listitem>
<para>
If only "deny" lists are provided, all users are
granted access unless they appear in the list.
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id='file-format'>
<title>CONFIGURATION OPTIONS</title>
<para>Refer to the section <quote>DOMAIN SECTIONS</quote> of the
<citerefentry>
<manvolnum>5</manvolnum>
</citerefentry> manual page for details on the configuration of an
SSSD domain.
<variablelist>
<varlistentry>
<term>simple_allow_users (string)</term>
<listitem>
<para>
Comma separated list of users who are allowed to
log in.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>simple_deny_users (string)</term>
<listitem>
<para>
Comma separated list of users who are explicitly
denied access.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>simple_allow_groups (string)</term>
<listitem>
<para>
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.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>simple_deny_groups (string)</term>
<listitem>
<para>
Comma separated list of groups that are explicitly
denied access. This applies only to groups within
this SSSD domain. Local groups are not evaluated.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
<para>
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.
</para>
<para>
Please note that it is an configuration error if both,
simple_allow_users and simple_deny_users, are defined.
</para>
</refsect1>
<refsect1 id='example'>
<title>EXAMPLE</title>
<para>
The following example assumes that SSSD is correctly
configured and example.com is one of the domains in the
<replaceable>[sssd]</replaceable> section. This examples shows only
the simple access provider-specific options.
</para>
<para>
<programlisting>
access_provider = simple
simple_allow_users = user1, user2
</programlisting>
</para>
</refsect1>
</refentry>
</reference>