Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 09:10:05 +0200
From:      Koos de Haan <sdehaan@caiw.nl>
To:        John Polstra <jdp@polstra.com>
Cc:        stable@freebsd.org
Subject:   Re: missing lib crypt in pam_unix.so ?
Message-ID:  <v03130300b418b420514c@192.168.8.115>
In-Reply-To: <199909280000.RAA10546@vashon.polstra.com>
References:  <v03130301b414d71ff3a5@192.168.8.115> <v03130301b414d71ff3a5@192.168.8.115>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Sorry for the late reaction, i was ill for some days.

I was testing gnu_pop3d whit the pam_unix module.

You can find gnu-pop3d at : http://www.nodomainname.net/software/gnu-pop3d.shtml
 
This is what it logs in /var/log/maillog without the libcrypt :

Sep 30 09:05:11 solomon gnu-pop3d[317]: Incoming connection opened
Sep 30 09:05:11 solomon gnu-pop3d[317]: unable to dlopen(/usr/lib/pam_unix.so)
Sep 30 09:05:11 solomon gnu-pop3d[317]: [dlerror: /usr/lib/pam_unix.so: Undefine
d symbol "crypt"]
Sep 30 09:05:11 solomon gnu-pop3d[317]: adding faulty module: /usr/lib/pam_unix.
so
Sep 30 09:05:12 solomon gnu-pop3d[317]: Socket closed

However, when i compile gnu-pop3d with -lcrypt the problem is also resolved.

I can't say wheter the pam module or the application is responsible for loading the library.

Thanks for the answers so far,


Regards,


Koos de Haan 


Op 02:00 +0200 28-09-1999, John Polstra schreef:

> In article <v03130301b414d71ff3a5@192.168.8.115>,
> Koos de Haan  <sdehaan@caiw.nl> wrote:
> > 
> > The default Makefile of pam_unix.so 'src/lib/libpam/modules/pam_unix/Makefile'
> > doesn't include the crypt library. As a result the pam module isn't working.
> > 
> > When i put add -lcrypt to the LDADD line the module workes fine.
> > 
> > Is this done on purpose or is it a bug in the makefile ?
> 
> I looks like a bug to me.  But it shouldn't show up for login, because
> the program itself loads libcrypt.  Are you using the pam_unix module
> with some other program?
> 
> John
> -- 
>   John Polstra                                               jdp@polstra.com
>   John D. Polstra & Co., Inc.                        Seattle, Washington USA
>   "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


-
--

Kabelfoon BV
Industriestraat 30, Postbus 45, 2670 AA  NAALDWIJK
Tel. 0174-640269, fax 0174-623860
e-mail info@kabelfoon.nl voor informatie, kabelfoon@kabelfoon.nl voor abonnementszaken, help@kabelfoon.nl voor de helpdesk
Zie http://www.kabelfoon.nl/pgp/ voor Kabelfoon public keys




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03130300b418b420514c>