Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > BlackBerry Administrators

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-02-2009, 05:03 PM
CrackBerry User
Device Model: 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Default Cannot login using AD; wrong LDAP server in log?

Hi Guys,

I've installed BES 5 but cannot get any accounts to login using AD authentication.

My log file shows the following:

-----
(06/02 15:06:10:840):{http-BES.Mydomain.INC%2F10.0.0.104-443-2} [com.rim.bes.basplugin.activedirectory.LdapSearch] [INFO] [ADAU-1001] {u=SystemUser, t=6011} LOGIN ERROR: getActiveDirectoryRootDseInformation could not get rootDSE attributes for URL ldap://Mydomain.inc:389 error=javax.naming.CommunicationException: Mydomain.inc:389 [Root exception is java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine]
-----

i see the ldap server is listed wrong in my log it should be ldap://ns2.mydomain.inc:389 as it is entered in the BB config GUI.

Also im not sure if it is related but if this line {u=SystemUser, t=6011} represents my user acocunt specified in setup than it is also wrong.


please help...
Reply With Quote
  #2  
Old 06-02-2009, 06:49 PM
CrackBerry Abuser
Device Model: 9500 (Storm) and Bold
Carrier: Vodafone
 
Join Date: Jan 2009
Location: UK
Posts: 177
Default

I tried an old 5.0 release and couldn't get windows authentication working until I changes the port number to 3268 and not port 389.

When I tried the gold release it worked with port 389.

I hope this helps.
Reply With Quote
  #3  
Old 06-03-2009, 10:51 AM
sam2500's Avatar
CrackBerry Abuser
Device Model: 8320 (Curve)
Carrier: AT&T/Cingular
PIN: 24B8658E
 
Join Date: Jun 2007
Location: WV
Posts: 405
Default

The user or users have to be added to BES before you can login using AD authentication.
Reply With Quote
  #4  
Old 06-03-2009, 12:03 PM
CrackBerry User
Device Model: 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Default

Hi Guys thanks for your suggestions.

Although i still have the issue.

The account I am trying to log into is a member and activated on the bes server already.

I still think it's the fact that ldap is trying to search ldap://Mydomain.inc as opposed to ldap://hostname.mydomain.inc

Any other suggestions?

thanks alot.
Reply With Quote
  #5  
Old 06-03-2009, 02:19 PM
sam2500's Avatar
CrackBerry Abuser
Device Model: 8320 (Curve)
Carrier: AT&T/Cingular
PIN: 24B8658E
 
Join Date: Jun 2007
Location: WV
Posts: 405
Default

On LDAP authentication, what do you have listed?
Reply With Quote
  #6  
Old 06-03-2009, 03:17 PM
CrackBerry User
Device Model: 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Default

Hi Sam,

On LDAP authetication tab i have:

ldap://ns1-internal.mydomain.com:389

pressing verify all is ok.

Log shows ldap://Mydomain.com:389 instead; missing the actual hostname unless it was designed that way.

I do notice if i generate a hash for the Besadmin account i get something along these lines:

-b0f288fbc6d22d7988aff8f2a370d45c9b2a23d8a020165

thanks again for your help.
Reply With Quote
  #7  
Old 06-03-2009, 03:37 PM
sam2500's Avatar
CrackBerry Abuser
Device Model: 8320 (Curve)
Carrier: AT&T/Cingular
PIN: 24B8658E
 
Join Date: Jun 2007
Location: WV
Posts: 405
Default

ldap://domaincontroller1.mydomain.com:389

LDAP search base: DC=domainname,DC=com

LDAP username: besadmin
Reply With Quote
  #8  
Old 06-03-2009, 05:51 PM
CrackBerry Abuser
Device Model: 9500 (Storm) and Bold
Carrier: Vodafone
 
Join Date: Jan 2009
Location: UK
Posts: 177
Default

Why are you trying to log on to BAS as a user or are you trying the web desktop manager?

Are you trying to setup role based admin? When you add a user to the BES you also need to give them rights to log on by creating an admin role or assigning if you want them to be able to use BAS.
Reply With Quote
  #9  
Old 06-04-2009, 02:15 PM
CrackBerry User
Device Model: 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Default

Hi Guys,

I added a user ( myself ) to our Blackberry enterprise server.

He is now a member and my blackberry is activated on my BES.

When i try to login to the WEB DESKTOP console using Active Directory Authentication i get the following error:

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

If i check my BES-AS log i see the following:

(06/04 13:06:28:448):{http-BES.MYDOMAIN.INC%2F10.0.0.104-443-1} [com.rim.bes.basplugin.activedirectory.LdapSearch] [INFO] [ADAU-1001] {u=SystemUser, t=5806} LOGIN ERROR: getActiveDirectoryRootDseInformation could not get rootDSE attributes for URL ldap://MYDOMAIN.inc:389 error=javax.naming.CommunicationException: MYDOMAIN.inc:389 [Root exception is java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine

I'm stumped...
Reply With Quote
  #10  
Old 06-04-2009, 02:18 PM
sam2500's Avatar
CrackBerry Abuser
Device Model: 8320 (Curve)
Carrier: AT&T/Cingular
PIN: 24B8658E
 
Join Date: Jun 2007
Location: WV
Posts: 405
Default

Did you setup roles for the user on BES in question?
Reply With Quote
  #11  
Old 06-04-2009, 02:47 PM
CrackBerry User
Device Model: 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Default

Quote:
Originally Posted by sam2500 View Post
Did you setup roles for the user on BES in question?

Hi Sam,

I just added the user to the BES server. I didn't assign any roles to him.

Do i need to assign a role to the blackberry user in order for him to login to the web desktop managment console?

thanks alot i appreciate your help.
Reply With Quote
  #12  
Old 06-04-2009, 02:51 PM
sam2500's Avatar
CrackBerry Abuser
Device Model: 8320 (Curve)
Carrier: AT&T/Cingular
PIN: 24B8658E
 
Join Date: Jun 2007
Location: WV
Posts: 405
Default

It appears you don't have to, I deleted all the roles I setup for myself and I was still able to login using AD username and password.
Reply With Quote
  #13  
Old 06-04-2009, 03:10 PM
CrackBerry Abuser
Device Model: 9500 (Storm) and Bold
Carrier: Vodafone
 
Join Date: Jan 2009
Location: UK
Posts: 177
Default

Not much help but its a clue.

View Document
Reply With Quote
  #14  
Old 06-30-2009, 03:02 PM
CrackBerry User
Device Model: 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Default

For anyone looking; this has been fixed by adding a manual entry to my ldap server in the lmhosts file.
Reply With Quote
  #15  
Old 07-14-2009, 03:56 PM
CrackBerry User
Device Model: 8900
Carrier: T-Mobile
 
Join Date: May 2009
Posts: 38
Default

As of my last conversaton with RIM, AD authentication on BAS does not work nd they have no ETA on when it wil be fixed.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



 
 Site Support | Accessory Order Support | App Store Support | Advertise | Newsletter | About Us

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

The names RIM and BlackBerry are registered Trademarks of Research in Motion Limited.
CrackBerry.com is in No Way Affiliated with Research in Motion Limited.
Copyright ©2007-2009 Smartphone Experts. Terms and Conditions. Privacy Policy. All rights reserved.