From owner-freebsd-stable Tue Jan 26 09:11:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA02260 for freebsd-stable-outgoing; Tue, 26 Jan 1999 09:11:23 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from megaweapon.zigg.com (megaweapon.zigg.com [206.114.60.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA02251 for ; Tue, 26 Jan 1999 09:11:20 -0800 (PST) (envelope-from matt@zigg.com) Received: from localhost (matt@localhost) by megaweapon.zigg.com (8.9.2/8.9.2) with ESMTP id MAA16003; Tue, 26 Jan 1999 12:07:26 -0500 (EST) (envelope-from matt@zigg.com) Date: Tue, 26 Jan 1999 12:07:25 -0500 (EST) From: Matt Behrens To: Chris Stenton cc: stable@FreeBSD.ORG Subject: Re: old version of PAM in 3.0-stable stopping Samba working? In-Reply-To: <199901261213.MAA00870@hawk.gnome.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It looks to me that PAM isn't quite "Linux-compatible", and Samba was definitely written for Linux PAM. I got around it by manually editing the Makefile and include/config.h after configure, commenting or removing anything that mentioned PAM. Unfortunately, the configure script doesn't seem to have a handy --disable-pam option. :) On Tue, 26 Jan 1999, Chris Stenton wrote: : I have been trying for the last day or so to get samba 2.00 to work with 3.0 : stable. It appears to me that the PAM code has come straight out of Linux but : has not been kept upto date. From the samba documentation you should have : entries of the form. : : : : samba auth required pam_pwdb.so nullok shadow : samba account required pam_pwdb.so : : in /etc/pam.conf. However, as pam_pwdb.so does not exist in the FreeBSD : implementation the above can't be used. I tried : : samba auth requisite pam_cleartext_pass_ok.so : samba auth required pam_unix.so try_first_pass : samba account requisite pam_cleartext_pass_ok.so : samba account required pam_unix.so try_first_pass : : but all I got was an unresolved symbol error for pam_sm_acct_mgmt from the pam : library. : : Is the PAM library out of date or am I doing something wrong? - Matt Behrens Network Administrator, zigg.com Engineer, Nameless IRC Network To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message