From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 14:52:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 403E116A4B3 for ; Wed, 8 Oct 2003 14:52:58 -0700 (PDT) Received: from post3.inre.asu.edu (post3.inre.asu.edu [129.219.113.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7611043F85 for ; Wed, 8 Oct 2003 14:52:57 -0700 (PDT) (envelope-from tony.pagliocco@asu.edu) Received: from conversion.post3.inre.asu.edu by asu.edu (PMDF V6.1-1X6 #30769) id <0HMG00B01I61OU@asu.edu> for freebsd-questions@freebsd.org; Wed, 08 Oct 2003 13:56:25 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) <0HMG00A4MI5ZR2@asu.edu>; Wed, 08 Oct 2003 13:56:24 -0700 (MST) Received: from asu.edu ([149.169.53.46]) (8.12.10/8.12.10/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id h98KuLS8028920; Wed, 08 Oct 2003 13:56:21 -0700 (MST) Date: Wed, 08 Oct 2003 13:56:27 -0400 From: Tony Pagliocco In-reply-to: <3F8477E7.3020405@relia.net> To: joe@joe-lewis.com Message-id: <3F844FCB.6010805@asu.edu> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 References: <20031005020513.C45148-100000@skywalker.rogness.net> <3F8477E7.3020405@relia.net> cc: freebsd-questions@freebsd.org Subject: Re: Anyone using Linux-PAM on 5.x? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 21:52:58 -0000 Joe Lewis wrote: > Hello, all; > > I would like to take a moment of your time. I was having some heavy > frustrations on preparing a FreeBSD 5.1 server for handling centrally > located accounts using OpenPAM, particularly due to my inability to > locate good documentation on it. I found that the problems : > > Oct 5 13:04:15 sharktooth login: in openpam_load_module(): no > pam_mysql.so found > Oct 5 13:04:15 sharktooth login: pam_start(): failed to load module > > Were NOT due to the misplacement of the module. Proper permissions > were in place. The concerns I had were resolved when the following > individuals (many, many, many thanks to these guru's) : > > Kris Kennaway > Mikko Työläjärvi > Nick Rogness > > Gave me pointers, advice, and properly illustrated what the problem > was. For the archives sake, I am posting the results of that hassle > here. The first of the problems were based on the fact that I was > trying to port pam_mysql. This was failing because the mysqlclient > library wasn't being located when the pam libraries were loaded. > There had to be an -R/usr/local/lib/mysql added to the > compilation/linker commands. > > Then I ran into the errors : > > Oct 6 19:22:09 sharktooth login: in openpam_dispatch(): pam_mysql.c: > no pam_sm_authenticate() > Oct 6 19:22:09 sharktooth login: in openpam_dispatch(): pam_mysql.c: > no pam_sm_setcred() > > The functions were defined properly, and I used a number of different > methods. That's when I was pointed to the Makefile as the problem. > The end result switched from using ld as the linker to libtool. There > are still bugs to work out, but the module is beginning to function. > > Again, I offer a sincere thanks to those individuals listed above for > their responses. > > Joe Lewis > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" god i cant get off this no matter how much i try....pls someone help me lol