I have something you may like.  This script comes in quite handy when
looking for LDAP attributes.

http://acelinkdev.evansville.edu/hoflists/UserDumpCopy.zip

Make sure to edit the values in the script to reference your own domain
controllers/LDAP servers.

I don't have it dump all attributes because some values are large binary
objects that I rarely ever need to view.  The hard-coded attributes are
the primary ones we look at here.

M!ke 

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 13, 2005 12:00 PM
To: CF-Community
Subject: RE: Print Active Directory Schema from CF

http://www.ldapbrowser.com/

This is even easier then a CF solution, be sure to get the free edition
unless you need the functionality of the latest paid version.

The trouble I had with CF was that there are sections of the AD that I
did not have permission to access from CF.  So the ldapbrowser allowed
me to explore the directory then write the appropiate CFLdap tags to
retrieve the information I needed.  

Such as:
<cfldap
  name="allGroups" username="xxxx" password="yyyy"
  server="ourServer"
  action="query" attributes= "CN, groupType, distinguishedName,
samAccountName, displayName"
  scope="subtree" start="DC=smfbc,DC=org"
  sort="CN"
filter="(|(grouptype=-2147483646)(grouptype=-2147483644)(grouptype=-2147
483643)(grouptype=-2147483640))">

Which retreives all the NT security groups of our Active Directory.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:187660
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to