[jcifs] Re: Null pointer exception in ServerMessageBlock.java

Ronny Schuetz Usenet.8d3 at gishpuppy.com
Wed Jun 21 15:18:19 GMT 2006


* Jake Goulding wrote:

Hi,

> Obviously, this is not right... the question is where does this need to
> be fixed? Do I need to make sure that the user/domain/password are
> encoded before passing them off to JCIFS? Does JCIFS need to better
> support this? Am I not "allowed" to have a hash in my password?

Try to URL-encode the username and password before using them to build
the URL. The jakarta commons codec library [1] offers the required
functionality for example.

[1] http://jakarta.apache.org/commons/codec/

Ronny



More information about the jcifs mailing list