pam_mount and openssh

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

 



Hi,
I'm trying to get pam_mount going to mount a samba share on login over
openssh, but it doesn't seem to be working.

It seems that after authentication, openssh  is launching a new
process which calls pam_open_session, and so the pam_mount module
can't access the data it stored when authenticating.

Has anyone else hit this problem and successfully worked around it?

Here's the debug output (I threw some of my own debug statements into the code)

Aug 16 09:11:27 vpntest sshd[16437]: pam_sm_authenticate called
Aug 16 09:11:27 vpntest sshd[16437]: pam_mount: enter read_password
Aug 16 09:11:30 vpntest sshd[16437]: pam_sm_authenticate saved, pamh
handle 134863464
Aug 16 09:11:30 vpntest sshd[16438]: pam_sm_open_sesion pamh: 134863464
Aug 16 09:11:30 vpntest sshd[16438]: pam_mount: user is cjensen
Aug 16 09:11:30 vpntest sshd[16438]: pam_mount: error trying to
retrieve authtok from auth code


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux