Matus UHLAR - fantomas writes:
Hello,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.
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.
However, it might be possible to implement this directly.
pgpJr91DeoTpU.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users