From: Clark, Bobby (Bobby.Clark@eku.edu)
Date: Wed Aug 22 2001 - 15:55:40 CDT
For IMAP Auth add the following:
IN /usr/local/apache/cgi-bin/variables.pl ADD
___________________________________________________
$AUTH_METHOD = "IMAP";
$IMAPSERVER = "x.x.x.x";
...
if ($AUTH_METHOD = "IMAP") { use Net::IMAP::Simple; }
___________________________________________________
IN /usr/local/apache/cgi-bin/register.cgi ADD
___________________________________________________
...
elsif ($AUTH_METHOD eq "IMAP") {
$imap = new Net::IMAP::Simple( "$IMAPSERVER" );
$alive = $imap->login( $FORM{'user'}, $FORM{'pass'} );
$imap->quit();
unless ($alive) {
error("Authentication Failed");
}
}
___________________________________________________
Bobby Clark
bobby.clark@eku.edu
Eastern Kentucky University
Data Services Engineer
Networking & Telecommunications
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:36 CDT