Configure BlackBerry Enterprise Server to work with LDAP instead MAPI

Posted on June 18th, 2008 in BES Server, Black Berry by Gil Kreslavsky

Reasons to do do the update.

If you receive errors

  1. Unable to initialize the MAPI using profile BlackBerry Server Management! Please contact your BlackBerry administrator.
  2. Unable to initialize the RIMDatabase class
  3. Unable to save configuration settings or statistics

If you are moving mailboxes across information stores and you don’t want to reboot server or restart services.

And if you are using multiple domains

Procedure

The LDAPDomain , LDAPSearch , LDAPport , LDApssl , LDAPALPSearch registry entries are used to configure the Lightweight Directory Access Protocol (LDAP) for the BlackBerry Enterprise Server. These registry entries allow the BlackBerry Enterprise Server to use LDAP instead of the default Messaging Application Programming Interface (MAPI) for specific functions.


LDAPDomain

The LDAPDomain entry configures the BlackBerry Enterprise Server to use a specific domain when performing LDAP searches.

Note: In an environment with multiple domains, the LDAPDomain key is required.

  1. Open the Registry Editor by clicking Start > Run . Type regedit and click OK .
  2. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterHKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • For BlackBerry Enterprise Server software versions 3.5 and 3.6HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  3. Create a new String Value called LDAPDomain and change the entry in the Value data field to the Global Catalog and Port that the BlackBerry Enterprise Server will use. If the BlackBerry Enterprise Server must connect to multiple Global Catalogs for name resolution, specify all of them in this value with their fully qualified domain names (FQDNs) as follows:: : :

Example : dc01.domain.com:389
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:11.0pt; font-family:”Calibri”,”sans-serif”; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi;} span.paracode {mso-style-name:paracode; mso-style-unhide:no;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; mso-margin-top-alt:auto; mso-margin-bottom-alt:auto;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} –>

  1. Press ENTER .
  2. If you are not configuring other entries, close the Registry Editor.

LDAPSearch

The LDAPSearch entry is used for address resolution only.

  1. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterHKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • For BlackBerry Enterprise Server software versions 3.5 and 3.6HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  2. Create a new DWORD Value called LDAPSearch and change the entry in the Value data field to 1 .
  3. Select the Hexadecimal option and press ENTER .
  4. If you are not configuring other entries, close the Registry Editor.

LDAPport

The LDAPport entry configures the BlackBerry Enterprise Server to use a specific LDAP port for searches.

  1. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterHKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • For BlackBerry Enterprise Server software versions 3.5 and 3.6HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  2. Create a new DWORD Value called LDAPport and change the entry in the Value data field to the specific LDAP port that will be used.
  3. Press ENTER .
  4. If you are not configuring other entries, close the Registry Editor.

LDAPssl

The LDAPssl entry enables the use of LDAP over Secure Sockets Layer (SSL) for searches or lookups.

  1. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterGo to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • BlackBerry Enterprise Server software versions 3.5 and 3.6Go to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  2. Create a new DWORD Value called LDAPssl and change the entry in the Value data field to 1 .
  3. Select the Hexadecimal option and press ENTER .
  4. If you are not configuring other entries, close the Registry Editor.

LDAPALPSearch

The LDAPALPSearch entry is used for address lookups from the BlackBerry smartphone.

Note: This entry only applies to BlackBerry Enterprise Server software version 4.1.

  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents .
  2. Create a new DWORD Value called LDAPALPSearch and change the entry in the Value data field to 1 .
  3. Select the Hexadecimal option and press ENTER .
  4. Close the Registry Editor.

Related Articles

2 Responses to 'Configure BlackBerry Enterprise Server to work with LDAP instead MAPI'

Subscribe to comments with RSS or TrackBack to 'Configure BlackBerry Enterprise Server to work with LDAP instead MAPI'.

  1. Coupland said,

    on December 15th, 2008 at 11:38 pm

    I’ve been testing Lookups with our Blackberry devices and have found that they are only successful on our Active Directory Contacts when the Contacts are configured with Exchange properties. If I switched our BES to LDAP instead of MAPI, would this find Contacts without Exchange properties?


  2. on December 16th, 2008 at 7:30 am

    I suggest you contact official BES support.

Post a comment

CommentLuv Enabled





Search Kreslavsky.com
Custom Search