Subject: Re: xsrc/32603 (xdm w/ pam_krb5 fails to store tickets)
To: None <christos@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 01/23/2006 19:50:02
The following reply was made to PR xsrc/32603; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, xsrc-manager@netbsd.org,
	netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, tron@netbsd.org,
	tsarna@sarna.org
Cc: 
Subject: Re: xsrc/32603 (xdm w/ pam_krb5 fails to store tickets)
Date: Mon, 23 Jan 2006 14:47:42 -0500

 On Jan 23,  6:59pm, tron@netbsd.org (tron@netbsd.org) wrote:
 -- Subject: Re: xsrc/32603 (xdm w/ pam_krb5 fails to store tickets)
 
 | Synopsis: xdm w/ pam_krb5 fails to store tickets
 | 
 | Responsible-Changed-From-To: xsrc-manager->christos
 | Responsible-Changed-By: tron@netbsd.org
 | Responsible-Changed-When: Mon, 23 Jan 2006 18:59:31 +0000
 | Responsible-Changed-Why:
 | This looks like a side effect of the login context handling added recently.
 | Christos: would you please have a look?
 
 It appears that this code gets triggered (login class is not found)
 and we return early. Perhaps we should not return? Is that what you
 see in the logs?
 
         pwd = getpwnam(name);
         if (pwd) {      
             lc = login_getclass(pwd->pw_class);
             if (lc == NULL) {
                 LogError ("login_class for \"%s\" not found\n",
                     pwd->pw_class?pwd->pw_class:"default");
                 return (0);
             }