add ldap.conf config

This commit is contained in:
2026-01-22 20:56:55 -07:00
parent 449e7cfc8b
commit d18353d2ae

View File

@@ -48,6 +48,18 @@
force: false force: false
remote_src: true remote_src: true
- name: Set upldap.conf base
lineinfile:
path: /etc/openldap/ldap.conf
regexp: '^#BASE'
line: 'BASE: dc=ldap,dc=home,dc=jthan,dc=io'
- name: Setup ldap.conf URIs
lineinfile:
path: /etc/openldap/ldap.conf
regexp: '^#URI'
line: 'URI: ldap://ldap.home.jthan.io'
- name: Set olcSuffix for domain - name: Set olcSuffix for domain
lineinfile: lineinfile:
path: /etc/openldap/ldifs/slapd.ldif path: /etc/openldap/ldifs/slapd.ldif