Configure with option --with-pam fails in nsswitch/pam_winbind.c. There are many missed defines like PAM_SUCCESS. I put the header <security/_pam_types.h> in compiled, and it works. System: SuSE Linux 8.2 installed pam-devel v0.77
Is the bug that you tried to compile with pam without the pam-devel package installed?
assigning to me
I've checked in some changes to configure.in so that an error is produced if you specify --with-pam but do not have any pam header files. This is actully something I've been meaning to do for a while!
on suse 8.2 with installed pam-devel.rpm it has never been a problem to compile --with-pam for me.
Sorry, I meant --with-pam_smbpass. Here's my configure-line: ./configure --prefix=/usr --sysconfdir=/etc --without-ldap --with-smbmout -- with-automount --with-pam_smbpass --with-pam --with-configdir=/etc/samba --with- privatedir=/etc/samba/private --with-logfilebase=/var/log/samba First, I start compile without pam-devel installed. Then I got an error earlier than pam_winbind.c, I can't remember, in which module it happens. So I installed the pam-devel-package and start compile. It works good till I get the message in pam_winbind. I put the header-file _pam_types.h on top of the source and it works. This was my solution. Greetings Mike
Updated summary, reassign to me.
The security/pam_appl.h file on SUSE 8.2 should include security/_pam_types.h so you shouldn't need to edit the sources. Did you re-run configure after installing the pam-devel package? Try doing 'make distclean' and re-running configure.
no feedback in several months. Closing out.
originally reported against one of the 3.0.0rc[1-4] releases. Cleaning up non-production versions.
database cleanup