[jcifs] Question about SmbTransport.java, Performance improvement
Thomas Bley
thomas.bley at simple-groupware.de
Mon Apr 10 02:33:59 GMT 2006
Hi Mike,
In SmbTransport.java there is in doConnect():
tconHostName = address.getHostName()
I changed this to:
tconHostName = address.getHostAddress();
Now connecting is (very) much faster, and I can even use
smb://administrator:xxx@127.0.0.1/ as smb-url.
(I tested Samba, WinXP, w2k3 and w2k3 as ad-controller)
Are there any reasons why I need getHostName() ? Do I need it for NetBios ?
Best regards,
Thomas
More information about the jcifs
mailing list