Re: pam_get_item() problems

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

 



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.



_______________________________________________

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