pam_get_item() problems
Sébastien Tricaud
toady at gscore.org
Wed Nov 17 15:55:32 UTC 2004
On Wed, 2004-11-17 at 08:43 -0700, Jason Gerfen wrote:
Hi
> // This bit is not working?!
>
> if( pam_get_item( pamh, PAM_AUTHTOK, password ) != PAM_SUCCESS ) {
the third argument is a "const void **" then, replace this line by the
following:
if( pam_get_item( pamh, PAM_AUTHTOK, (const void **)&password ) !=
PAM_SUCCESS ) {
and it should be working.
yet another pointer issue :)
Bye,
Sebastien.
More information about the Pam-list
mailing list