124 lines
4.3 KiB
HTML
124 lines
4.3 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
|
|
lang="fr" dir="ltr">
|
|
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title></title><!-- metadata --><!-- style sheet links -->
|
|
|
|
<meta name="generator" content="Hors ligne" />
|
|
<meta name="version" content="Hors-ligne 0.1" />
|
|
|
|
<link rel="stylesheet" media="all" type="text/css" href="../../../../css/all.css" />
|
|
<link rel="stylesheet" media="screen" type="text/css" href="../../../../css/screen.css" />
|
|
<link rel="stylesheet" media="print" type="text/css" href="../../../../css/print.css" />
|
|
|
|
</head>
|
|
<body>
|
|
<div class="dokuwiki export">
|
|
|
|
|
|
<h1 class="sectionedit1" id="bugzilla">Bugzilla</h1>
|
|
<div class="level1">
|
|
|
|
<p>
|
|
<a href="/_detail/applications/bugzilla_logo.png?id=documentation%3A1.9%3Aapplications%3Abugzilla" class="media" title="applications:bugzilla_logo.png"><img src="../../../../media/applications/bugzilla_logo.png" class="mediacenter" alt="" /></a>
|
|
</p>
|
|
|
|
</div><!-- EDIT1 SECTION "Bugzilla" [1-64] -->
|
|
|
|
<h2 class="sectionedit2" id="presentation">Présentation</h2>
|
|
<div class="level2">
|
|
|
|
<p>
|
|
<a href="http://www.bugzilla.org" class="urlextern" title="http://www.bugzilla.org" rel="nofollow">Bugzilla</a> est un logiciel serveur conçu pour assister la gestion de développement logiciel.
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Bugzilla can authenticate a user with HTTP headers, and auto-create its account with a few information:
|
|
|
|
</p>
|
|
<ul>
|
|
<li class="level1"><div class="li"> User ID</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> Email</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> Real name</div>
|
|
</li>
|
|
</ul>
|
|
|
|
</div><!-- EDIT2 SECTION "Presentation" [65-338] -->
|
|
|
|
<h2 class="sectionedit3" id="configuration">Configuration</h2>
|
|
<div class="level2">
|
|
|
|
</div><!-- EDIT3 SECTION "Configuration" [339-365] -->
|
|
|
|
<h3 class="sectionedit4" id="bugzilla_administration">Administration de Bugzilla</h3>
|
|
<div class="level3">
|
|
|
|
<p>
|
|
Dans l'interface d'administration, allez dans <code>Parameters</code> » <code>User authentication</code>
|
|
</p>
|
|
|
|
<p>
|
|
et indiquez :
|
|
</p>
|
|
<ul>
|
|
<li class="level1"><div class="li"> <strong>auth_env_id</strong>: HTTP_AUTH_USER</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> <strong>auth_env_email</strong>: HTTP_AUTH_MAIL</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> <strong>auth_env_realname</strong>: HTTP_AUTH_CN</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> <strong>user_info_class</strong>: Env or Env,CGI</div>
|
|
</li>
|
|
</ul>
|
|
|
|
</div><!-- EDIT4 SECTION "Bugzilla administration" [366-653] -->
|
|
|
|
<h3 class="sectionedit5" id="bugzilla_virtual_host_in_apache">Hôte virtuel Apache hébergeant Bugzilla</h3>
|
|
<div class="level3">
|
|
|
|
<p>
|
|
Configurer l'hôte virtuel Bugzilla comme n'importe quel autre <a href="../../../documentation/1.9/configvhost.html" class="wikilink1" title="documentation:1.9:configvhost">hôte virtuel protégé</a>.
|
|
</p>
|
|
<pre class="code file apache"><<span class="kw3">VirtualHost</span> *:<span class="nu0">80</span>>
|
|
<span class="kw1">ServerName</span> bugzilla.example.com
|
|
|
|
PerlHeaderParserHandler Lemonldap::NG::Handler
|
|
|
|
...
|
|
|
|
</<span class="kw3">VirtualHost</span>></pre>
|
|
|
|
</div><!-- EDIT5 SECTION "Bugzilla virtual host in Apache" [654-953] -->
|
|
|
|
<h3 class="sectionedit6" id="bugzilla_virtual_host_in_manager">Hôte virtuel Bugzilla dans le manager</h3>
|
|
<div class="level3">
|
|
|
|
<p>
|
|
Aller dans le manager et <a href="../../../documentation/1.9/configvhost.html#lemonldapng_configuration" class="wikilink1" title="documentation:1.9:configvhost">créer un nouvel hôte virtuel</a> pour Bugzilla.
|
|
</p>
|
|
|
|
<p>
|
|
Configurer les <a href="../../../documentation/1.9/writingrulesand_headers.html#rules" class="wikilink1" title="documentation:1.9:writingrulesand_headers">règles d'accès</a>.
|
|
</p>
|
|
|
|
<p>
|
|
Configurer les <a href="../../../documentation/1.9/writingrulesand_headers.html#headers" class="wikilink1" title="documentation:1.9:writingrulesand_headers">en-têtes</a> suivants.
|
|
</p>
|
|
<ul>
|
|
<li class="level1"><div class="li"> <strong>Auth-User</strong>: $uid</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> <strong>Auth-Mail</strong>: $mail</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> <strong>Auth-Cn</strong>: $cn</div>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div><!-- closes <div class="dokuwiki export">--></body></html> |