[jcifs] Help!! SMBException

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Wed Nov 13 13:15:03 EST 2002

This is the kind of thing you're going to have to work out yourself Melodie. We're pretty
certain the client actually works as advertised :~) Start out with something simple like
running the ListFiles.java example with 'smb://', 'smb://workgroup/', and 'smb://server/'
URLs. Those should work regardless of what your credentials. Once you know the
client is successfully communicating with the server I suspect you'll find the problem
is a simple password problem. Try to 'map network drive..' and other diagnostics.
Sorry I can't help you further.

> -----Original Message-----
> From:	Lotspeich, Melodie [SMTP:MLotspe at pnm.com]
> Sent:	Tuesday, November 12, 2002 6:20 PM
> To:	'jcifs at lists.samba.org'
> Subject:	[jcifs] Help!!  SMBException
> Hello.  Recently installed JCIFS and I'm having problems with the following syntax.  I have tried many many variations on this and I'm getting an SMBException...either can't find the Network name or
> Access denied.  I've tried my local box, servers I can ping to, pretty much everything.  I have also tried with and without the Wins line.
> I'm stuck!!!  Thanks for any assistance! 
> SmbFileInputStream in = new SmbFileInputStream("smb://username:password@host/c/My Documents/somefile.txt" ); 
> Melodie Lotspeich 
> eBusiness 

More information about the jcifs mailing list