From owner-cvs-all Wed Nov 11 18:58:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11785 for cvs-all-outgoing; Wed, 11 Nov 1998 18:58:33 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11773 for ; Wed, 11 Nov 1998 18:58:31 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id SAA18887; Wed, 11 Nov 1998 18:58:11 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id SAA17738; Wed, 11 Nov 1998 18:58:10 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 11 Nov 1998 18:58:10 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: John Fieber Subject: Re: cvs commit: src/usr.bin/login Makefile login.c Cc: cvs-committers@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On 11-Nov-98 John Fieber wrote: > Some time back I was hunting for some PAM modules for Solaris and > I discovered a variety of gratuitious differences between the > Solaris and Linux PAM APIs. I didn't dig into who was at fault > for these differences but am now wondering which FreeBSD's PAM be > most compatible with (if either, or both). The PAM I'm bringing in is Linux PAM, ported to FreeBSD and contribified, with significant portions (e.g., all the modules) left unused. The modules tend not to port too well, due to system dependencies. In my experience, they also tend to have the worst code. I suppose that's because somebody hacked each one out to scratch some immediate itch. There are some ifdefs in the include files that seem to attempt to deal with the Solaris differences. I can't say how effective they are. Since any free modules we find in source form are likely to be for Linux rather than Solaris, I think that's the better API to use if there are significant differences. Note, we can expect most foreign modules are going to require some porting regardless. Most (but not all) authentication-related code tends to depend on system-specific things. John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message