]> git.ozlabs.org Git - ppp.git/blob - pppd/plugins/radius/radiusclient/patches/radiusd-1.16.shadow.diff
Add these files, used with TDB.
[ppp.git] / pppd / plugins / radius / radiusclient / patches / radiusd-1.16.shadow.diff
1 --- radiusd.c~  Fri Jan  6 22:58:16 1995
2 +++ radiusd.c   Thu Apr  4 22:43:31 1996
3 @@ -1426,7 +1426,8 @@
4         encrypted_pass = pwd->pw_passwd;
5  
6  #if !defined(NOSHADOW)
7 -       if(strcmp(pwd->pw_passwd, "x") == 0) {
8 +       if ((strcmp(pwd->pw_passwd, "x") == 0) ||
9 +           (strcmp(pwd->pw_passwd, "*") == 0)) {
10                 if((spwd = getspnam(name)) == NULL) {
11                         return(-1);
12                 }