Attempting to connect to a so called hidden or administrative share (such as c$
) does not work for me with the latest version of smbj
(0.13.0
), resulting in an STATUS_ACCESS_DENIED (0xc0000022)
for a share I have access to. Other shares work fine, so the rest of my connection setup seems to be correct. The code in question is a simple session.connectShare("c$")
, where as stated, session.connectShare("someShareWithoutDollar")
works perfectly fine, and using my credentials with other software to access the hidden share also works.
The issue tracker and the project documentation made no reference to such shares, so I’m wondering whether maybe they are a rarely used feature that the library is simply unaware of, or whether maybe I am doing something incorrectly.
Any advice on how to connect to such shares, short of changing libraries ?