From owner-freebsd-stable Wed Jan 27 08:37:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06375 for freebsd-stable-outgoing; Wed, 27 Jan 1999 08:37:08 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA06362 for ; Wed, 27 Jan 1999 08:37:02 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (tiburon [158.227.6.111]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id RAA17369; Wed, 27 Jan 1999 17:23:05 +0100 (MET) Message-ID: <36AF3D68.417FACC4@we.lc.ehu.es> Date: Wed, 27 Jan 1999 17:23:04 +0100 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dept. de Electricidad y Electronica X-Mailer: Mozilla 4.07 [en] (X11; U; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: Chris Stenton CC: Matt Behrens , John Fieber , stable@FreeBSD.ORG Subject: Re: old version of PAM in 3.0-stable stopping Samba working? References: <199901271414.OAA00492@hawk.gnome.co.uk> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Stenton wrote: > > Well John you are the only person I know who has got it working straight out of > the box on a 3.0 machine! If the security level is share and the shared > directories have public access then all is fine. Any security control that > needs password checking and you get the module errors as stated. > I have just found the same problem with Samba 2.0 and FreeBSD 3.0. I sent a message to freebsd-ports. I have recompiled Samba disabling the PAM support, and now it works. First, I started the "make" from the Samba port directory; just after running "configure", I stopped the make, and then I edited source/Makefile for removing "-lpam" from LDFLAGS. Also, I edited source/include/config.h, searching for macros including "PAM" as part of their name (two), and #undef'ing them. Then, I went back to the Samba port directory, and typed "make" again, resuming the compilation (actually, starting it). The so built samba daemons do not use PAM at all, and authentication now works (SWAT also works). -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electrónica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-944858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message