pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/28905: samba won't build and



 <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





Home | Main Index | Thread Index | Old Index