From owner-freebsd-security Wed Nov 13 3:59:16 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCC1B37B401 for ; Wed, 13 Nov 2002 03:59:13 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBE7143E75 for ; Wed, 13 Nov 2002 03:59:09 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id gADBx45V093948 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 13 Nov 2002 13:59:04 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id gADBx4Hd093943; Wed, 13 Nov 2002 13:59:04 +0200 (EET) Date: Wed, 13 Nov 2002 13:59:04 +0200 From: Ruslan Ermilov To: Peter Pentchev Cc: "Alexandru G. Efrosi" <_ae@registru.md>, security@FreeBSD.ORG Subject: Re: pam_radius Message-ID: <20021113115904.GA93213@sunbay.com> References: <20021113130554.2551bd23._ae@registru.md> <20021113113744.GB86564@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <20021113113744.GB86564@straylight.oblivion.bg> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 13, 2002 at 01:37:44PM +0200, Peter Pentchev wrote: > On Wed, Nov 13, 2002 at 01:05:54PM +0200, Alexandru G. Efrosi wrote: > > Hi! > >=20 > > I set accounting trough PAM to a remote RADIUS server with pam_radius.s= o in that way: > > login account required pam_radius.so > > and I receive an error in auth.log > > login: unable to resolve symbol: pam_sm_acct_mgmt > >=20 > > But, with this error, authentication works fine. Why accounting does't = work? > > System used: FreeBSD 4.7-STABLE #0: Mon Nov 11 15:37:23 EET 2002 >=20 > The pam_radius module does not implement accounting at all. > This can be seen from the error message itself - the PAM system > complains that it could not find the pam_sm_acct_mgmt symbol (function) > within the pam_radius shared library. A quick look at > src/lib/libpam/modules/pam_radius/pam_radius.c shows that, indeed, it > only defines 'auth' and 'setcred' request handlers. >=20 For the record. What a given module provides is declared by PAM_SM_* defines, before inclusion of . Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE90j6IUkv4P6juNwoRAuQIAJ4kILTnSRJjqJQBrz16HKDMF5wWnQCeOvJY l+kBtX71TaPF/F4N1Nv7WFo= =sMVH -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message