A PAM-login module for bugzilla login

Martin Y. Chiu sothat at bsdx.org
Thu Dec 22 10:26:32 UTC 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pam.pm
Type: application/x-perl
Size: 13118 bytes
Desc: not available
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20051222/44e63f24/attachment.pl>


More information about the developers mailing list