Solved ldap reference bug for nextcloud and cleaned up

This commit is contained in:
2025-04-11 11:35:28 +02:00
parent 2dcf8159e5
commit 536c3091e5
24 changed files with 126 additions and 64 deletions

View File

@@ -12,7 +12,7 @@ ports:
phpldapadmin: 4186
fusiondirectory: 4187
ldap:
openldap: 389
ldap: 389
http:
nextcloud: 8001
gitea: 8002
@@ -61,7 +61,7 @@ ports:
gitea: 2201
gitlab: 2202
ldaps:
openldap: 636
ldap: 636
stun:
bigbluebutton: 3478 # Not sure if it's right placed here or if it should be moved to localhost section
turn:

View File

@@ -36,7 +36,7 @@ defaults_oidc:
# Helper Variables:
# Keep in mind to mapp this variables if there is ever the possibility for the user to define them in the inventory
_ldap_dn_base: "dc={{primary_domain_sld}},dc={{primary_domain_tld}}"
_ldap_server_port: "{% if applications.ldap.network.local | bool %}{{ ports.localhost.ldap.openldap }}{% else %}{{ ports.localhost.ldaps.openldap }}{% endif %}"
_ldap_server_port: "{% if applications.ldap.network.local | bool %}{{ ports.localhost.ldap.ldap }}{% else %}{{ ports.localhost.ldaps.ldap }}{% endif %}"
ldap:
# Distinguished Names (DN)