[jcifs] Re: NTLM HTTP Filter Does Not Work With SMB Signing

Dane Henry danehenry at gmail.com
Mon Jun 5 19:01:45 GMT 2006

Here is the log for the exception that gets thrown when I run
examples/ListFiles.java verbatum from the jcifs site.

jcifs.smb.SmbAuthException: Logon failure: account currently disabled.
    at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:499)
    at jcifs.smb.SmbTransport.send(SmbTransport.java:610)
    at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:269)
    at jcifs.smb.SmbSession.send(SmbSession.java:225)
    at jcifs.smb.SmbTree.treeConnect(SmbTree.java:147)
    at jcifs.smb.SmbFile.connect(SmbFile.java:791)
    at jcifs.smb.SmbFile.connect0(SmbFile.java:761)
    at jcifs.smb.SmbFile.doNetEnum(SmbFile.java:1615)
    at jcifs.smb.SmbFile.listFiles(SmbFile.java:1585)
    at jcifs.smb.SmbFile.listFiles(SmbFile.java:1495)
    at ListFiles.main(ListFiles.java:12)

Why it's doing this, I honestly don't know. It could be that I misconfigured
it, but given the example provided, I couldn't set it up as a servlet like
the NtlmHttpAuthExample was.

On the matter of jcifs.netbios.hostname solution you mentioned to look at
under Personal Workstation AD Security Policy, I had used that before and
it, as is the trend, didn't have any impact, both in the servlet (examples/
NtlmHttpAuthExample.java) and the examples/ListFiles.java.

On 6/5/06, Michael B Allen <mba2000 at ioplex.com> wrote:
> On Mon, 5 Jun 2006 14:01:56 -0400
> "Dane Henry" <danehenry at gmail.com> wrote:
> > Using the domain controller parameter in the filter didn't seem to have
> an
> > effect, both when I put in a real IP and when I put in a client IP. When
> I
> > tried to run the ListFiles example, it kept giving me an error that the
> user
> > has been blocked
> Huh? That sounds like it could be important. Check out the 'Personal
> Workstation AD Security Policy' blurb in the filter doc and see if that
> applies to you.
> Mike
> --
> Michael B Allen
> PHP Extension for SSO w/ Windows Group Authorization
> http://www.ioplex.com/
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list