[jcifs] credentials while accessing the file on localhost

Michael B Allen mba2000 at ioplex.com
Thu Feb 19 10:00:31 GMT 2004


Naved Khan said:
> Is there a way I can access the files on the same/remote machine w/o
> providing the credentials.

No. It's not clear to me how one would setup a server to not attempt
authentication at all.

But jCIFS will attempt to use the "GUEST" account by default. Also you can
use empty credentials with a username and password of "" like:

smb://:@server/share/path/to/file.txt

Mike



More information about the jcifs mailing list