summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ai
blob: 875216cb6e692f672c0b2db36b6c2c5d5809b763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.6 2011/12/16 11:05:24 asau Exp $

--- include/local.h.orig	2010-10-07 16:41:16.000000000 +0000
+++ include/local.h
@@ -189,10 +189,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 */