[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

PAM module function return values...



Hi folks.


I'm currently writing a module, and while the documentation is *okay*,
there are some points which I'd like clarified:


pam_sm_chauthtok(...)
 If, during the preliminary check, the old authentication token was unable
 to be retrieved, is it okay to return `PAM_AUTHTOK_RECOVERY_ERR'?  The
 documentation implies that the only valid return value during the
 preliminary check, in case of failure, is `PAM_TRY_AGAIN'.


pam_get_item(...)

 For modules which call this function, the documentation does not state
 what the possible return values are.



Lastly: Is there any _full_ and well-prepared list of return codes and
item types (used by pam_get_item() and pam_set_item() for `int item_type')
anywhere?



Thanks in advance,
Michael




-- 
/* BEGIN SIG 
*
* "Afraid of change, afraid of staying the same,
*  when temptation calls, we just look away."
*  - Barenaked Ladies
*
* "He started writing in mirror writing, 'Help! I'm
*  trapped behind the world.'"
*  - New York State Journal of Medicine
*
*-----------------------------
* Michael Chang
* miranda@xxxxxxxxxx
* http://www.syndetic.org/
*/



_______________________________________________

Pam-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/pam-list

[Home]     [Kernel List]     [Red Hat Install]     [Linux for the blind]     [Red Hat Watch List]     [Gimp]     [Kerberos: The Definitive Guide]

Add to Google Powered by Linux