EXCLUSIVE: New pre-release BlackBerry 10 OS images surface - homescreen widgets make their BB debut!
Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > BlackBerry Administrators

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 06-02-2009, 04:03 PM
CrackBerry User
Device(s): 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #2  
Old 06-02-2009, 05:49 PM
CrackBerry Abuser
Device(s): 9520 (Storm2)
Carrier: Vodafone
 
Location: UK
Join Date: Jan 2009
Posts: 222
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #3  
Old 06-03-2009, 09:51 AM
CrackBerry Abuser
Device(s): 8530 (Curve)
Carrier: US Cellular
 
Location: WV
Join Date: Jun 2007
Posts: 481
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

The user or users have to be added to BES before you can login using AD authentication.
Reply With Quote Tip this Post
    Thread Author   #4  
Old 06-03-2009, 11:03 AM
CrackBerry User
Device(s): 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #5  
Old 06-03-2009, 01:19 PM
CrackBerry Abuser
Device(s): 8530 (Curve)
Carrier: US Cellular
 
Location: WV
Join Date: Jun 2007
Posts: 481
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

On LDAP authentication, what do you have listed?
Reply With Quote Tip this Post
    Thread Author   #6  
Old 06-03-2009, 02:17 PM
CrackBerry User
Device(s): 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #7  
Old 06-03-2009, 02:37 PM
CrackBerry Abuser
Device(s): 8530 (Curve)
Carrier: US Cellular
 
Location: WV
Join Date: Jun 2007
Posts: 481
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

ldap://domaincontroller1.mydomain.com:389

LDAP search base: DC=domainname,DC=com

LDAP username: besadmin
Reply With Quote Tip this Post
  #8  
Old 06-03-2009, 04:51 PM
CrackBerry Abuser
Device(s): 9520 (Storm2)
Carrier: Vodafone
 
Location: UK
Join Date: Jan 2009
Posts: 222
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
    Thread Author   #9  
Old 06-04-2009, 01:15 PM
CrackBerry User
Device(s): 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #10  
Old 06-04-2009, 01:18 PM
CrackBerry Abuser
Device(s): 8530 (Curve)
Carrier: US Cellular
 
Location: WV
Join Date: Jun 2007
Posts: 481
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Did you setup roles for the user on BES in question?
Reply With Quote Tip this Post
    Thread Author   #11  
Old 06-04-2009, 01:47 PM
CrackBerry User
Device(s): 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #12  
Old 06-04-2009, 01:51 PM
CrackBerry Abuser
Device(s): 8530 (Curve)
Carrier: US Cellular
 
Location: WV
Join Date: Jun 2007
Posts: 481
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #13  
Old 06-04-2009, 02:10 PM
CrackBerry Abuser
Device(s): 9520 (Storm2)
Carrier: Vodafone
 
Location: UK
Join Date: Jan 2009
Posts: 222
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Not much help but its a clue.

View Document
Reply With Quote Tip this Post
    Thread Author   #14  
Old 06-30-2009, 02:02 PM
CrackBerry User
Device(s): 8330 (Curve)
Carrier: Bell
 
Join Date: Apr 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

For anyone looking; this has been fixed by adding a manual entry to my ldap server in the lmhosts file.
Reply With Quote Tip this Post
  #15  
Old 07-14-2009, 02:56 PM
CrackBerry User
Device(s): 9700 (Bold)
Carrier: T-Mobile
 
Join Date: May 2009
Posts: 53
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > BlackBerry Administrators   Cannot login using AD; wrong LDAP server in log?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes