aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/idvec-verify.c
Commit message (Collapse)AuthorAgeFilesLines
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-241-19/+34
| | | | | | | | | | * idvec-verify.c (SHADOW_PASSWORD_STRING): New macro. (verify_id): Check for shadow password immediately after getpwuid_r call, and replace PW->pw_passwd pointer with SP->sp_pwdp. This is ok since the only use will be later in the function, and we give the lookup buffer function scope. (verify_passwd): Don't call CHECK_SHADOW for main passwd, only when rechecking for wheel-group hack.
* 1999-05-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-201-8/+29
| | | | | * idvec-verify.c (verify_passwd): Avoid nonreentrant getpwuid. If pw_passwd is "x", use getspnam_r and use its sp_pwdp if it succeeds.
* 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>Thomas Bushnell1999-04-261-5/+8
| | | | | | | | | | | | | * ugids-verify-auth.c: Include <hurd/password.h> again and remove temporary definitions of password_check_user and password_check_group. 1998-11-29 Mark Kettenis <kettenis@phys.uva.nl> * idvec-verify.c (verify_passwd): Grant access when the password in the passwd DB is empty. (verify_id): Also call verify_fn when the password in the password DB is empty.
* Add braces to silence gcc warnings.Roland McGrath1998-10-201-21/+25
|
* (verify_id):Miles Bader1997-09-291-51/+145
| | | | | | | | | | | | Change type of GETPASS_FN arg. Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args. Remove WHEEL_UID arg. Use VERIFY_FN & VERIFY_HOOK instead of doing password comparison ourselves. (verify_passwd, get_passwd): New functions. (idvec_verify): Change type of GETPASS_FN arg. Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args & use them.
* (idvec_verify):Miles Bader1997-05-291-12/+22
| | | | Fix detection of multiple ids.
* Initial checkinMiles Bader1997-05-271-0/+215