[jcifs] Re: Domain controller name from Domain name

Michael B Allen mba2000 at ioplex.com
Sat Oct 16 03:48:14 GMT 2004


On Fri, 15 Oct 2004 19:21:12 +0000 (UTC)
Jon Erdman <jon.erdman at solers.com> wrote:

> I changed it to use NbtAddress.getByName(domainName, 0x1c, null) and it
> seems to work better.  I can find the domain controller on the domain that
> I'm on but it can't find it for a different domain, even though it works
> if I manually configure the ip for the other domain.

That query should work for any domain provided it's registered with WINS
and you set jcifs.netbios.wins.

Mike

-- 
Greedo shoots first? Not in my Star Wars.


More information about the jcifs mailing list