Commit 0b040ac8 authored by nimrod's avatar nimrod
Browse files

Allow anonymous access to a user's shell and full name.

parent a8617bca
Loading
Loading
Loading
Loading
+7
Changes for tasks/main.yml: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -63,6 +63,13 @@
    regexp: '^URI'
    state: present

- name: Allow anonymous read access to chsh and chfn
  ldap_attr:
    dn: 'olcDatabase={1}hdb,cn=config'
    name: olcAccess
    values: '{1}to attrs=loginShell,gecos by dn="cn=admin,dc=example,dc=com" write by self write by * read'
    state: exact

- name: Configure olcTLS attributes
  with_dict:
    olcTLSCACertificateFile: '{{ tls_ca_cert_path }}'