A PAM-login module for bugzilla login

Benton, Kevin kevin.benton at amd.com
Thu Dec 22 16:11:52 UTC 2005


Hi Sothat.

Thank you for sending us your PAM module update for Bugzilla.

The best way to submit information like this is by filing a bug for it
on http://bugzilla.mozilla.org/.  That way, we can track the history of
updates to the module, etc. along with the rest of the updates to
Bugzilla.  It also helps you get someone to review your update if you
add a flag called review and set it to ?.  By setting that review flag,
it'll tell the review team that you would like someone to look at your
code to consider for inclusion in the next release of Bugzilla.

I haven't looked at your code yet, but you'll want to make sure you use
the testing script included with Bugzilla (runtests.sh).  If you get NOK
back from any of the tests, you'll need to track down why before
submitting your update.  I usually do a cvs co first, then use
runtests.sh to make sure I don't have to fix anyone else's issues
(unlikely, but does happen rarely), then I start making my changes.  If
runtests.sh reports problems after, then I know I am troubleshooting my
updates.

When submitting updates to existing files, the best way to do that is by
sending us a diff -uN (unified diff, new files treated as empty in old
directory).  Also, make sure your diff submissions are against the
latest revision of what you're trying to see fixed.  If you're trying
for a new feature in Bugzilla going forward, you'll want to work against
the HEAD (sometimes referred to as tip) revision.

Again, thanks for your hard work putting together that new module.

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
Personal Computing Systems Group
Advanced Micro Devices
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.

> -----Original Message-----
> From: developers-owner at bugzilla.org
[mailto:developers-owner at bugzilla.org]
> On Behalf Of Martin Y. Chiu
> Sent: Thursday, December 22, 2005 3:27 AM
> To: developers at bugzilla.org
> Subject: A PAM-login module for bugzilla login
> 
> Dear All,
> 
>        I'd like to use bugzilla with exist user database but
>     didn't find one. So I modified one from CGI.pm & Env.pm, which use
>     Authen::PAM module to authenticate user. You could modify
>     pam_login() for other auth method.
> 
>        With this login module, you should modified your params
>     user_info_class to 'Pam,CGI' with fallback to e-mail auth
>     or use 'Pam' only, and 'emailsuffix' to '@your-email.host'.
> 
>        Attachment is the modified code.
> --
> Sincerely,
>     sothat





More information about the developers mailing list