Bug 392 - Compile failed with option --with-pam_smbpass
Summary: Compile failed with option --with-pam_smbpass
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 11:52 UTC by Mike Greubel
Modified: 2005-11-14 09:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Greubel 2003-09-02 11:52:33 UTC
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
Comment 1 Tim Potter 2003-09-02 20:00:17 UTC
Is the bug that you tried to compile with pam without the pam-devel package
installed?

Comment 2 Tim Potter 2003-09-02 20:01:01 UTC
assigning to me
Comment 3 Tim Potter 2003-09-02 21:04:12 UTC
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!
Comment 4 Guenther Deschner 2003-09-03 07:13:26 UTC
on suse 8.2 with installed pam-devel.rpm it has never been a problem to compile
--with-pam for me.
Comment 5 Mike Greubel 2003-09-03 09:11:38 UTC
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
Comment 6 Tim Potter 2003-09-03 16:59:25 UTC
Updated summary, reassign to me.
Comment 7 Tim Potter 2003-09-03 19:29:50 UTC
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.
Comment 8 Gerald (Jerry) Carter (dead mail address) 2004-03-12 07:05:56 UTC
no feedback in several months.  Closing out.
Comment 9 Gerald (Jerry) Carter (dead mail address) 2005-02-07 09:06:19 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 10 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:25:44 UTC
database cleanup