summaryrefslogtreecommitdiff
path: root/net/samba35/patches/patch-ai
blob: 91cab58919552a4e4a54b58733e465a35214d01c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.2 2011/06/15 11:45:08 adam 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 */