[jcifs] NullPointerException when trying to authenticate
against domain name > 15 chars
Michael B Allen
mba2000 at ioplex.com
Fri May 11 16:08:16 GMT 2007
On Sun, 22 Apr 2007 10:12:05 +0200
"Øyvind Harboe" <oyvind.harboe at zylin.com> wrote:
> On 4/22/07, Eric Glass <eric.glass at gmail.com> wrote:
> > The domain parameter was/is originally intended to be the
> > NetBIOS-style domain (e.g. "MYDOMAIN") rather than the DNS-style (e.g.
> > "mydomain.domain.com"). So trimming to 15 characters and uppercasing
> > would make sense in that context. Although from some previous
> > experimentation I think everything works with DNS-style domain
> > specified also, so you could probably just remove the trimming and see
> > if it works.
>
> If it works, does it mean that jCIFS is broken? (Retesting is
> non-trivial as it was at a
> clients... but I hope to get around to it.)
Well it shouldn't throw an exception. I'll add this to The List.
Note that there's also a patch in the patches directory for doing JNDI
lookups with the domainController property instead of WINS.
Mike
--
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/
More information about the jcifs
mailing list