aboutsummaryrefslogtreecommitdiff
path: root/pam_pwdfile.c
AgeCommit message (Collapse)Author
2013-05-14remove CVS $Id line and static version numberTimo Weingärtner
2013-05-12major overhaulTimo Weingärtner
* merge fgetpwnam into pam_sm_authenticate * handle empty password field * fix a fd and memory leak if pwdfile opening succeeds but locking fails * use crypt_r (enabled via USE_CRYPT_R) * rely on crypt() to handle newer crypt variants (including "good" md5 crypt) * make bigcrypt and broken md5 crypt optional * add some const's
2013-05-12include proper headers for crypt()Timo Weingärtner
this also prepares for crypt_r()
2013-05-12rework pwdfile readingTimo Weingärtner
* drop rewind(), we read the file just once * use getline() to get rid of the fixed-size buffer * let strsep() also handle the newline * stop at the first line containing the user instead of using the last
2013-05-12use pam_get_authtokTimo Weingärtner
this also gets it right with use_first_pass also use the default prompt for the username
2013-05-12rework argument parsingTimo Weingärtner
* don't copy pwdfile argument, we don't need to modify it * replace sizeof() with strlen() as that is easier to understand and the compiler can also optimize it away * expand DEFINE's so we can get rid of the comments
2013-05-11add debug module option and use pam_syslogTimo Weingärtner
also: * remove some unnessesary comments * add vim settings for unusual indentation
2013-04-25apply visibility patch by Peter PalfraderTimo Weingärtner
2003-12-20Integrated bigcrypt/crypt patch by Greg Norris. Getting ready for releaseCharl Botha
0.99.
2002-06-10Getting ready for 0.98.v0.98Charl Botha
2002-05-11Fixed md5 crypting + ssl bug.Charl Botha
2001-07-14Integrated patch for 2 second delay at incorrect password.v0.95Charl Botha
Fixed minor build warnings (added _BSD_SOURCE define).
2001-06-15Copyright years fixed.v0.9Charl Botha
2001-06-15Integrated contributed patch.Charl Botha
2001-05-12Changed small ver thingy.v0.8aCharl Botha
2001-05-12Ready for 0.8.v0.8Charl Botha
2001-04-17Updated for Linux-PAM-0.75. Released 0.7.Charl Botha
2000-11-25Minor error message change.Charl Botha
2000-11-11Fixed DES bug (I introduced when integrating MD5 patch)Charl Botha
2000-11-08Fixed minor typo.Charl Botha
2000-11-08Integrated MD5 patch by warwick@chemeng.uct.ac.za.Charl Botha
2000-08-29Fixed small buglet in INSTALL. Changed version in pam_pwdfile.c.Charl Botha
2000-08-28Changed version.v0.3Charl Botha
2000-05-22Changed version indication.v0.2Charl Botha
2000-05-22Release 0.2 version.Charl Botha
1999-08-05This commit was generated by cvs2svn to compensate for changes in r2,Charl Botha
which included commits to RCS files with non-trunk default branches.