[jcifs] error authenticating to domain

Steve_Denham at raytheon.com Steve_Denham at raytheon.com
Fri Oct 10 13:40:58 GMT 2008

"Michael B Allen" <ioplex at gmail.com> 
Sent by: jcifs-bounces+aweber=comcast.net at lists.samba.org
10/09/2008 05:23 PM

Steve_Denham at raytheon.com
jcifs at lists.samba.org
Re: [jcifs] error authenticating to domain

>> 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 
>> the domain and can see domain users and groups using wbinfo.

>What's wbinfo?

I am using winbind with samba to connect the computer to the domain, 
wbinfo queries the domain for information such as users or groups. This 
verifies that the computer can see and communicate with the domain 

>> 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?

I thought that at first too, I have turned the firewall off on the 
computer while testing. Using netstat it shows that winbind has a 
connection to the domain server on port 389 and 445. So I know those ports 
are open and working.

Steve Denham

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list