Since version 2.0.4 afpd won't authenticate users through PAM. For details, see: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=403710+0+archive/2010/freebsd-ports/20100221.freebsd-ports Problem seems to be afpd is not linked against libpam. Fix: Dirty fix: cd /usr/ports/net/netatalk make configure ${EDITOR} work/netatalk-2.1.5/etc/afpd/Makefile Change: afpd$(EXEEXT): $(afpd_OBJECTS) $(afpd_DEPENDENCIES) @rm -f afpd$(EXEEXT) $(afpd_LINK) $(afpd_OBJECTS) $(afpd_LDADD) $(LIBS) To: afpd$(EXEEXT): $(afpd_OBJECTS) $(afpd_DEPENDENCIES) @rm -f afpd$(EXEEXT) $(afpd_LINK) $(afpd_OBJECTS) $(afpd_LDADD) $(LIBS) -lpam ^^^^^ Proceed with make, make install, etc... Of course there must be some more elegant solution, but I'm not that expert... How-To-Repeat: Compile net/netatalk with PAM knob; set up afpd to authenticate via pam_smb. See authentication fail.
Responsible Changed From-To: freebsd-ports-bugs->marcus Fix synopsis and assign.
marcus 2011-05-08 23:08:21 UTC FreeBSD ports repository Modified files: net/netatalk Makefile Added files: net/netatalk/files patch-etc_apfd_Makefile.in Log: Fix linkage when PAM support is enabled. This isn't on by default, but I think it's a common enough option that I'm bumping PORTREVISION. PR: 156336 Revision Changes Path 1.95 +1 -0 ports/net/netatalk/Makefile 1.1 +11 -0 ports/net/netatalk/files/patch-etc_apfd_Makefile.in (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed. Thanks for reporting.