dns-ui icon indicating copy to clipboard operation
dns-ui copied to clipboard

PHP_AUTH_vars

Open rmuehl opened this issue 6 years ago • 0 comments

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...

rmuehl avatar Mar 25 '19 12:03 rmuehl