The Samba-Bugzilla – Bug 261
Patch to pam_winbind.h to compile on FreeBSD
Last modified: 2005-11-14 09:27:23 UTC
FreeBSD (5.1 at least) is among the operating systems that spell
PAM_AUTHTOK_RECOVER_ERR with a "Y". A simple patch is required to compile with
Created attachment 61 [details]
Patch to compile winbindd on FreeBSD 5.1
Chris, did you change any other files to get winbindd to compile? According to
the version in CVS winbindd (and pam_winbind.so) is only compiled if the host os
is one of linux, irix, solaris, hpux or aix.
I ran configure --with-winbind. If I understand correctly, and somewhat
contrary to the old documentation, winbindd is now used for allocating RIDs in
an LDAP environment, and not just for authenticating against a Windows DC.
There is a "WITH_WINBIND" option in the FreeBSD port Makefile for samba-devel,
so at least at one point, someone expected it to work.
OK. I'll add freebsd to the list of supported operating systems so winbindd is
can we mark this as fixed now?
As far as I can tell, this patch never made it in.
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:309: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use in this
*** Error code 1
Sorry, I had only half fixed this one. I was having trouble with the build farm
scripts and got distracted by something else. )-:
I've checked in your patch, just waiting for the build farm to catch up.
Finally I think this is fixed!
originally reported against 3.0.0beta3. CLeaning out
non-production release versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.