NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Allow LDAP access for Webserver app #6928

Open mrmarkuz opened 1 month ago

mrmarkuz commented 1 month ago

When installing a site using LDAP on the Webserver app, the ldapproxy isn't reachable. As a lot of web apps use LDAP we should allow it.

Proposed solution

Add --network=slirp4netns:allow_host_loopback=true to the webserver service to allow LDAP access.

Alternative solutions

Use the custom configuration as explained in the community

See also

https://community.nethserver.org/t/customize-container-systemd-service-file/23687


Thanks to kovand for proposing this feature.

stephdl commented 1 month ago

for the record, this could be done manually by creating a systemd template service, in the meanwhile there are a lot of cases where the web application could need to connect to a LDAP server, but sometimes not on the cluster

what do you think @DavidePrincipi