From owner-freebsd-current Thu Apr 18 8:39:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 77F8837B417 for ; Thu, 18 Apr 2002 08:39:10 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 368C05309; Thu, 18 Apr 2002 17:39:08 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bill Fenner Cc: current@freebsd.org Subject: Re: pam_unix and missing function warnings References: <200204181500.IAA12591@windsor.research.att.com> From: Dag-Erling Smorgrav Date: 18 Apr 2002 17:39:07 +0200 In-Reply-To: <200204181500.IAA12591@windsor.research.att.com> Message-ID: Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bill Fenner writes: > Part of the commit log for rev 1.32 of pam_unix.c says: > > - remove dummy functions since OpenPAM handles missing service > functions > > However, OpenPAM is noisy about handling missing service functions: > > Apr 17 11:21:31 stash login: in openpam_dispatch(): pam_unix.so: no pam_sm_open_session() > Apr 17 21:18:33 stash login: in openpam_dispatch(): pam_unix.so: no pam_sm_close_session() > > so perhaps the stubs should go back, or OpenPAM should learn to be less > noisy about the missing functions? Actually, the bug is in the PAM configuration files that list pam_unix as a "session" module while pam_unix doesn't provide session management services. PAM is correct in whining about that. The solution is to remove lines like this from /etc/pam.d/*: session required pam_unix.so DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message