Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53177 Details for
Bug 84851
yppasswd cant interact with NetBSD NIS Master Server in Secure Mode, password changes are dismissed.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for yppasswd.c
yppasswd.c.diff (text/plain), 1.66 KB, created by
Torsten Krah
on 2005-03-11 05:35:24 UTC
(
hide
)
Description:
Patch for yppasswd.c
Filename:
MIME Type:
Creator:
Torsten Krah
Created:
2005-03-11 05:35:24 UTC
Size:
1.66 KB
patch
obsolete
>--- src/yppasswd.c 2002-12-05 14:49:20.000000000 +0100 >+++ src/yppasswd.c 2005-03-11 13:13:45.700315296 +0100 >@@ -117,6 +117,7 @@ > fputs (_(" -f Change GECOS field information\n"), stdout); > fputs (_(" -l Change the login shell\n"), stdout); > fputs (_(" -p Change the password\n"), stdout); >+ fputs (_(" -b Enable support for *BSD rpc.yppasswd daemon\n"), stdout); > fputs (_(" -?, --help Give this help list\n"), stdout); > fputs (_(" --usage Give a short usage message\n"), stdout); > fputs (_(" --version Print program version\n"), stdout); >@@ -440,7 +441,7 @@ > main (int argc, char **argv) > { > char *s, *progname, *domainname = NULL, *user = NULL, *master = NULL; >- int f_flag = 0, l_flag = 0, p_flag = 0, error, status; >+ int f_flag = 0, l_flag = 0, p_flag = 0, error, status, bsd_flag = 0; > struct yppasswd yppwd; > struct passwd *pwd; > CLIENT *clnt; >@@ -476,7 +477,7 @@ > }; > > c = getopt_long (argc, argv, >- (l_flag == 0 && f_flag == 0) ? "flp?" : "?", >+ (l_flag == 0 && f_flag == 0) ? "flpb?" : "?", > long_options, &option_index); > if (c == (-1)) > break; >@@ -491,6 +492,9 @@ > case 'p': > p_flag = 1; > break; >+ case 'b': >+ bsd_flag = 1; >+ break; > case '?': > if (l_flag) > print_help_chsh (); >@@ -645,7 +649,7 @@ > /* We can't check the password with shadow passwords enabled. We > * leave the checking to yppasswdd */ > if (uid != 0 && strcmp (pwd->pw_passwd, "x") != 0 && >- strcmp (pwd->pw_passwd, hashpass ) != 0) >+ strcmp (pwd->pw_passwd, hashpass ) != 0 && !bsd_flag) > { > int passwdlen; > char *sane_passwd;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 84851
: 53177 |
53178
|
53179