summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ac
blob: 8cefa5799dde38a3b1d33aeb99b2ad985dcd64b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.12 2004/01/11 02:26:31 jlam Exp $

--- include/local.h.orig	Fri Nov  7 12:37:33 2003
+++ include/local.h
@@ -170,10 +170,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 */