Bugzilla is server software designed to help you manage software development.

Bugzilla can authenticate a user with HTTP headers, and auto-create its account with a few information:

  • User ID
  • Email
  • Real name

In Bugzilla administration interface, go in Parameters ยป User authentication

Then set:

  • auth_env_id: HTTP_AUTH_USER
  • auth_env_email: HTTP_AUTH_MAIL
  • auth_env_realname: HTTP_AUTH_CN
  • user_info_class: Env or Env,CGI

Configure Bugzilla virtual host like other protected virtual host.

<VirtualHost *:80>
       PerlHeaderParserHandler Lemonldap::NG::Handler

Go to the Manager and create a new virtual host for Bugzilla.

Configure the access rules.

Configure the following headers.

  • Auth-User: $uid
  • Auth-Mail: $mail
  • Auth-Cn: $cn