Subject: Re: samba woes
To: Perry E. Metzger <perry@piermont.com>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 01/08/2005 21:03:43
On Sat, Jan 08, 2005 at 11:34:00AM -0800, Jason Thorpe wrote:
> 
> On Jan 8, 2005, at 10:33 AM, Perry E. Metzger wrote:
> 
> >Samba is broken in netbsd-current. I suspect this has something to do
> >with the recent PAM changes.
> >
> >Any ideas on how to fix this? It is keeping me from rebuilding gnome.
> 
> There should be a way to force disabling use of PAM.  That's what you 
> should do, for now.  Check the pkgsrc Makefile and the prefs makefile 
> for Samba.

Until NetBSD-current's PAM implementation is known to work, it would
be better to disable the PAM support in Samba.  You can do this with:

	PKG_OPTIONS.samba=	${PKG_DEFAULT_OPTIONS} -PAM

Alternatively, you could try forcing the use of the Linux-PAM package
by setting:

	PREFER_PKGSRC+=		pam

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>