Testing OpenLDAP

Updated , First Published by Pete Freitag

If you ever need to test LDAP stuff the OpenLDAP project runs a test server at ldap.openldap.org. It only has a few entries in it but it can be handy for building examples, or testing.

Here's how you would query/search the server in ColdFusion with cfldap:

<cfldap server="ldap.openldap.org" 
       action="query"
       name="results"
       start="dc=openldap,dc=org"
       attributes="cn,sn,givenName,mail,st,l,ou">
	   
<cfdump var="#results#">

Here's some more info about the service.

The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.