Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-27 Thread Russ Allbery
david l goodrich writes: > Success! > Setting CONFIG_KEYS=y and rebuilding the kernel solved the > problem: > > d...@chaos:~$ id > uid=1000(dlg) gid=1000(dlg) groups=1000(dlg),1101353942 > d...@chaos:~$ tokens > > Tokens held by the Cache Manager: > > User's (AFS ID 1000) tokens for a...@dsrw.org

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-25 Thread david l goodrich
On Tue, Feb 24, 2009 at 09:08:57PM -0800, Russ Allbery wrote: > david l goodrich writes: > > > It's a custom kernel, because it's a Xen domU. Which probably invites > > all kinds of pain. But its config file is used in a different Xen domU, > > which works fine. I've attached it, I'm not very

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread Russ Allbery
david l goodrich writes: > It's a custom kernel, because it's a Xen domU. Which probably invites > all kinds of pain. But its config file is used in a different Xen domU, > which works fine. I've attached it, I'm not very adept at reading these > files. It works for me, so I just copy it to m

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread david l goodrich
On Tue, Feb 24, 2009 at 07:52:05PM -0800, Russ Allbery wrote: > david l goodrich writes: > > > Could it be my ssh config? I'm really grasping at straws, here. > > This bug report was sort of my last resort > > Given that the PAM module is being run, it shouldn't be. UsePAM being set > to no i

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread Russ Allbery
david l goodrich writes: > Could it be my ssh config? I'm really grasping at straws, here. > This bug report was sort of my last resort Given that the PAM module is being run, it shouldn't be. UsePAM being set to no is the only thing I can think of there, and clearly it's not. > Actually, th

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread david l goodrich
On Tue, Feb 24, 2009 at 07:11:01PM -0800, Russ Allbery wrote: > david l goodrich writes: > > On Tue, Feb 24, 2009 at 06:49:10PM -0800, Russ Allbery wrote: > > >> The extra high-numbered group won't necessarily show up, since PAGs are > >> really based on keyrings. If you run tokens, what is its

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread Russ Allbery
david l goodrich writes: > On Tue, Feb 24, 2009 at 06:49:10PM -0800, Russ Allbery wrote: >> The extra high-numbered group won't necessarily show up, since PAGs are >> really based on keyrings. If you run tokens, what is its output? > > oh, right, sorry. I am also running `tokens`. No dice. > d

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread david l goodrich
On Tue, Feb 24, 2009 at 06:49:10PM -0800, Russ Allbery wrote: > david l goodrich writes: > > > running `id`, and looking for something like this (copied from a working > > ubuntu box): > > d...@aether:~$ id > > uid=1000(dlg) gid=1000(dlg) groups=106(admin),1000(dlg),1104162558 > > d...@aether:~$

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread Russ Allbery
david l goodrich writes: > running `id`, and looking for something like this (copied from a working > ubuntu box): > d...@aether:~$ id > uid=1000(dlg) gid=1000(dlg) groups=106(admin),1000(dlg),1104162558 > d...@aether:~$ The extra high-numbered group won't necessarily show up, since PAGs are re

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread Russ Allbery
david l goodrich writes: > I sure do: > > Feb 25 02:11:16 chaos sshd[18207]: (pam_afs_session): pam_sm_setcred: entry > (0x2) > Feb 25 02:11:16 chaos sshd[18207]: (pam_afs_session): running /usr/bin/aklog > as UID 1000 > Feb 25 02:11:16 chaos sshd[18207]: (pam_afs_session): pam_sm_setcred: exi

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread david l goodrich
On Tue, Feb 24, 2009 at 12:55:35PM -0800, Russ Allbery wrote: > david l goodrich writes: > > > Certainly, they were taken from your README. > > > > chaos:~# grep -v ^# /etc/pam.d/common-auth > > auth [success=ok default=1] pam_krb5.so > > auth [default=done] pam_afs_session.so debug > >

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread Russ Allbery
david l goodrich writes: > Certainly, they were taken from your README. > > chaos:~# grep -v ^# /etc/pam.d/common-auth > auth [success=ok default=1] pam_krb5.so > auth [default=done] pam_afs_session.so debug > auth required pam_unix.so try_first_pass nullok_secure > > chaos

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-24 Thread david l goodrich
On Mon, Feb 23, 2009 at 08:53:37PM -0800, Russ Allbery wrote: > david l goodrich writes: > > > Package: libpam-afs-session > > Version: 1.7-1 > > Severity: important > > > > When logging in via SSH, a user does not get AFS tokens or a PAG, but > > they do get kerberos tickets. > > > > This works

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-23 Thread Russ Allbery
david l goodrich writes: > Package: libpam-afs-session > Version: 1.7-1 > Severity: important > > When logging in via SSH, a user does not get AFS tokens or a PAG, but > they do get kerberos tickets. > > This works correctly via the console, but not SSH. I suspect your PAM configuration is incor

Bug#516864: libpam-afs-session: PAGs not used on SSH login

2009-02-23 Thread david l goodrich
Package: libpam-afs-session Version: 1.7-1 Severity: important When logging in via SSH, a user does not get AFS tokens or a PAG, but they do get kerberos tickets. This works correctly via the console, but not SSH. -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (50