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 winbindd enabled.
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.
accepted
Thanks! 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. http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/samba-devel/Makefile?rev=1.93&content-type=text/x-cvsweb-markup
OK. I'll add freebsd to the list of supported operating systems so winbindd is compiled automatically!
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 function) *** 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.
database cleanup