Assuming you have some sort of pattern to your virtual ID's, you could write your own auth module to call authpam and then generate the required path info programatically
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jon > Nelson > Sent: March 25, 2003 3:13 PM > Cc: [EMAIL PROTECTED] > Subject: Re: [courier-users] courier-imap: radius via authpam and no > /etc/passwd users > > > Martin. > The RADIUS part can be accomplished via PAM (via authpam in authdaemon). > However, I think you are right about the rest of the user's information > (UID, Homedir, etc...) having to be located via NSS (not technically > /etc/passwd, but NSS, at least on Linux). Now. If you want your users > to be completely virtual, you'll probably want to use authmysql or more > likely authuserdb, and read the docs at > http://www.inter7.com/courierimap/authlib.html > > I don't /think/ you can combine authentication via PAM but get the > other stuff via authuserdb. Somebody please correct me on this if I'm > wrong. > > On Mon, 24 Mar 2003, Martin A. Brown wrote: > > > Hello, > > > > I would like to use the authpam authentication module in a new > > configuration. I'll get a yes/no from my Radius server, but I'd prefer > > not to have my users in /etc/passwd (or NIS/LDAP for that matter). Users > > should be completely virtual, in the manner of authuserdb or authvchkpw. > > > > Snipped from http://www.inter7.com/courierimap/authlib.html, the paragraph > > below, is a summary of the behaviour from authpam I would like to > > circumvent with a separate virtual domain configuration. > > > > Note, however, that the authenticated account's home > > directory userid and groupid are still read from the > > /etc/passwd file, since PAM functionality is limited > > to validating account passwords. > > > > Does anybody have a recommendation for how I could arrange this sort of > > configuration? > > > > Thank you, > > > > -Martin > > > > -- > > Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED] > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > courier-users mailing list > > [EMAIL PROTECTED] > > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > > > > > > -- > Applying computer technology is simply finding the right wrench to > pound in the correct screw. > > Jon Nelson <[EMAIL PROTECTED]> > C and Python Code Gardener > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
