[jcifs] error authenticating to domain

Michael B Allen ioplex at gmail.com
Thu Oct 9 21:18:24 GMT 2008

On Thu, Oct 9, 2008 at 2:58 PM,  <Steve_Denham at raytheon.com> wrote:
> I am getting this error on an application that is trying to authenticate to
> an active directory server.  The server the application is on is added to
> the domain and can see domain users and groups using wbinfo.

What's wbinfo?

> when the
> application tries to authenticate it gives me an Invalid username or
> password error and this shows up in the logs.  It looks like it is trying to
> connect on port 139 instead of port 445.
> NetBIOS: new data read from socket
> java.net.ConnectException: Connection timed out
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>         at

Looks like plain o'l socket connect failure to me.

Do you have a firewall?


Michael B Allen
PHP Active Directory SPNEGO SSO

More information about the jcifs mailing list