>Matus UHLAR - fantomas writes:
>>could courier-authlib use PAM session functions?
>>
>>We use AD authentication so we can't create home directories when users are
>>created (because on client we don't know when a user is created).
>>
>>I would like to create homedir/maildir at first access, either from
>>maildrop, or from courier, whichever happens first.  However courier-authlib
>>does not call session functions, so we currently can not use courier, unless
>>we find OK that users' logins will fail before first mail is received...
>>we do not.
>>
>>this was discussed already few years ago, but I believe here we have proper
>>reason to support PAM sessions.

On 08.06.15 08:30, Sam Varshavchik wrote:
>Unfortunately, this is not architecturely possible. authdaemond runs 
>as a standalone daemon, and it handles all authentication requests. 
>It has no direct knowledge of when individual processes get created, 
>and when they terminate.

but it could call session init after successful verification, and session
close immediately after, right?

(of course, only if admin sets it up, to prevent others from useless pam
calls)

>However, it might be possible to implement this directly.

do you mean directly in smtp/imap/pop3 servers?

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to