[Bug 1204530] Re: yppasswd results in a segmentation fault when run on clients or server
James C. West
jcwest16 at gmail.com
Wed Jan 21 18:30:56 UTC 2015
I checked the link that Philip gave and the patch at the beginning
worked for 14.04 when I recompiled the nis package from source. My users
can finally change their passwords! The patch is
--- nis-3.17.orig/yp-tools-2.9/src/yppasswd.c 2013-09-03 12:08:35.000000000 -0400
+++ ./yppasswd.c 2013-09-03 12:07:30.000000000 -0400
@@ -406,7 +406,7 @@
return 0;
}
- if (pwd->pw_passwd[0]
+ if (pwd->pw_passwd[0] && pwd->pw_passwd[1]
&& !strncmp (pwd->pw_passwd, crypt (pwdstr, pwd->pw_passwd), 13)
&& uid)
{
Can this be added to the Trusty release?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nis in Ubuntu.
https://bugs.launchpad.net/bugs/1204530
Title:
yppasswd results in a segmentation fault when run on clients or server
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nis/+bug/1204530/+subscriptions
More information about the Ubuntu-server-bugs
mailing list