[jcifs] Domain Controllers
Jason Bainbridge
jbainbridge at gmail.com
Thu Feb 3 17:03:02 GMT 2005
On Thu, 3 Feb 2005 08:53:43 -0800, MSDean at beckman.com
<MSDean at beckman.com> wrote:
>
> Thanks Mike,
>
> How would this contrast with Jason's suggestion (below):
>
> >>>
>
> See this thread:
>
> http://lists.samba.org/archive/jcifs/2004-October/004174.html
>
> You want to do something like:
>
> UniAddress dc = new UniAddress( NbtAddress.getByName( domain, 0x1c, null));
> SmbSession.logon( dc, new NtlmPasswordAuthentication( domain, username, password
> );
I'm not too familiar with it all but I think Mike's suggestion adds in
some failover support for when you get a bad domain controller
returned where the above doesn't account for it.
Although as Mike suggested I only stick to using the filter so I don't
know too much of the inner workings of it all. :)
--
Jason Bainbridge
KDE - Conquer Your Desktop - http://kde.org
KDE Web Team - webmaster at kde
More information about the jcifs
mailing list