pam_mount

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

 



I'm trying to run pam_mount, version 0.3.2.  Its complaining that it cannot
get the password.  The problematical piece of code resides in the
pam_sm_authenticate function.  pam_get_item returns zero, but the "password"
pointer is left set to zero:

   char *password

   ...

   ret=pam_get_item(pamh, PAM_AUTHTOK, (const void **)&password);

When I run this with "su" it seems to be calling pam_sm_authenticate before
asking me for my password.  With "sshd" it seems to call pam_sm_authenticate
after asking for my password, but still can't get at it.

Can anyone figure out what is going on?

I'm using RedHat 7.2, pam-0.75-14 (according to rpm -q).  Gcc is either
gcc3-3.0.1-3, or gcc2.96: both behave the same.

Thanks in advance,

Paul.





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

  Powered by Linux