[jcifs] authentication against workgroup & not domain possible?
stefaan
stefaan at nachtergaele.net
Wed Sep 1 15:23:36 GMT 2004
I'm using version version 0.9.7
Yes. It is just as you said. Either disabling the guest account or
setting a password for it lead to desired results.
Thanks,
Stefaan Nachtergaele
Eric Glass wrote:
Eric Glass wrote:
>Please copy the list in replies also.
>
>
>
>>Thanks for your reply Eric. What you said works... somewhat. I'm getting
>>odd behaviour:
>>"stefaan" is a user on my machine and his password is "".
>>
>>auth = new NtlmPasswordAuthentication("", "stefaan", ""); works
>>auth = new NtlmPasswordAuthentication("", "stefaan", "asdfasdf"); throws a SmbAuthException
>>auth = new NtlmPasswordAuthentication("", "asdfasdf", "asdfasfd"); works
>>
>>The first two seems logical, the last does not. Also other non-existing account details do not throw a SmbAuthException!
>>
>>Is it maybe defaulting to a guest account? What am I missing?
>>
>>
>>
>
>Quite possibly; you could disable the Guest account on the machine in
>question to see (I think you can also set the password on Guest, and
>then any mapped accounts would need to authenticate with that
>password). What version of jCIFS are you using? I believe Mike put
>in something to throw an exception when this happens (i.e. disallow
>guest completely).
>
>
>Eric
>
>
>
More information about the jcifs
mailing list