summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-04-12 04:17:29 +0000
committerAndrew Tridgell <tridge@samba.org>2002-04-12 04:17:29 +0000
commitb78a3886a7674cb310fdd8e61fad4386a24af652 (patch)
tree691ae60a3b15ad4cb57de980867813fd0c0df4e8 /source3/param
parent71c2943d34e6a30819d7c36d7c1d5d5eab2eb968 (diff)
downloadsamba-b78a3886a7674cb310fdd8e61fad4386a24af652.tar.gz
samba-b78a3886a7674cb310fdd8e61fad4386a24af652.tar.bz2
samba-b78a3886a7674cb310fdd8e61fad4386a24af652.zip
set the default hashing scheme in head to "hash2"
it seems to be a much better scheme (This used to be commit c8e2250ab1eae3aebecd8669e63f95f8656ae361)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index bdd710f5fe..462464d68f 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1243,6 +1243,9 @@ static void init_globals(void)
string_set(&Globals.szPrivateDir, dyn_PRIVATE_DIR);
string_set(&Globals.szPassdbBackend, "smbpasswd");
+ /* use the new 'hash2' method by default */
+ string_set(&Globals.szManglingMethod, "hash2");
+
string_set(&Globals.szGuestaccount, GUEST_ACCOUNT);
/* using UTF8 by default allows us to support all chars */