I found today that compiling vpopmail with:

        --disable-md5-passwords

Seems to fixed the problem.

After doing this, my existing authlib build worked.  I'm not sure where the
crash was, but for now using DES for passwords has resolved my issue.

-----Original Message-----

Authvchkpw, with debugging set to 2 in authdaemonrc I get logging to syslog.

After the information output (sysusername=, homedir=, etc.)

The next line is LOGIN FAILED followed by:

        stopping authdaemond children
        restarting authdaemond children
        modules="authvchkpw", daemons=5
        Uninstalling authvchkpw
        Installing authvchkpw
        Installation complete: authvchkpw

I have run a truss on both a single Daemon instance and the authtest execution.

The daemon appears to be crashing and restarting for some reason then the
authtest instance errors.

Mark


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam
Varshavchik
Sent: Tuesday, May 10, 2005 11:10 AM
To: [email protected]
Subject: Re: [courier-users] Solaris authlib problems


Mark Hatch writes:

> Solaris authlib problems  
> 
> Hello, 
> 
> I'm interested to know if anyone has experienced the issues I am seeing or 
> knows a workaround. 
> 
> I have build authlib on Sparc/Solaris 2.9 using gcc and the GNU ld and 
> have installed all dependancies 
> that I am aware of. 
> 
> The build works with some compiler flags: 
> 
> ÂÂÂÂÂÂÂ CC="gcc" 
> ÂÂÂÂÂÂÂ CXX="gcc" 
> ÂÂÂÂÂÂÂ CFLAGS="-lstdc++" 
> ÂÂÂÂÂÂÂ CXXFLAGS="-lstdc++" 
> ÂÂÂÂÂÂÂ PATH="$PATH:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin" 
> ÂÂÂÂÂÂÂ export CC CXX CFLAGS CXXFLAGS PATH 
> 
> I had to rename /usr/ccs/bin/ld to /usr/ccs/bin/ld.wait for the GNU ld to 
> be used. 
> 
> When I run authtest without a password the correct information is 
> reported. 
> 
> When I run authtest and attempt to authenticate I get an error: 
> 
> ÂÂÂÂÂÂÂ Authentication failed: I/O Error. 
> 
> I am unable to find any solution to this, any help would be appreciated. 

You need to determine which authentication modules you are using.  There's a 
DEBUG setting in authdaemonrc that turns up debugging messages to syslog.

Reply via email to