+Tue Jul 21 11:19:39 EDT 2009
+jcifs-1.3.11
+
+The domain was incorrectly upper-cased when performing NTLMv2
+authentication. It so happened this was harmless to JCIFS but the nTOWFv2
+routine indicates that the domain is not supposed to be upper-cased
+(unlike the username which is).
+
Wed Jun 3 19:42:58 EDT 2009
jcifs-1.3.10
<project name="jcifs" default="usage" basedir=".">
- <property name="version" value="1.3.10"/>
- <property name="reldate" value="Jun 4, 2009"/>
+ <property name="version" value="1.3.11"/>
+ <property name="reldate" value="Jul 21, 2009"/>
<target name="usage">
<echo>
+++ /dev/null
-C:\tmp>ktpass /princ HTTP/www.foo.net@WIN.NET /ptype KRB5_NT_PRINCIPAL /desonly /pass asj7j112233hh4455 /mapuser test2\r
-Targeting domain controller: ts0.win.net\r
-Using legacy password setting method\r
-Successfully mapped HTTP/www.foo.net to test2.\r
-Key created.\r
-Account test2 has been set for DES-only encryption.
\ No newline at end of file
# Domain-based DFS
#SERVER=192.168.2.110
-#SERVER=w.net
-#SHARE=root2
-#DIR=test
+SERVER=w.net
+SHARE=root2
+DIR=test
# smb://fs1.w.net/DFSStandaloneRoot/DFSStandaloneLink/test/
# smb://dc1.w.net/root2/link2/test/
# smb://dc3.x.net/tmp/test/
# Stand-alone DFS
#SERVER=192.168.2.113
-SERVER=fs1.w.net
-SHARE=DFSStandaloneRoot
-DIR=DFSStandaloneLink/test
+#SERVER=fs1.w.net
+#SHARE=DFSStandaloneRoot
+#DIR=DFSStandaloneLink/test
WRITE_DIR=${DIR}/
SRC_DIR=${DIR}/Junk
byte[] domain = null;
if (domainName != null && domainName.length() != 0) {
domain = unicode ?
- domainName.toUpperCase().getBytes(UNI_ENCODING) :
- domainName.toUpperCase().getBytes(oem);
+ domainName.getBytes(UNI_ENCODING) :
+ domainName.getBytes(oem);
}
int domainLength = (domain != null) ? domain.length : 0;
String userName = getUser();
md4.update(password.getBytes(SmbConstants.UNI_ENCODING));
HMACT64 hmac = new HMACT64(md4.digest());
hmac.update(username.toUpperCase().getBytes(SmbConstants.UNI_ENCODING));
- hmac.update(domain.toUpperCase().getBytes(SmbConstants.UNI_ENCODING));
+ hmac.update(domain.getBytes(SmbConstants.UNI_ENCODING));
return hmac.digest();
} catch (UnsupportedEncodingException uee) {
throw new RuntimeException(uee.getMessage());