dns-ui
dns-ui copied to clipboard
PHP_AUTH_vars
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...