pf » Testing OpenLDAP

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.



8 people found this page useful, what do you think?

Trackback Address: 547/E7D27B6B36122BC54F147148F842A5E3



  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags