From owner-freebsd-security Wed Nov 13 3:38:34 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 501EB37B401 for ; Wed, 13 Nov 2002 03:38:32 -0800 (PST) Received: from straylight.ringlet.net (office.sbnd.net [217.75.140.130]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FF7B43E75 for ; Wed, 13 Nov 2002 03:38:28 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 87412 invoked by uid 1000); 13 Nov 2002 11:37:44 -0000 Date: Wed, 13 Nov 2002 13:37:44 +0200 From: Peter Pentchev To: "Alexandru G. Efrosi" <_ae@registru.md> Cc: security@freebsd.org Subject: Re: pam_radius Message-ID: <20021113113744.GB86564@straylight.oblivion.bg> Mail-Followup-To: "Alexandru G. Efrosi" <_ae@registru.md>, security@freebsd.org References: <20021113130554.2551bd23._ae@registru.md> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20021113130554.2551bd23._ae@registru.md> 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 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.so = 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 wo= rk? > System used: FreeBSD 4.7-STABLE #0: Mon Nov 11 15:37:23 EET 2002 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. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If there were no counterfactuals, this sentence would not have been paradox= ical. --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE90jmI7Ri2jRYZRVMRApPsAJ9NSrbhMknJlgXtla434YLwxdmRMwCfZEP+ 0KinEPhetND4GRHQAGAZahE= =fjCT -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message