Actualicé variables de LDAP
This commit is contained in:
parent
f203d7599c
commit
4b9dd5bff5
2 changed files with 6 additions and 7 deletions
|
@ -298,7 +298,6 @@
|
||||||
become_user: "{{ web_user }}"
|
become_user: "{{ web_user }}"
|
||||||
when: not ansible_local['nextcloud']['is_ldap_configured']
|
when: not ansible_local['nextcloud']['is_ldap_configured']
|
||||||
|
|
||||||
# TODO: quitar "hard-codeos"
|
|
||||||
- name: Configure LDAP
|
- name: Configure LDAP
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
|
|
|
@ -26,12 +26,12 @@ nextcloud_db_user_password: Una contraseña bien, pero bien difícil.
|
||||||
ldap_enabled: false
|
ldap_enabled: false
|
||||||
ldap_agent_password: cIBI4mLESN1nSrAPr7pX3350NPXkD3vExjr27X1ju
|
ldap_agent_password: cIBI4mLESN1nSrAPr7pX3350NPXkD3vExjr27X1ju
|
||||||
ldap_server_host: "10.254.1.1"
|
ldap_server_host: "10.254.1.1"
|
||||||
ldapBase: cn=users,cn=accounts,dc=softwarelibre,dc=mx
|
ldapBase: "cn=users,cn=accounts,dc=softwarelibre,dc=mx"
|
||||||
ldapBaseGroups: cn=users,cn=accounts,dc=softwarelibre,dc=mx
|
ldapBaseGroups: "cn=users,cn=accounts,dc=softwarelibre,dc=mx"
|
||||||
ldapBaseUsers: cn=users,cn=accounts,dc=softwarelibre,dc=mx
|
ldapBaseUsers: "cn=users,cn=accounts,dc=softwarelibre,dc=mx"
|
||||||
ldapAgentName: cn=Directory Manager
|
ldapAgentName: "cn=Directory Manager"
|
||||||
ldapAgentPassword: {{ ldap_agent_password }}
|
ldapAgentPassword: "{{ ldap_agent_password }}"
|
||||||
ldapHost: {{ ldap_server_host }}
|
ldapHost: "{{ ldap_server_host }}"
|
||||||
hasMemberOfFilterSupport: 1
|
hasMemberOfFilterSupport: 1
|
||||||
ldapEmailAttribute: mail
|
ldapEmailAttribute: mail
|
||||||
ldapLoginFilter: "(&(&(|(objectclass=posixAccount)))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))"
|
ldapLoginFilter: "(&(&(|(objectclass=posixAccount)))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))"
|
||||||
|
|
Loading…
Reference in a new issue