Blame SOURCES/yp-tools-2.12-adjunct.patch

9a4c31
diff -up yp-tools-2.12/src/yppasswd.c.adjunct yp-tools-2.12/src/yppasswd.c
9a4c31
--- yp-tools-2.12/src/yppasswd.c.adjunct	2012-04-23 13:17:47.000988833 +0200
9a4c31
+++ yp-tools-2.12/src/yppasswd.c	2012-04-23 13:18:01.209802938 +0200
9a4c31
@@ -774,6 +775,7 @@
9a4c31
       /* We can't check the password with shadow passwords enabled. We
9a4c31
        * leave the checking to yppasswdd */
9a4c31
       if (uid != 0 && strcmp (pwd->pw_passwd, "x") != 0 &&
9a4c31
+	  0 != strncmp (pwd->pw_passwd, "##", 2) && /* don't check passwords using passwd.adjunct feature */
9a4c31
 	  strcmp (pwd->pw_passwd, hashpass ) != 0)
9a4c31
 	{
9a4c31
 	  int passwdlen = get_passwd_len (pwd->pw_passwd);