The Samba-Bugzilla – Bug 2177
patch to include to main tree
Last modified: 2005-02-03 07:17:17 UTC
that patch is included in FreeBSD's Ports collection, but I guess it would be
better to have in main source tree for two reasons:
1) few people do not not know how to install soft on FreeBSD and install
directly from sources
2) port's maintainers will not have to patch source in subsequent releases
--- include/local.h.orig Tue Dec 21 16:25:36 2004
+++ include/local.h Tue Dec 21 16:30:22 2004
@@ -170,10 +170,19 @@
* 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
+/* Minimum length of allowed password when changing UNIX password. */
+#define MINPASSWDLENGTH 6
+#define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*"
/* Minimum length of allowed password when changing UNIX password. */
#define MINPASSWDLENGTH 5
+#endif /*!__FreeBSD__ */
/* maximum ID number used for session control. This cannot be larger
than 62*62 for the current code */
I'm not including this for a couple of reasons.
(a) it will bit rot as things change on FreeBSD and
we don't know about them.
(b) a better solution is to define the password chat
If people decide to install from source rather than
using a maintainer's package, then they should be willing
to address the differences themselves.