[jcifs] Authentication failed against a Windows XP server

Michael B Allen ioplex at gmail.com
Mon Nov 22 18:33:16 MST 2010

Hi Palak,

If you supply credentials, JCIFS should not try to use GUEST. I
suspect that the credentials you think you are supply are not really
being read. The best way to supply credentials is directly to
constructors with an NtlmPasswordAuthentication object.


Michael B Allen
Java Active Directory Integration

On Wed, Nov 17, 2010 at 7:31 PM, Palak <mpalakum at iit.edu> wrote:
> Hi,
> I just started to use jCifs to access remote servers and retrieve files. I
> succeeded to authenticate against Windows 2003 and later Windows, and crawl
> data.
> However, i fail to authenticate with Windows XP. I checked the packets
> exchange, and it's like as soon as i get connected, instead of using the user
> name and password i provided, the system tries to connect as a guest.
> Do you have any explanation on that?
> Thanks.
> Palak.

More information about the jCIFS mailing list