[jcifs] get problems with blank password
Michael B Allen
mba2000 at ioplex.com
Wed Dec 31 00:23:20 GMT 2003
> if the password is blank, it always shows "jcifs.smb.SmbException: General
> failure" when I use "" (empty string) or null as password to logon the
> would anybody know how to logon when the SmbSession's password is blank??
This exception is coming from the server. If the password is truely supposed to be
an empty string then it will be necessary to obtain a packet capture of a
successful authentication using a empty string "" password from another client
(preferrably Windows 2000) so that we can check to make sure jCIFS is properly
emulating that behavior.
A program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the potential for it to be applied to tasks that are
conceptually similar and, more important, to tasks that have not
yet been conceived.
More information about the jcifs