Re: pam_unix and missing function warnings

2002-04-19 Thread Matthew N. Dodd
On 18 Apr 2002, Dag-Erling Smorgrav wrote: > Try the attached patch. You'll need to rebuild libutil and restart > sshd. Works. Thanks. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | [EMAIL PROTECTED] | 2 x '84 Volvo 245DL| ix86,sparc,pmax | | http

Re: pam_unix and missing function warnings

2002-04-18 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > Yep, the problem seems to be that sshd calls pam_open_session(3) too > early. I'm looking into it right now. Try the attached patch. You'll need to rebuild libutil and restart sshd. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] --- //depot

Re: pam_unix and missing function warnings

2002-04-18 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > "Matthew N. Dodd" <[EMAIL PROTECTED]> writes: > > If not pam_unix, what module is responsible for updating utmp? > pam_lastlog(8) (though there seems to be a problem with sshd) Yep, the problem seems to be that sshd calls pam_open_session(3) too e

Re: pam_unix and missing function warnings

2002-04-18 Thread Dag-Erling Smorgrav
"Matthew N. Dodd" <[EMAIL PROTECTED]> writes: > If not pam_unix, what module is responsible for updating utmp? pam_lastlog(8) (though there seems to be a problem with sshd) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-c

Re: pam_unix and missing function warnings

2002-04-18 Thread Matthew N. Dodd
On 18 Apr 2002, Dag-Erling Smorgrav wrote: > 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/pa

Re: pam_unix and missing function warnings

2002-04-18 Thread Dag-Erling Smorgrav
Bill Fenner <[EMAIL PROTECTED]> 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 open