CURL and LDAPS – How to Search and Debug

I hit an issue where I needed to Search LDAP from a machine I didn’t have access to install new RPMs on. I found this cool article on CURL and LDAP Search. I had to make some minor modifications to get it to work with a secure connection (–insecure ldaps:// and 636). I also added -v to diagnosis some connection problems.

curl "ldaps://127.0.0.1:636/DC=IBM.COM?cn,objectClass?sub?(objectClass=)" -u "cn=user1,ou=test_org3,o=dr,DC=IBM.COM" --insecure -v
Enter host password for user 'cn=user1,ou=test_org3,o=dr,DC=IBM.COM':
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 636 (#0)
* LDAP local: LDAP Vendor = OpenLDAP ; LDAP Version = 20428
* LDAP local: ldaps://127.0.0.1:636/DC=IBM.COM?cn,objectClass?sub?(objectClass=
)
* LDAP local: trying to establish encrypted connection
DN: dc=ibm.com
objectClass: domain
objectClass: top

DN: o=dr,dc=ibm.com
objectClass: organization
objectClass: top

DN: ou=test_org3,o=dr,dc=ibm.com
objectClass: organizationalunit
objectClass: top

You can then find the userids you need quickly. I left them off the output intentionally.

If you see connected, but no results, I suggest changing to the top level of the ldap, and using this string – ldaps://127.0.0.1:636/DC=IBM.COM?cn,objectClass?sub?(objectClass=*)

IBM Connections Cloud Application Development Workshop – Q4 2014

Thanks to Paul Godby, a colleague in the Ecosystem Development group in IBM, there is an update to the IBM Collaboration Solutions Ecosystem Development Community. The update is compelling a new set of self-paced workshops are available for IBM Connections Cloud Application Development.

Anyone that is a member of IBM Greenhouse can access the materials.  To become a member, you have to sign up for Greenhouse at the account sign up page.

Per Paul, developers “learn how to develop applications for the IBM Connections Social Cloud”.  Some cool things to think about are – “no need to provision a hosted server environment,” IBM BlueMIx, and using REST APIs to build social applications with Connections data in the cloud. You can read his detailed Description in the community, and access the Self-Paced Materials – https://greenhouse.lotus.com/files/app#/folder/925ed061-f7a9-40fb-9ae3-90a4df350651

Other workshops area available in the Available Workshops

I hope you all find this update helpful.

First Time Through… BSS and API Explorer Tip

My colleague Phil Riand, since moved on to Trilog Group, created a very dynamic API Explorer which can be synchronized with the Documentation.  It’s good stuff, and a nice reference.

A customer ran into a problem calling the BSS APIs against the IBM Connections Cloud (IBM SmartCloud for Social Business) C1 Test Environment.  The default environment is setup with Open Authorization, and you can configure your own environment.

Login to Greenhouse

Use the Environments Drop down

Select Custom

Select IBM SmartCloud for Social Business

Select Basic Authorization

Click C1

Click Save

Screen Shot 2014-10-23 at 7.10.45 PM

Now Click on BSS -> Authorization

Click Login (Login with your C1 credentials)

Screen Shot 2014-10-23 at 7.12.54 PM

Use the APIs….

IBM Connections Developers Launch

CloudRelationshipCoin

As announced on the IBM website, IBM SmartCloud for Social Business is now IBM Connections Cloud.   Users can still take advantage of the “… access to business-grade file sharing, social networking, communities, online meetings, instant messaging, email, and calendar.”

Along with the re-launched website – IBM Connections Cloud, my team has relaunched the IBM Connections Developershttps://developer.ibm.com/social/.   We are focused on making sure Developers have the tools and information to rapidly build applications with our cloud.  Luis Benitez did a great job describing all the changes with the Cloud and the Developer Experience on his blog.

The team came up with this summary, which has since become our tagline, “Think Social. Develop with Web Standards. Deliver outstanding Apps.”  My colleagues and I are going to show you the way to quickly get started, adopt social patterns and develop compelling and repeatable integrations and social applications.

Connect with me here, or the team on the website.  I look forward to it.