netatalk 2.0.4 breaks PAM?

Joe Marcus Clarke marcus at FreeBSD.org
Sat Jul 25 20:34:21 UTC 2009


On Sat, 2009-07-25 at 18:54 +0200, Andrea Venturoli wrote:
> Hello.
> I'm using afpd on a 6.3/i386 and I make it authenticate to pam_smb.
> Everything was fine with 2.0.3.
> 
> As soon as I upgraded to 2.0.4, I started getting:
> 
> Jul 13 09:28:38 xxxxx afpd[89271]: dhx login: yyyyyyy
> Jul 13 09:28:38 xxxxx afpd[89271]: in openpam_load_module(): no
> /usr/local/lib/pam_smb_auth.so found
> Jul 13 09:28:38 xxxxx afpd[89271]: uams_dhx_pam.c :PAM: PAM_Error:
> system error
> Jul 13 09:28:38 xxxxx afpd[89271]: 0.18KB read, 0.12KB written
> 
> I swear /usr/local/lib/pam_smb_auth.so is there and working, since many
> other packages are using it the same way.

This error means there was a problem loading the module.  This most
likely means a symbol could not be resolved.  If you rebuild OpenPAM
with -DOPENPAM_DEBUG, you will get more diagnostics as to exactly why
this is failing to load.  To do that, add -DOPENPAM_DEBUG to the CFLAGS
in /usr/src/lib/libpam/libpam/Makefile.

Joe

> 
> Since this is a production environment, I had to downgrade to 2.0.3 as
> fast as possible; everything worked fine again since then.
> 
> 
> Not sure if this is a FreeBSD port's specific problem, but I thought I'd
> start here.
> 
> 
>   bye & Thanks
> 	av.
> 
> 
> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090725/c1db35fa/attachment.pgp


More information about the freebsd-ports mailing list