[prev in list] [next in list] [prev in thread] [next in thread]
List: jcifs
Subject: Re: [jcifs] Password characters
From: Michael B Allen <ioplex () gmail ! com>
Date: 2009-03-20 15:50:58
Message-ID: 78c6bd860903200850n540c5e70o2850c252f58b519 () mail ! gmail ! com
[Download RAW message or body]
On Fri, Mar 20, 2009 at 5:04 AM, Karel Vervaeke <karel@outerthought.org> wrote:
> Hi, quick question about jcifs (version 1.1.11 - I know it's getting a bit old)
>
> One of our users used the password “WdIdwm1n?” and couldn’t login. His
> password has now changed and NTLM works fine.
> I suspect the question mark has something to do with it - are there
> any known problems with specific characters in passwords?
Not really. Passwords can contain any characters including Unicode. It
should work. In fact I just tried it with the latest 1.2 and
"testpass?" worked fine.
> Here's how we do the authentication:
>
> NtlmPasswordAuthentication mycreds = new
> NtlmPasswordAuthentication(domain, credentials.getLogin(),
> credentials.getPassword());
Look at the return value of getPassword() here to make sure the ? made
it to this point unmolested.
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic