From owner-freebsd-questions Fri Jun 23 7:13:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from huron.dnepr.net.ua (huron.dnepr.net.ua [195.248.180.242]) by hub.freebsd.org (Postfix) with ESMTP id 1D47F37C357; Fri, 23 Jun 2000 07:13:00 -0700 (PDT) (envelope-from white@onyx.extra.dp.ua) Received: from onyx.extra.dp.ua (mtty0.dnepr.net.ua [195.248.180.66]) by huron.dnepr.net.ua (8.10.1/8.10.1g/) with ESMTP id e5NEF0D61113; Fri, 23 Jun 2000 17:15:01 +0300 (EEST) Received: (from white@localhost) by onyx.extra.dp.ua (8.10.0/8.10.0/Who.Cares) id e5NEC3C12718; Fri, 23 Jun 2000 17:12:03 +0300 (EET DST) Date: Fri, 23 Jun 2000 17:12:03 +0300 From: Alexander Prohorenko To: Bjoern Fischer Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, ingo@blank.pages.de Subject: Re: Apache with PAM/RADIUS authentication Message-ID: <20000623171203.B12018@extra.dp.ua> References: <20000623115743.A5030@extra.dp.ua> <20000623154409.A250@broccoli.no-support.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000623154409.A250@broccoli.no-support.loc>; from bfischer@Techfak.uni-bielefeld.de on Fri, Jun 23, 2000 at 03:44:09PM +0200 Organization: Extra Solutions X-Operating-System: SunOS 5.7 i86pc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 23, 2000 at 03:44:09PM +0200, Bjoern Fischer wrote: > On Fri, Jun 23, 2000 at 11:57:43AM +0300, Alexander Prohorenko wrote: > > I hope to get some help here. I've got in troubles trying to run > > Apache PAM authentication module on FreeBSD. > [...] > > I've used PAM module from http://blank.pages.de/pam/ - mod_auth_pam.c > > and added it as DSO module using apxs. > > > > /usr/local/apache/conf/httpd.conf has: > > > > LoadModule pam_auth_module libexec/mod_auth_pam.so > > AddModule mod_auth_pam.c > [...] > > Jun 22 13:50:15 nwlynx dev-httpd: unable to dlopen(/usr/lib/pam_radius.so) > > Jun 22 13:50:15 nwlynx dev-httpd: [dlerror: /usr/lib/pam_radius.so: Undefined symbol "pam_get_item"] > [...] Bjoern, Thank you very much, Here they are: > Please show me the output of `objdump -p mod_auth_pam.so' and of white@nwlynx:/usr/local/apache-dev/libexec>objdump -p mod_auth_pam.so mod_auth_pam.so: file format elf32-i386 Program Header: LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 filesz 0x00001215 memsz 0x00001215 flags r-x LOAD off 0x00001218 vaddr 0x00002218 paddr 0x00002218 align 2**12 filesz 0x000001f8 memsz 0x000001f8 flags rw- DYNAMIC off 0x00001390 vaddr 0x00002390 paddr 0x00002390 align 2**2 filesz 0x00000080 memsz 0x00000080 flags rw- Dynamic Section: NEEDED libpam.so.1 INIT 0x78c FINI 0x1054 HASH 0x94 STRTAB 0x43c SYMTAB 0x1cc STRSZ 0x1c6 SYMENT 0x10 PLTGOT 0x230c PLTRELSZ 0xe8 PLTREL 0x11 JMPREL 0x6a4 REL 0x604 RELSZ 0xa0 RELENT 0x8 > `objdump -p ' and I will try to help you. white@nwlynx:/usr/local/apache-dev/bin>objdump -p httpd httpd: file format elf32-i386 Program Header: PHDR off 0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2 filesz 0x000000a0 memsz 0x000000a0 flags r-x INTERP off 0x000000d4 vaddr 0x080480d4 paddr 0x080480d4 align 2**0 filesz 0x00000019 memsz 0x00000019 flags r-- LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12 filesz 0x0004d4b5 memsz 0x0004d4b5 flags r-x LOAD off 0x0004d4b8 vaddr 0x080964b8 paddr 0x080964b8 align 2**12 filesz 0x00004644 memsz 0x00007c6c flags rw- DYNAMIC off 0x00051a6c vaddr 0x0809aa6c paddr 0x0809aa6c align 2**2 filesz 0x00000090 memsz 0x00000090 flags rw- Dynamic Section: NEEDED libcrypt.so.2 NEEDED libc.so.3 INIT 0x804dfc4 FINI 0x808c5e4 HASH 0x80480f0 STRTAB 0x804b7e8 SYMTAB 0x8049278 STRSZ 0x23ba SYMENT 0x10 DEBUG 0x0 PLTGOT 0x809a864 PLTRELSZ 0x3f8 PLTREL 0x11 JMPREL 0x804dbcc REL 0x804dba4 RELSZ 0x28 RELENT 0x8 Cheers, -- Alexander Prohorenko, Extra Solutions [ http://extra.com.ua ] "Those who do not understand UNIX are condemned to reinvent it, poorly." -- H. Spencer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message