Skip to content

Commit

Permalink
Revert "#11: Try fix the issue."
Browse files Browse the repository at this point in the history
This reverts commit a046e40.
  • Loading branch information
ktooi committed Oct 7, 2022
1 parent a046e40 commit a82bc98
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions tasks/configure-admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,33 @@
dn: '{{ slapd_olcDatabase_type_dn }}'
attributes:
olcAccess:
- >-
to *
- 'to *
by dn="{{ ldap_admin_dn }}" manage
by self read
by * read
- >-
to attrs=userPassword
by * read'
- 'to attrs=userPassword
by dn="{{ ldap_admin_dn }}" write
by anonymous auth
by self write
by * none
- >-
to attrs=shadowLastChange
by * none'
- 'to attrs=shadowLastChange
by self write
by * read
- >-
to dn.children="ou=users,{{ ldap_basedn }}"
by * read'
- 'to dn.children="ou=users,{{ ldap_basedn }}"
by self read
by anonymous read
- >-
to dn.children="ou=groups,{{ ldap_basedn }}"
by anonymous read'
- 'to dn.children="ou=groups,{{ ldap_basedn }}"
by self read
by anonymous read
- >-
to dn.base=""
by * read
by anonymous read'
- 'to dn.base=""
by * read'
olcSuffix: '{{ ldap_basedn }}'
olcRootDN: '{{ ldap_admin_dn }}'
olcRootPW: '{{ ldap_admin_hashed_passwd }}'
state: exact
# WORKAROUND: Skip this task due to the following error occurred at RedHat 7/8/9
# OTHER: {'info': '<olcModuleLoad> handler exited with 1', 'desc': 'Other (e.g., implementation specific) error'}
# See also: https://github.com/ktooi/ansible-role-slapd/issues/11
#when: not ansible_os_family == "RedHat"
when: not ansible_os_family == "RedHat"
tags:
- molecule-idempotence-notest

0 comments on commit a82bc98

Please sign in to comment.