logo

Pages


Erick’s Games

Faith

Older Games

Other Blogs

Posts

Categories

 

August 2009
S M T W T F S
« Jul   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  



Comments

Administration

“The username, password, or domain is not correct. Please correct the entry” BES 5.0

August 12, 2009

As I write this entry, I am on the phone with RIM technical support.  Let me tell you the story of upgrading my BES server to version 5.0.

*NOTE: The second time for this issue, the issue was DNS related insofar, the entry had gotten changed with the wrong server name through replication.
I have been working with BES for a long time (since version 2) and my current environment is 4.6.  I downloaded the 5.0 upgrade media and kicked off the install.  I was pleased with the progress and the install seemed to be moving right along with no major issues.  Every other time I have upgraded my BES servers, something always went crazy mid install, be it my fault or not.

The first option which I am still regretting is the option to select windows authentication for the Blackberry Administration Service.  I had thought, why would I need another hardset password, my organization would just use the besadmin account anyways!  As you will see, this is a huge mistake.

The install finishes without any noticeable problems and the first thing I realized was that the Blackberry manager snapin no longer works.  I read up on the features that version 5.0 brings, but for some reason, I never knew that it would take it to a webdav.  Regardless, I launch the shortcut and it brings me to a pretty login page where I enter the besadmin creds.  It then provides the error message:

“The username, password, or domain is not correct.  Please correct the entry”

The first thing I do is enter it again, and again, and again.  Next, I check to make sure that the time is correct on the bes server and the LDAP domain controller.  It is.  This rules out TIME KB.  I then verify that my reverse DNS and proper ldap settings are correct.  They are.  This rules out the LDAP kb.

After further reading, I see that the test LDAP settings button may be corrupted.  I did hit the test LDAP button (who wouldn’t????) and thought, HA that MUST be my problem.  I followed the following steps in option 1, and rebooted the BES, but the error still occurred.

Option 1

  1. On the server where the BlackBerry Administration Service is installed, navigate to this directory:<drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\bin
  2. Run the following command:basUtility “C:\Program Files\Java\jre1.5.0_15″ “C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS” encode “<LDAP Password>” > C:\Output.txt
  3. Open the text file created in Step 2.
  4. Copy the hashed version of the password to your Microsoft SQL Server.
  5. Run the following SQL Query against the BlackBerry Configuration Database:update BASAuthenticationCredentials set password = ‘<contents of output.txt>’ where AuthenticationType LIKE ‘1′
  6. Restart the BlackBerry Administration Service services.
  7. Log in to the BlackBerry Administration Service using Microsoft Active Directory.

Option 2

Install the BlackBerry Administration Service again.
I then went down the path of option 2, but this also did not fix my issue.  At this point, I was at wits end, and decided to give RIM tech support a call.  Applying the latest SPs actually allowed me to login, and I was happy.  This worked until my VM got rebooted, and now today, the problem is still occuring.  Once the BES tech gets back on the phone, (I have been on hold for 40 minutes now, while he “reviews” my case, I will paste the resolve)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Technorati

6 Responses to ““The username, password, or domain is not correct. Please correct the entry” BES 5.0”

  1. 1
    BESman9No Gravatar Says:

    So what was the fix? Are you still on the phone with RIM… I am having the same issue and have been back a forth with RIM for several days now. Thanks

  2. 2
    ZohaibNo Gravatar Says:

    Whats the update to this? Were you able to get this resolved?

  3. 3
    bwernerNo Gravatar Says:

    Were you able to get this resolved? I have the same issues. I have LDAP working, but can not log into web desktop manager, nor administration console with LDAP credentials.

  4. 4
    RIMsuxNo Gravatar Says:

    Nice wall of text to bad it is USELESS without a fix, I am glad I skipped to the comments and noticed you did not provide or came across a fix instead of wasting my time reading what I already know.

  5. 5
    ToddNo Gravatar Says:

    All it was for me was that if you looked carefully during your LDAP query verification it will succeed – but it’s kind of a faux pas. Because in reality if you used the default besadmin user to query it – sure it will find it – but it doesn’t have AD permissions to perform an actual query and password authentication. Just use a domain administrator account to do the LDAP query – and it works just fine after that. I thnk you can change your LDAP query username in the configuration without having to re-run the entire setup like I did :)

    Cheers! I won’t find my way back to this blog – but I hope I helped someone.

  6. 6
    shayNo Gravatar Says:

    Had this problem last night. Adjusting the LDAP settings causeses a plain text password (not a hashed password) to be stored in the ldap preventing login. Please see http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB18161

Leave a Reply

Google