add ldap.conf config
This commit is contained in:
@@ -48,6 +48,18 @@
|
||||
force: false
|
||||
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
|
||||
lineinfile:
|
||||
path: /etc/openldap/ldifs/slapd.ldif
|
||||
|
||||
Reference in New Issue
Block a user