2021-12-21 09:48:22 +00:00
|
|
|
defaults = {
|
|
|
|
'ldap-frontend': {
|
|
|
|
'ldap': {
|
|
|
|
'server': 'ldap://localhost:389',
|
|
|
|
'username': 'uid=ldap-frontend,ou=Applications,dc=qzwi,dc=de',
|
|
|
|
'password': repo.vault.decrypt('encrypt$gAAAAABhwZ_5KNOCqkSwMm9zmeVksndPXXtrKJUatf7GYhwvVJQJQwM0OX7S-ZKHwBVCxegMqS46LrJX0ZLTH_gouekKEGRSsttARZgs9giAGy9ijXdDirQ='),
|
|
|
|
'group_base': 'ou=Groups,dc=qzwi,dc=de',
|
|
|
|
'user_base': 'ou=Users,dc=qzwi,dc=de',
|
|
|
|
},
|
|
|
|
'template': {
|
|
|
|
'group_admin': '(&(objectclass=inetOrgPerson)(uid={})(memberOf=ou=qzwi-admins,ou=Groups,dc=qzwi,dc=de))',
|
|
|
|
'group_dn': 'ou={},ou=Groups,dc=qzwi,dc=de',
|
|
|
|
'group_members': '(&(objectclass=inetOrgPerson)(memberOf=ou={},ou=Groups,dc=qzwi,dc=de))',
|
|
|
|
'group_nonmembers': '(&(objectclass=inetOrgPerson)(!(memberOf=ou={},ou=Groups,dc=qzwi,dc=de)))',
|
|
|
|
'user_dn': 'uid={},ou=Users,dc=qzwi,dc=de',
|
|
|
|
'user_search': '(&(objectclass=inetOrgPerson)(uid={}))',
|
|
|
|
},
|
|
|
|
'title': 'Usermanagement QZWI',
|
|
|
|
},
|
2022-01-04 12:19:27 +00:00
|
|
|
'monit': {
|
|
|
|
'services': {
|
|
|
|
'ldap-frontend': {
|
|
|
|
'bin': '/opt/ldap-frontend/venv/bin/python /opt/ldap-frontend/venv/bin/gunicorn',
|
|
|
|
'ports': {
|
|
|
|
'23000': {
|
|
|
|
'protocol': 'http',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-12-21 09:48:22 +00:00
|
|
|
}
|
|
|
|
|