On 2014-03-04 01:03, Sam Varshavchik wrote: > Kristian Duus Østergaard writes: > >> I've seen the same with my courier-mta on Gentoo. What I found in >> my search but haven't had time to try out is that there's an old >> thread about not using libcrypt because it gives the above >> errors. On my installation I have the crypt USE-flag set on >> courier and I think it may be the cause of the problem.
That's very interesting. I do have libgrypt-1.5.3 installed, and looking on bugs.gentoo.org (https://bugs.gentoo.org/show_bug.cgi?id=501284) there seems to be something borked and flawed with all versions prior to 1.6. libcrypt-1.6 is hard masked, so I have not looked to unmask previously. I'll look at it. >> >> Maybe Bernt can elaborate on what exactly is triggered with the >> crypt USE-flag? >> >> Just a bunch of random thoughts. > > Yes, I recall that episode. crypt() was returning a null pointer. > What's happening is that the primary authentication module is not > one of the system authentication modules. It might be authpam, or > one of the database or ldap modules. When authentication requests > fail, this falls through to the next available authentication > module, authshadow or authpwd, which attempt to use crypt() which > fails and returns a null pointer. > > The easy way to fix this is to simply remove authshadow and authpwd > from the authmodulelist setting in the authdaemonrc configuration > file. They're broken, and they'll never work. > I have disabled all modules except mysql in authdaemonrc. Perhaps this will help. ~A ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users