[jcifs] Domain Controllers
MSDean at beckman.com
MSDean at beckman.com
Mon Feb 7 19:15:26 GMT 2005
Hi Mike,
Given that the properties cannot be changed once JCIFS classes have been
accessed, can you think of any workarounds for allowing one to try multiple
domains using the code you suggested in order to authenticate users?
NtlmChallenge chal = SmbSession.getChallengeForDomain();
UniAddress dc = chal.dc;
SmbSession.logon( dc, new NtlmPasswordAuthentication( domain,
username, password ));
For example, could the class be unloaded and then loaded again as needed?
Thanks,
Mark
"Michael B Allen"
<mba2000 at ioplex.c To: MSDean at beckman.com
om> cc: jcifs at lists.samba.org
Subject: Re: [jcifs] Domain Controllers
02/03/2005 02:58
PM
MSDean at beckman.com said:
> System.setProperty( "jcifs.netbios.wins", "<IP1>,<IP2>"
> );
> System.setProperty( "jcifs.smb.client.domain", domain );
Once you access jCIFS classes that use properties they cannot be changed.
More information about the jcifs
mailing list