Seems to be share-security related as 1.3.6(a)
<project name="jcifs" default="usage" basedir=".">
- <property name="version" value="1.3.6"/>
- <property name="reldate" value="Mar 14, 2009"/>
+ <property name="version" value="1.3.7"/>
+ <property name="reldate" value="Mar 18, 2009"/>
<target name="usage">
<echo>
} else {
throw new SmbException("Unsupported credential type");
}
+ } else if (session.transport.server.security == SECURITY_SHARE) {
+ if (cred instanceof NtlmPasswordAuthentication) {
+ NtlmPasswordAuthentication auth = (NtlmPasswordAuthentication)cred;
+ lmHash = new byte[0];
+ ntHash = new byte[0];
+ accountName = auth.username;
+ if (useUnicode)
+ accountName = accountName.toUpperCase();
+ primaryDomain = auth.domain.toUpperCase();
+ } else {
+ throw new SmbException("Unsupported credential type");
+ }
} else {
throw new SmbException("Unsupported");
}