[jcifs] JCIFS http filter problem with DC on Win 2003
inge.tapestry at gmail.com
Wed Apr 26 07:00:02 GMT 2006
I'll do that. I'm going to wait and see if my patterns show up in the logs
before I conclude.
On 4/25/06, Michael B Allen <mba2000 at ioplex.com> wrote:
> On Tue, 25 Apr 2006 09:57:24 +0200
> "Inge Solvoll" <inge.tapestry at gmail.com> wrote:
> > I think I've made a breakthrough on this issue now.
> > The username sent to the server from the browser is the excact same
> > that the user logged into the domain with. It seems that JCIFS does not
> > recognize the domain login pattern " user at domain.com", it expects the
> > pattern to be "DOMAIN/user". If the user logs in with the first pattern,
> > following NtlmHttpFilter code fails:
> > index = user.indexOf ('\\');
> > if (index == -1) index = user.indexOf('/');
> > String domain = (index != -1) ? user.substring(0, index)
> > defaultDomain;
> > user = (index != -1) ? user.substring(index + 1) : user;
> > I'll have to rewrite a little for my filter, to pick the username email
> > style if user string contains @.
> Interesting. So people can log into their workstation with
> user at domain.com? Never seen that. What do they put into the domain
> field? Nothing?
> If you get it working both ways pls send a patch. That would expidite
> things a little.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs