[jcifs] SmbSession.logon() trouble

Michael B Allen mba2000 at ioplex.com
Fri May 28 20:23:10 GMT 2004


Sebastian Rehbach said:
>
> Hi,
>
> we are trying to use the JCIFS method SmbSession.logon() to do a user
> logon
> at a given domain controller. And that's the problem we have:
>
> When we try to logon to a domain with a given user and password everything
> is fine as long as the username is known by the domain controller. If
> username and password are correct, no exception is thrown and the user is
> logged on. If username is listed at the domain controller but the paasword
> is not correct, an exception is thrown. That's fine, too.
>
> But, if you enter a random username and a random password and pass it to
> the
> domain controller using SmbSession.logon(), no exception is thrown.
>
> What's going wrong?

Mmm, I don't know. Can you please send me a packet capture?

   http://jcifs.samba.org/capture.html

What does getRemoteUser return?

>
> We are using jCIFS 0.90b (we have tested jCIFS 0.90 with the same
> results).

Can you try the 0.8 jar?

> As a domain controller we are using SuSE Linux Professional 9 with Samba
> 2.2.8a-SuSE (which is required, 'cause we don't have a Windows NT / 2000
> domain controller but there will be one in our productive environment)

Shouldn't matter.

Mike


More information about the jcifs mailing list