summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-ac')
-rw-r--r--net/samba/patches/patch-ac24
1 files changed, 10 insertions, 14 deletions
diff --git a/net/samba/patches/patch-ac b/net/samba/patches/patch-ac
index 7c76474752a..dc93bd78dfc 100644
--- a/net/samba/patches/patch-ac
+++ b/net/samba/patches/patch-ac
@@ -1,17 +1,13 @@
-$NetBSD: patch-ac,v 1.13 2005/11/14 08:05:27 jlam Exp $
+$NetBSD: patch-ac,v 1.14 2011/12/16 11:05:24 asau Exp $
---- include/local.h.orig 2005-10-12 13:03:38.000000000 -0400
-+++ include/local.h
-@@ -170,10 +170,10 @@
- * Default passwd chat script.
- */
+--- libads/kerberos.c.orig 2010-12-05 21:57:18.000000000 +0000
++++ libads/kerberos.c
+@@ -460,7 +460,7 @@ char* kerberos_secrets_fetch_des_salt( v
--#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"
+ if ( (key = des_salt_key()) == NULL ) {
+ DEBUG(0,("kerberos_secrets_fetch_des_salt: failed to generate key!\n"));
+- return False;
++ return NULL;
+ }
- /* 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 */
+ salt = (char*)secrets_fetch( key, NULL );