minimal fix to net/tacacs+ for getpwnam_shadow
This commit is contained in:
parent
37055466f4
commit
2d008fa068
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2016/03/18 16:06:58 mmcc Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2016/07/11 10:28:15 sthen Exp $
|
||||
|
||||
COMMENT= Cisco AAA protocol daemon
|
||||
|
||||
DISTNAME= tac_plus.F4.0.4.alpha
|
||||
PKGNAME= tacacs+-4.0.4a
|
||||
REVISION= 5
|
||||
REVISION= 6
|
||||
CATEGORIES= net security
|
||||
|
||||
HOMEPAGE= http://www.gazi.edu.tr/tacacs/
|
||||
|
12
net/tacacs+/patches/patch-pwlib_c
Normal file
12
net/tacacs+/patches/patch-pwlib_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-pwlib_c,v 1.1 2016/07/11 10:28:16 sthen Exp $
|
||||
--- pwlib.c.orig Mon Jul 11 11:26:06 2016
|
||||
+++ pwlib.c Mon Jul 11 11:27:28 2016
|
||||
@@ -202,7 +202,7 @@ struct authen_data *data;
|
||||
data->status = TAC_PLUS_AUTHEN_STATUS_FAIL;
|
||||
|
||||
setpwent();
|
||||
- pw = getpwnam(user);
|
||||
+ pw = getpwnam_shadow(user);
|
||||
endpwent();
|
||||
|
||||
if (pw == NULL) {
|
Loading…
Reference in New Issue
Block a user