|
| 1 | +# Configuration openldap |
| 2 | +# ---------------------- |
| 3 | + |
| 4 | +ldaptoolbox_openldap_custom_schema_srcdir: "{{ playbook_dir }}/files/ldaptoolbox.oldap/usr/local/openldap/etc/openldap/schema" |
| 5 | +ldaptoolbox_openldap_custom_schema_list: |
| 6 | + - custom.ldif |
| 7 | + |
| 8 | +ldaptoolbox_openldap_olcSaslHost: 127.0.0.1 |
| 9 | +ldaptoolbox_openldap_olcSortVals: member |
| 10 | +ldaptoolbox_openldap_olcServerID: 1 |
| 11 | +ldaptoolbox_openldap_olcTLSCACertificateFile: /etc/ssl/certs/ca-certificates.crt |
| 12 | +ldaptoolbox_openldap_olcTLSCertificateFile: /etc/ssl/certs/ssl-cert-snakeoil.pem |
| 13 | +ldaptoolbox_openldap_olcTLSCertificateKeyFile: /etc/ssl/private/ssl-cert-snakeoil.key |
| 14 | +ldaptoolbox_openldap_olcTLSProtocolMin: 3.3 |
| 15 | +ldaptoolbox_openldap_olcLogLevel: stats |
| 16 | + |
| 17 | +ldaptoolbox_openldap_config_olcRootDN: cn=admin,cn=config |
| 18 | +ldaptoolbox_openldap_config_olcRootPW_hash: "{{ ldaptoolbox_openldap_config_olcRootPW_hash_vault }}" |
| 19 | +ldaptoolbox_openldap_database_olcRootDN: cn=admin,dc=my-domain,dc=com |
| 20 | +ldaptoolbox_openldap_database_olcRootPW_hash: "{{ ldaptoolbox_openldap_database_olcRootPW_hash_vault }}" |
| 21 | + |
| 22 | +ldaptoolbox_openldap_suffix: "dc=my-domain,dc=com" |
| 23 | + |
| 24 | +ldaptoolbox_openldap_syncrepl: |
| 25 | +- rid: "001" |
| 26 | + provider: "ldap://localhost:389/" |
| 27 | + tlscert: "{{ ldaptoolbox_openldap_olcTLSCertificateFile }}" |
| 28 | + tlskey: "{{ ldaptoolbox_openldap_olcTLSCertificateKeyFile }}" |
| 29 | + tlscacert: "{{ ldaptoolbox_openldap_olcTLSCACertificateFile }}" |
| 30 | + tlsreqcert: "demand" |
| 31 | + binddn: "uid=syncrepl,ou=accounts,ou=infrastructure,dc=my-domain,dc=com" |
| 32 | + password: "{{ ldaptoolbox_openldap_syncrepl_password_vault }}" |
| 33 | + searchbase: "{{ ldaptoolbox_openldap_suffix }}" |
| 34 | + scope: "sub" |
| 35 | + type: "refreshAndPersist" |
| 36 | + retry: "5 5 300 +" |
| 37 | +- rid: "002" |
| 38 | + provider: "ldap://localhost:389/" |
| 39 | + tlscert: "{{ ldaptoolbox_openldap_olcTLSCertificateFile }}" |
| 40 | + tlskey: "{{ ldaptoolbox_openldap_olcTLSCertificateKeyFile }}" |
| 41 | + tlscacert: "{{ ldaptoolbox_openldap_olcTLSCACertificateFile }}" |
| 42 | + tlsreqcert: "demand" |
| 43 | + binddn: "uid=syncrepl,ou=accounts,ou=infrastructure,dc=my-domain,dc=com" |
| 44 | + password: "{{ ldaptoolbox_openldap_syncrepl_password_vault }}" |
| 45 | + searchbase: "{{ ldaptoolbox_openldap_suffix }}" |
| 46 | + scope: "sub" |
| 47 | + type: "refreshAndPersist" |
| 48 | + retry: "5 5 300 +" |
| 49 | + |
| 50 | +ldaptoolbox_openldap_access_list: |
| 51 | + - to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break |
| 52 | + - to dn.base="" by * read |
| 53 | + - to dn.base="cn=Subschema" by * read |
| 54 | + - to * by self write by users read by anonymous auth |
| 55 | + |
| 56 | +ldaptoolbox_openldap_database_olcLimits: |
| 57 | + - dn.base="uid=syncrepl,ou=accounts,ou=infrastructure,dc=my-domain,dc=com" size=unlimited time=unlimited |
| 58 | + |
| 59 | +ldaptoolbox_openldap_database_olcDbIndexes: |
| 60 | + - "objectClass eq" |
| 61 | + - "entryUUID eq" |
| 62 | + - "entryCSN eq" |
| 63 | + - "cn pres,eq,sub" |
| 64 | + - "uid pres,eq,sub" |
| 65 | + |
| 66 | +ldaptoolbox_openldap_database_olcDbMaxSize: "4294967296" |
| 67 | + |
| 68 | +ldaptoolbox_openldap_overlay_syncprov_olcSpCheckpoint: "100 10" |
| 69 | +ldaptoolbox_openldap_overlay_syncprov_olcSpSessionlog: "100" |
| 70 | + |
| 71 | +ldaptoolbox_openldap_overlay_ppolicy_olcPPolicyDefault: "cn=default,ou=ppolicies,dc=my-domain,dc=com" |
| 72 | +ldaptoolbox_openldap_overlay_ppolicy_olcPPolicyHashCleartext: "TRUE" |
| 73 | +ldaptoolbox_openldap_overlay_ppolicy_olcPPolicyUseLockout: "TRUE" |
| 74 | + |
| 75 | +ldaptoolbox_openldap_overlay_refint_olcRefintAttribute: "member" |
| 76 | +ldaptoolbox_openldap_overlay_refint_olcRefintNothing: "cn=nothing,dc=my-domain,dc=com" |
| 77 | + |
| 78 | +ldaptoolbox_openldap_overlay_dynlist_olcDlAttrSet: "groupOfURLs memberURL member+memberOf@groupOfNames*" |
| 79 | + |
| 80 | +ldaptoolbox_openldap_monitor_olcRootDN: "cn=monitor" |
| 81 | +ldaptoolbox_openldap_monitor_olcRootPW_hash: "{{ ldaptoolbox_openldap_monitor_olcRootPW_hash_vault }}" |
| 82 | + |
0 commit comments