Bug 32990

Summary: -stable pam.conf does not work for GDM
Product: Base System Reporter: Joe Marcus Clarke <marcus>
Component: confAssignee: Maxim Sobolev <sobomax>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
pam.conf.diff none

Description Joe Marcus Clarke 2001-12-18 22:40:00 UTC
	When logging in through GDM after cvsup'ing to the latest -stable, I get
the following errors:

dlerror: Cannot open "/usr/lib/pam_nologin.so"
unable to resolve symbol: pam_sm_open_session

How-To-Repeat: 	cvsup to -stable, and try to login via GDM.
Comment 1 ru freebsd_committer freebsd_triage 2001-12-19 08:56:43 UTC
Responsible Changed
From-To: freebsd-bugs->sobomax

Maxim MFC'ed this stuff without MFC'ing the necessary PAM modules.
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2001-12-19 09:21:35 UTC
Marcus,

Could you please test attached patch against recent 4-STABLE sources
and let me know if it works or not, because I do not currently have a
-STABLE system with XFree/GNOME to test this on.

Thanks!

-Maxim
Comment 3 Joe Marcus Clarke 2001-12-19 15:50:51 UTC
Maxim, this won't work.  My patch that set session to pam_permit is
required.  If you pam_deny the session, you immediately get returned to
GDM after logging in.

Also, have you had a chance to look at ports/32840?

Thanks!

Joe

On Wed, 19 Dec 2001, Maxim Sobolev wrote:

> Marcus,
>
> Could you please test attached patch against recent 4-STABLE sources
> and let me know if it works or not, because I do not currently have a
> -STABLE system with XFree/GNOME to test this on.
>
> Thanks!
>
> -Maxim
Comment 4 Maxim Sobolev freebsd_committer freebsd_triage 2001-12-19 16:48:12 UTC
State Changed
From-To: open->closed

Submitter confirms that the problem has been fixed in rev.1.6.2.13 of 
src/etc/pam.conf. 

Thank you for submission!