summaryrefslogtreecommitdiffhomepage
path: root/svr-authpam.c
AgeCommit message (Collapse)Author
2019-03-20Fix for issue successfull login of disabled user (#78)vincentto13
This commit introduces fix for scenario: 1. Root login disabled on dropbear 2. PAM authentication model enabled While login as root user, after prompt for password user is being notified about login failrue, but after second attempt of prompt for password within same session, login becames succesfull. Signed-off-by: Pawel Rapkiewicz <pawel.rapkiewicz@gmail.com>
2018-08-23Wait to fail invalid usernamesMatt Johnston
2017-06-23set PAM_RHOSTMatt Johnston
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-01-05Fix parentheses weird placementChocobo1
2015-06-04buf_getstring and buf_putstring now use non-unsigned char*Matt Johnston
2013-10-03Get rid of spurious newlines in pam log messagesMatt Johnston
2013-10-03Send PAM error messages as a banner messagesMatt Johnston
Patch from Martin Donnelly, modified.
2012-02-22- Fix minor leakMatt Johnston
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2009-09-08- Test for pam_fail_delay() function in configureMatt Johnston
- Recognise "username:" as a PAM prompt - Add some randomness to the auth-failure delay - Fix wrongly committed options.h/debug.h --HG-- extra : convert_revision : f242f0e66fb0ea5d3b374995d2f548d37dd8f3a3
2008-01-13Make a copy of passwd fields since getpwnam()'s retval isn't safe to keepMatt Johnston
--HG-- extra : convert_revision : 295b11312e327fe6c4f33512674ea4a1a9790344
2007-02-13Make sure the #includes for pam only get hit if PAM is enabled.Matt Johnston
--HG-- extra : convert_revision : f9c35e0ebbcb2d5821d871db343ec2041cdb6ef3
2005-12-04 * add -g (dbclient) and -a (dropbear) options for allowing non-localMatt Johnston
hosts to connect to forwarded ports. Rearranged various some of the tcp listening code. * changed to /* */ style brackets in svr-authpam.c --HG-- extra : convert_revision : c1e04e648867db464fe9818c4910e4320cd50c32
2005-07-29channel.h: make definition externMatt Johnston
svr-authpam.c: be smarter comparing pam prompts --HG-- extra : convert_revision : 6962b52a31b14eb017c838d5242f476e1726f84c
2005-03-13* fix longstanding bug with connections being closed on failure toMatt Johnston
connect to auth socket (server) * differentiate between get_byte and get_bool * get rid of some // comments * general tidying --HG-- extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
2005-01-07Removed obselete (and incorrect) comment.Matt Johnston
--HG-- extra : convert_revision : 79bdca55540f5a7e2ffbad4481668066185bf10a
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2004-12-23Log the IP along with auth success/fail attemptsMatt Johnston
--HG-- extra : convert_revision : 25eab43bd46e931fd4afecec49c22b9311062099
2004-09-21strdup() variables correctly for the PAM conversation functionMatt Johnston
--HG-- branch : private-rez extra : convert_revision : 706adc0b1c61920dc70b6b203b2033e27bc46c64
2004-09-14put the #ifdefs back in for authpamMatt Johnston
--HG-- extra : convert_revision : 93ad501313c213d77753d57def15f2c8cf5db8d7
2004-09-14PAM improvementsMatt Johnston
--HG-- branch : private-rez extra : convert_revision : c8f9300c5d598fe6003fcf19c831f5982620ec98
2004-09-12propagate of 08347df3bca787bd3621602fe2b466c85c9dc3e2 and ↵Matt Johnston
717950f4061f1123659ee87c7c168805af920ab7 from branch 'matt.dbclient.rez' to 'matt.dbclient.authpam' --HG-- branch : private-rez extra : convert_revision : 555c429bf4e557ea5fd0af9db3987166d8217d8b
2004-08-08svr-authpam code merged and works. needs tidying a logMatt Johnston
--HG-- branch : authpam extra : convert_revision : abeb2807b88fbd8b95d92b760a209a0816cbaea9