Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variables like LDAP_BINDDN not copying proprtly yo config.inc.php #23

Open
JustoStyle opened this issue Apr 4, 2020 · 5 comments

Comments

@JustoStyle
Copy link

Hi,

It seems with environment variables like LDAP_BINDDN. That even when escaped the value gets cut off at the first space. e.g

LDAP_BINDDN=CN=Service User,OW=Service,DC,Domain etc
will end up in config like
$ldap_binddn = "CN=Service"

@tiredofit
Copy link
Owner

OK makes sense, and if you edit the config.php manually with your entry does it work?

@JustoStyle
Copy link
Author

Yeah it does. It work in previous versions too. I only updated 4 days ago.

@tiredofit
Copy link
Owner

OK. Related to recent changes. Will add a fix early tomorrow. Sorry about this.

@tiredofit
Copy link
Owner

New release tiredofit/self-service-password:5.0.2 or latest that should allow you to have spaces in LDAP_BINDDN, LDAP_BASE_SEARCH and LDAP_FILTER environment variables.

@JustoStyle
Copy link
Author

Tested all looks to be working.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants