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.