Skip to content

Commit

Permalink
retire my ldap servers
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdaley92 committed Jul 14, 2023
1 parent bf421e9 commit a7579f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 66 deletions.
33 changes: 1 addition & 32 deletions .ansible/inventories/dev/group_vars/all/ldap_connections.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,2 @@
ldap_connections:

- name: diesel-ldap
protocol: LDAPS
useTrustStore: true
host: ldap.dev.diesel.net
port: 636
searchBase: dc=diesel,dc=net
authScheme: SIMPLE # enum: NONE, SIMPLE, DIGEST_MD5, CRAM_MD5
authRealm: ''
authUsername: cn=admin,dc=diesel,dc=net
authPassword: ldap
connectionTimeoutSeconds: 30
connectionRetryDelaySeconds: 300
maxIncidentsCount: 3
userBaseDn: ou=users
userSubtree: true
userObjectClass: posixAccount
userLdapFilter:
userIdAttribute: uid
userRealNameAttribute: cn
userEmailAddressAttribute: mail
userPasswordAttribute:
ldapGroupsAsRoles: true
groupType: DYNAMIC #enum STATIC, DYNAMIC
groupBaseDn: ou=groups
groupSubtree: true
groupObjectClass: ''
groupIdAttribute: ''
groupMemberAttribute: ''
groupMemberFormat: ''
userMemberOfAttribute: memberOf
ldap_connections: []

35 changes: 1 addition & 34 deletions .ansible/inventories/prod/group_vars/all/ldap_connections.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1 @@
ldap_password: "{{ lookup('env', 'LDAP_ADMIN_PASSWORD') }}"

ldap_connections:

- name: diesel-ldap
protocol: LDAPS
useTrustStore: true
host: ldap.diesel.net
port: 636
searchBase: dc=diesel,dc=net
authScheme: SIMPLE # enum: NONE, SIMPLE, DIGEST_MD5, CRAM_MD5
authRealm: ''
authUsername: cn=admin,dc=diesel,dc=net
authPassword: '{{ ldap_password }}'
connectionTimeoutSeconds: 30
connectionRetryDelaySeconds: 300
maxIncidentsCount: 3
userBaseDn: ou=users
userSubtree: true
userObjectClass: posixAccount
userLdapFilter:
userIdAttribute: uid
userRealNameAttribute: cn
userEmailAddressAttribute: mail
userPasswordAttribute:
ldapGroupsAsRoles: true
groupType: DYNAMIC #enum STATIC, DYNAMIC
groupBaseDn: ou=groups
groupSubtree: true
groupObjectClass: ''
groupIdAttribute: ''
groupMemberAttribute: ''
groupMemberFormat: ''
userMemberOfAttribute: memberOf
ldap_connections: []

0 comments on commit a7579f9

Please sign in to comment.