[jcifs] Re: Authentication via SmbSession.logon
esteveb at gmail.com
Fri Apr 15 08:06:12 GMT 2005
> But I think I see the problem. The AccountName field has MACH\name which
> leads me to believe you are using
> smb://MACH\\name:password <at> server/share/path/. The account name cannot
> have a backslash in it. That is not a valid character in a URL.
> The 'MACH' part is the domain.
You are absolutely and completely right. Problem solved.
Now I'm using NtlmPasswordAuthentication, but I guess it's as safe as
using the URL, since the password travels also through the network
(am I wrong ?).
Thanks a lot for your help,
More information about the jcifs