summaryrefslogtreecommitdiff
path: root/net/samba33/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba33/patches/patch-ai')
-rw-r--r--net/samba33/patches/patch-ai17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/samba33/patches/patch-ai b/net/samba33/patches/patch-ai
new file mode 100644
index 00000000000..f6488d59f0b
--- /dev/null
+++ b/net/samba33/patches/patch-ai
@@ -0,0 +1,17 @@
+$NetBSD: patch-ai,v 1.1.1.1 2010/02/16 16:24:16 taca Exp $
+
+--- include/local.h.orig 2010-01-14 10:12:10.000000000 +0000
++++ 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 */