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

PHP_AUTH_vars #130

Open
rmuehl opened this issue Mar 25, 2019 · 0 comments
Open

PHP_AUTH_vars #130

rmuehl opened this issue Mar 25, 2019 · 0 comments

Comments

@rmuehl
Copy link

rmuehl commented Mar 25, 2019

When using

[php_auth]
enabled = 1

the apache auth needs to set the specific server vars

PHP_AUTH_NAME, PHP_AUTH_EMAIL and PHP_AUTH_GROUPS

It is possible to tell apache to use PHP_AUTH_ as a prefix. But NAME, EMAIL and GROUPS needs to be fetched from LDAP.
But when LDAP object is for e.g mail instead of email, it will not work.

I could not find a way in apache to transform these var-names. So would it be possible to make these configurable in the config.ini?

Otherwise one had to change the LDAP object names...

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

1 participant