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

Re: pam_get_item() problems



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.




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