SOURCES: samba-3401.patch (NEW) - fix for #3401 (PANIC: internal e...

bszx bszx at pld-linux.org
Sun Jan 22 14:05:53 CET 2006


Author: bszx                         Date: Sun Jan 22 13:05:53 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for #3401 (PANIC: internal error) from samba svn

---- Files affected:
SOURCES:
   samba-3401.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/samba-3401.patch
diff -u /dev/null SOURCES/samba-3401.patch:1.1
--- /dev/null	Sun Jan 22 14:05:53 2006
+++ SOURCES/samba-3401.patch	Sun Jan 22 14:05:48 2006
@@ -0,0 +1,14 @@
+--- samba-3.0.21a/source/libsmb/ntlmssp.c.old	2005-10-18 04:45:00.000000000 +0200
++++ samba-3.0.21a/source/libsmb/ntlmssp.c	2006-01-22 13:18:02.000000000 +0100
+@@ -384,6 +384,11 @@
+ 
+ void ntlmssp_weaken_keys(NTLMSSP_STATE *ntlmssp_state)
+ {
++	/* Nothing to weaken.  We certainly don't want to 'extend' the length... */
++	if (ntlmssp_state->session_key.length < 8) {
++		return;
++	}
++
+ 	/* Key weakening not performed on the master key for NTLM2
+ 	   and does not occour for NTLM1.  Therefore we only need
+ 	   to do this for the LM_KEY.
================================================================


More information about the pld-cvs-commit mailing list