[jcifs] Problem in jcifs-1.2.25 with DFS

Michael B Allen ioplex at gmail.com
Sat May 16 01:33:55 GMT 2009

> Qiang Liu wrote:
> Good afternoon! Mike,
> I am glad to see that you have reflected my DFS modification into jcifs-1.3.1 very quickly. Thank you very much for your great help.
> By the way,recently, I have found another potential bug related to DFS.Now I want to report it to you again.Sorry to bother you again.
> Bug Phenomence: If the DC and DFS Root Server is installed in the same PC, it caused to match the wrong transport instance for next processing.Then it will throw exception "jcifs.smb.SmbException: Invalid operation for ????? service".
> Solution: address's HostName should also be compared.

Actually the problem was that the service name needed to be supplied
in resolveDfs. This is fixed in my local copy and will be in the next


Michael B Allen
Java Active Directory Integration

More information about the jcifs mailing list