[courier-users] Re: Fun with authpipe

This is a discussion on [courier-users] Re: Fun with authpipe within the Courier-Imap forums, part of the Mail Servers and Related category; Sam Varshavchik wrote: > Johnny Lam writes: > >> The script takes an "AUTH" request, checks the ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-03-2005
Johnny Lam
 
Posts: n/a
Default [courier-users] Re: Fun with authpipe

Sam Varshavchik wrote:
> Johnny Lam writes:
>
>> The script takes an "AUTH" request, checks the username/password using
>> the "chkpw_pam" program, then makes a separate connection to
>> authdaemond to make a "PRE" request to return the account data. Since
>> authProg simply sends "FAIL" for a "PRE" request, the request falls
>> through to the authuserdb module.
>>
>> This simple idea works and required almost no programming, but I'd
>> like to know if there's a nicer way to do this.

>
>
> There's one potential problem with this.
>
> The default configuration setting runs 5 authdaemond processes.
>
> You get five logins come in at the same time. You turn around and
> reconnect to authdaemond, five times. Your connection requests will
> timeout because no more authdaemond processes are available.


Yes, that is true. I forgot to mention that I had doubled the default
number of authdaemond processes that are started from 5 to 10. Despite
the increased resource usage, I'm pleased that there was a simple way to
mix having a virtual shared folder setup with a separate PAM-based
authentication procedure.

Cheers,

-- Johnny Lam <jlam@pkgsrc.org>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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 03:34 PM.


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