[courier-users] Re: Splitting out PRE from AUTH

This is a discussion on [courier-users] Re: Splitting out PRE from AUTH within the Courier-Imap forums, part of the Mail Servers and Related category; Johnny Lam wrote: > > I'm wondering if there is any interest in separating the > "authentication" ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-04-2005
Johnny Lam
 
Posts: n/a
Default [courier-users] Re: Splitting out PRE from AUTH

Johnny Lam wrote:
>
> I'm wondering if there is any interest in separating the
> "authentication" in courier-authlib into two parts -- "auth" and
> "account"? The "AUTH" and "PASSWD" messages would go to "auth" modules,
> and the "PRE" and "ENUMERATE" messages would go to "account" modules.
> The changes involved would be:
>
> (1) Modify the "AUTH" protocol to return "SUCCESS" instead of the result
> of a "PRE" request upon sucessfully authenticating a user/password
> combination.
>
> (2) Modify the auth_<type>() functions in each backend module to not
> return auth_<type>_pre(...) but rather just 1 or 0 depending on
> whether the user/password combination is good or not.


Apologies for the noise. I didn't read the source code carefully enough
and I see that this plan can't work, especially in the case where CRAM
is used.

I would still like to somehow separate the password verification from
the account info queries, but I will work on this idea further before
presenting again.

Cheers,

-- Johnny Lam <jlam@pkgsrc.org>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0