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.
09-10-2008 05:36 PM
I am using the BB-JDE 22.214.171.124.
My question is if I am required to authenticate into the LDAP Server, how do I accomplish this?
LDAPQuery query = new LDAPQuery();
I looked in the API, and there isn't any .set() for Principal and Password.
Thank you for any light you can shed on this.
09-13-2008 04:07 PM
I too have been looking for an answer to this. There is ZERO information about doing LDAP lookups in the API.
There is the sample application in the API documentation but it's very basic and doesn't even work for me using the MDS simulator.
I tried doing:
LDAPPasswordCache passcache = new LDAPPasswordCache(); passcache.setPassword(ldapServer, ldapBaseDN, ldapUserDN, ldapPass);
But the JDE complain:
C:\src\test\RIMLDAPTest.java:24: LDAPPasswordCache() has private access in net.rim.device.api.ldap.LDAPPasswordCache
Any help would be appreciated as I need to get LDAP results from our internal LDAP servers inside my app!
09-14-2008 02:10 PM
That gives me a build error:
C:\src\test\RIMLDAPTest.java:42: cannot find symbol
symbol : class getInstance
location: class net.rim.device.api.ldap.LDAPPasswordCache
LDAPPasswordCache passcache = new LDAPPasswordCache.getInstance();