Skip to content

Commit

Permalink
[debops.slapd] Add indexes for UNIX environments
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Sep 4, 2019
1 parent 065bbf8 commit 316dcc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ Updates of upstream application versions
manually via the LDAP client, by setting the value of the ``sudoUser`` index
to ``eq,sub``.

- Add indexes for the ``authorizedService`` and ``host`` attributes from the
:ref:`ldapns LDAP schema <slapd__ref_ldapns>` and the ``gid`` attribute from
the :ref:`posixGroupId LDAP schema <slapd__ref_posixgroupid>`. This should
improve performance in UNIX environments connected to the LDAP directory.

:ref:`debops.sshd` role
'''''''''''''''''''''''

Expand Down
3 changes: 3 additions & 0 deletions ansible/roles/debops.slapd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,9 @@ slapd__default_tasks:
- 'uidNumber,gidNumber eq'
- 'entryCSN,entryUUID eq'
- 'sudoUser eq,sub'
- 'authorizedService eq'
- 'host eq'
- 'gid eq'

- name: 'Enable the monitor database'
dn: 'olcDatabase={2}monitor,cn=config'
Expand Down

0 comments on commit 316dcc5

Please sign in to comment.