Subject: Re: pkg/28905: samba won't build and
To: None <,,>
From: Tom Weissmann <>
List: pkgsrc-bugs
Date: 10/04/2005 11:02:02
The following reply was made to PR pkg/28905; it has been noted by GNATS.

From: Tom Weissmann <>
Subject: Re: pkg/28905: samba won't build and
Date: Tue, 4 Oct 2005 10:27:58 +0000 (UTC)

  <htodd <at>> 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/
 #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.