Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 9
Registered: ‎10-18-2012
My Device: Blackberry 9800
My Carrier: TMobile
Accepted Solution

BES 5.0.4 "LDAP: LDAP_bind_s error = 0x00000052"



I have a BES 5.0.4 running on Windows server 2008 R2 and the application event log is full of "LDAP: ldap_bind_s error = 0x00000052" warnings, although the BES users are not complaining I'm pretty sure they shouldn't be there.


Please can you advise/point me in the right direction to resolve.


PS I have also noticed that we can't access the BES console when logging in as the BesAdmin but can access via local admin (BAS) account.


Thanks in advance

Forums Advisor III
Posts: 1,481
Registered: ‎08-29-2008
My Device: Blackberry Classic
My Carrier: Swisscom

Re: BES 5.0.4 "LDAP: LDAP_bind_s error = 0x00000052"

Which service is throwing that error? Please post the full event log entry.

New Contributor
Posts: 9
Registered: ‎10-18-2012
My Device: Blackberry 9800
My Carrier: TMobile

Re: BES 5.0.4 "LDAP: LDAP_bind_s error = 0x00000052"

It was the BlackBerry Messaging Agent Event ID:25117 but I have now managed to sort this myself by doing the following below.


1. Open regedit on the BES.

2. Go to either:

    32-bit: HKEY_LOCAL_MACHINE\Software\Research In Motion\BlackBerry Enterprise Server\Agents


    64-bit: HKEY_LOCAL_MACHINE\Software\WOW6432Node\Research In Motion\BlackBerry Enterprise Server\Agents 3. Export the Agents key.

4. Set the LDAPSearch value to 0.

5. Restart the BlackBerry Controller service.