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

how autenticate anonymous users



Title: how autenticate anonymous users

hello list

Could anyone help me?
when i try to log a user X in my machine and that user is not
in my passwd the conv->conv aways return "INCORRECT" in pass

int retval;
struct pam_conv *conv;

if ((retval = pam_get_item (pamh, PAM_CONV, (const void **)&conv))
     ==PAM_SUCCESS )  {
  retval =
    conv->conv (1,(const struct pam_message **) "password", pass,
    conv->appdata_ptr);

can anyone tell me what i have to do to so i can login user
using a database??

best regards

Guilherme Mazzela


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