Pete Freitag Pete Freitag

Testing OpenLDAP

coldfusion

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.


Like this? Follow me ↯

Testing OpenLDAP was first published on March 03, 2006.


FuseGuard Web App Firewall for ColdFusion

The FuseGuard Web Application Firewall for ColdFusion & CFML is a high performance, customizable engine that blocks various attacks against your ColdFusion applications.