+Sat Jan 28 13:46:42 EST 2012
+jcifs-1.3.18b
+
+A logical check has been added to prevent a NullPointerException.
+
Tue Oct 18 15:10:23 EDT 2011
jcifs-1.3.17
<project name="jcifs" default="usage" basedir=".">
- <property name="version" value="1.3.17"/>
- <property name="reldate" value="Oct 18, 2011"/>
+ <property name="version" value="1.3.18b"/>
+ <property name="reldate" value="Jan 28, 2012"/>
<target name="usage">
<echo>
-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
+C:\tmp>ktpass /princ HTTP/www.foo.net@WIN.NET /ptype KRB5_NT_PRINCIPAL /desonly /pass asj7j112233hh4455 /mapuser test2
+Targeting domain controller: ts0.win.net
+Using legacy password setting method
+Successfully mapped HTTP/www.foo.net to test2.
+Key created.
Account test2 has been set for DES-only encryption.
\ No newline at end of file
void setOption(String key, Object val) throws DcerpcException {
if (key.equals("endpoint")) {
- endpoint = val.toString().toLowerCase();
- if (endpoint.startsWith("\\pipe\\")) {
- String iface = (String)INTERFACES.get(endpoint.substring(6));
+ endpoint = val.toString();
+ String lep = endpoint.toLowerCase();
+ if (lep.toLowerCase().startsWith("\\pipe\\")) {
+ String iface = (String)INTERFACES.get(lep.toLowerCase().substring(6));
if (iface != null) {
int c, p;
c = iface.indexOf(':');
* directory. SmbFile URLs have the following syntax:
*
* <blockquote><pre>
- * smb://[[[domain;]username[:password]@]server[:port]/[[share/[dir/]file]]][?[param=value[param2=value2[...]]]
+ * smb://[[[domain;]username[:password]@]server[:port]/[[share/[dir/]file]]][?param=value[param2=value2[...]]]
* </pre></blockquote>
*
* This example:
* <tt>URLConnection</tt> implementation of <tt>connect()</tt>.
*/
public void connect() throws IOException {
- SmbTransport trans;
- SmbSession ssn;
- UniAddress addr;
+ if (isConnected() && tree.session.transport.tconHostName == null) {
+ /* Tree thinks it is connected but transport disconnected
+ * under it, reset tree to reflect the truth.
+ */
+ tree.treeDisconnect(true);
+ }
if( isConnected() ) {
return;