-
Notifications
You must be signed in to change notification settings - Fork 17
Description
The Freepbx service fails to correctly read the environment variable
NETHVOICE_LDAP_USER when it contains a special character like \. This
causes issues with LDAP authentication. The NETHVOICE_LDAP_USER variable is
populated by selecting an account provider created through the Cluster Admin
interface from the NethVoice module interface.
Steps to reproduce:
- Create an account provider through the Cluster Admin interface.
- Select the created account provider from the NethVoice module interface,
which populates theNETHVOICE_LDAP_USERvariable with a value containing a
\(e.g.,ws2022test\bindws2022ad).
Expected behavior The NETHVOICE_LDAP_USER variable should be read
correctly and used for LDAP authentication without issues.
Actual behavior The NETHVOICE_LDAP_USER variable loses the \ character
during reading by systemd, resulting in an incorrect value
(ws2022testbindws2022ad) and causing LDAP authentication to fail.
Components
ns8-nethvoice
See also
Link to discussion on private mattermost:
https://mattermost.nethesis.it/nethesis/pl/m4bhepknf3ye9jiaapipx3mbae
Acknowledgements
Thanks to @Stell0 and @DavidePrincipi for their discussion and
collaboration in resolving the issue. The proposed solution involves using
runagent to start podman and manage environment variables more reliably.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status