From 8dbf9f39ddaa1185a0b90a566bfdbd9581ef7851 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Sun, 25 Nov 2012 16:28:33 -0700 Subject: [PATCH] Fixes #947 When upgrading to samba 3.6.x they changed the default for NTLMv2 auth from false to true. This causes xbmc to fail to connec to OpenSolaris based distros like Nexenta or IllumOS which use the native in kernel CIFS server. This patch resets the default back to false. --- .../samba/patches/samba-3.6.8-400-reset_ntlmv2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/network/samba/patches/samba-3.6.8-400-reset_ntlmv2.patch diff --git a/packages/network/samba/patches/samba-3.6.8-400-reset_ntlmv2.patch b/packages/network/samba/patches/samba-3.6.8-400-reset_ntlmv2.patch new file mode 100644 index 0000000000..33f2560d5b --- /dev/null +++ b/packages/network/samba/patches/samba-3.6.8-400-reset_ntlmv2.patch @@ -0,0 +1,11 @@ +--- samba-3.6.8/source3/param/loadparm.c 2012-09-14 02:12:09.000000000 -0600 ++++ samba-3.6.8-b/source3/param/loadparm.c 2012-11-25 15:53:07.543125017 -0700 +@@ -5336,7 +5336,7 @@ + Globals.bClientPlaintextAuth = False; /* Do NOT use a plaintext password even if is requested by the server */ + Globals.bLanmanAuth = False; /* Do NOT use the LanMan hash, even if it is supplied */ + Globals.bNTLMAuth = True; /* Do use NTLMv1 if it is supplied by the client (otherwise NTLMv2) */ +- Globals.bClientNTLMv2Auth = True; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */ ++ Globals.bClientNTLMv2Auth = False; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */ + /* Note, that we will also use NTLM2 session security (which is different), if it is available */ + + Globals.map_to_guest = 0; /* By Default, "Never" */