NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/37923: krb5 ccache unlinked when using xdm and pam



The following reply was made to PR misc/37923; it has been noted by GNATS.

From: Jukka Salmi <j+nbsd%2008.salmi.ch@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/37923: krb5 ccache unlinked when using xdm and pam
Date: Wed, 30 Jan 2008 15:37:42 +0100

 After installing a libpam built with DEBUG defined and passing the
 `debug' option to pam_krb5.so, logging in using login(1) results in
 [1]this log, and using xdm(1) in [2]this log. After adding some
 [3]additional printfs to pam_krb5.so, the logs look like [4]this for
 login(1) and like [5]this for xdm(1).
 
 I don't understand why the chown(2) in pam_sm_setcred() (pam_krb5.c
 rev. 1.21, line 565) fails if run by xdm(1).
 
 
 [1] http://salmi.ch/~jukka/nbsd/pam_krb5/login
 [2] http://salmi.ch/~jukka/nbsd/pam_krb5/xdm
 [3] http://salmi.ch/~jukka/nbsd/pam_krb5/pam_krb5_debug.diff
 [4] http://salmi.ch/~jukka/nbsd/pam_krb5/login.patched
 [5] http://salmi.ch/~jukka/nbsd/pam_krb5/xdm.patched
 
 -- 
 It's an odd coincidence that all the men whose skulls have been opened
 had a brain.
 
        Ludwig Wittgenstein
 



Home | Main Index | Thread Index | Old Index