Ralph Doncaster writes: > I did a lot of digging through the source for courier and pam and libc > trying to figure out where things can be tuned. I even considered writing > a pam_shadow_lite that mmap's the /etc/shadow and /etc/passwd files > instead of using fopen/fclose, etc. I realized that this won't work with > the current courier, since the authpam code still uses libc getpwnam (in > the preauthpam.c). This was a bit of a surprise, considering the > documentation strongly discourages against using authshadow (which uses > getpwnam). Am I missing something here?
passwd/shadow begins to break down when the user count begins climbing into thousands. At which point you'll need to consider switching over to LDAP or MySQL. authdaemond only helps with database-based modules, such as authpam and authmysql, since it will allow database connections to be kept persistent. You can try upping the number of authdaemond processes as the first step, to determine whether your real problem is that you simply don't have enough authdaemond processes to keep up with the authentication requests. > > -Ralph > > > _______________________________________________ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- Sam _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
