Subject: Re: pkg/28905: samba won't build and
To: None <pkgsrc-bugs@NetBSD.org>
From: Tom Weissmann <trmsw@yahoo.co.uk>
List: pkgsrc-bugs
Date: 10/04/2005 10:27:58
<htodd <at> twofifty.com> writes:
> nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first
use in this function)
I had the same problem, and discovered that sometimes PAM_AUTHTOK_RECOVER_ERR is
used, sometimes PAM_AUTHTOK_RECOVERY_ERR. A temporary fix is to edit /usr/pkg/
include/security/_pam_types.h:
[...]
#define PAM_AUTHTOK_RECOVER_ERR 21 /* Authentication information */
/* cannot be recovered */
#define PAM_AUTHTOK_RECOVERY_ERR 21 /* Add this doppelganger to build samba */
It's not a real solution but it might help.
Regards,
TSW