summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ai
blob: aab67a93424704d01515625d29de1fc246529a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.6.14.1 2013/08/12 12:20:19 tron Exp $

--- include/local.h.orig	2013-07-29 18:55:18.000000000 +0000
+++ include/local.h
@@ -175,10 +175,10 @@
  * Default passwd chat script.
  */
 
-#define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*"
+#define DEFAULT_PASSWD_CHAT "*\\n*ew\\spassword* %n\\n *ew\\spassword* %n\\n *updating\\sthe\\sdatabase...\\npasswd:\\sdone\\n"
 
 /* Minimum length of allowed password when changing UNIX password. */
-#define MINPASSWDLENGTH 5
+#define MINPASSWDLENGTH 6
 
 /* maximum ID number used for session control. This cannot be larger
    than 62*62 for the current code */