Subject: Re: xsrc/32603 (xdm w/ pam_krb5 fails to store tickets)
To: None <gnats-bugs@netbsd.org, xsrc-manager@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 01/23/2006 14:47:42
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);
            }