Re: Authenticating Neomail with Apache mod_auth
Torsten Mueller <[email protected]>
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <[email protected]> |
"seamus.kane" schrieb:
>
> Hi
> I run a number of Perl based applications e.g Calendar Scheduling, and
> authenticate using Apache mod_auth. Since I have captured the
> authenticated user as an ENV var REMOTE_USER I wanted to then access
> Neomail without further authentication. ( Note , new Linux users are
> added are added automatically to my mod_auth password file )
>
> I thought I could do this by adding the following to checklogin.pl
> my $remoteuser = $ENV{'REMOTE_USER'};
> if (length($remoteuser)> 1) {exit 0;}
> ( this is executed before check for ( $passwdfile && $username &&
> $password )
>
> and call neomail with arguments
> neomail.pl?action=login
>
> No Luck so far.
>
> I would appreciate any hints or tips
This is not an easy task i doubt.
You have to change the auth model and the
session timout handling.
As neomail currently uses a session id you have to
substitute the sessionid-model or
create the correct sessionid in checklogin.pl
There is no ready to run solution available i know, so
you are on your own.
Torsten
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com