On Mon, Mar 13, 2006 at 06:21:19PM +0100, Pablo Martn-Portugus wrote: > Thanks for your recomendations Brian. > I was already using it, but the output doesn't help in that case as you > can see. ... > Mar 13 19:08:07 jerte2 authdaemond: authpam: trying this module > Mar 13 19:08:07 jerte2 authdaemond: authpam: username 'test' not found > in password file
That's your error, and I think it's pretty clear. The authpam module needs two things: 1. a source of information to get the HOMEDIR, UID and GID from; it does this using the getpwnam() function, which typically looks in the Unix password file, although it may be configured differently (e.g. using nsswitch.conf). See preauthpam.c 2. PAM to validate the password If the username does not exist in (1), then it doesn't bother trying to validate the password in (2). It would be a pointless exercise. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
