Hello,
I would like to know how I go about retrieving a full list of
computers from AD using CFLDAP.
I have successfully done this for users using the following
code and it works a treat. Does anyone know how I acheive the same
thing but for computers?
<cfldap action="QUERY"
name="results"
attributes="userPrincipalName,description,physicalDeliveryOfficeName,samaccountname,cn,ou,dn"
start="ou=People,dc=*****,dc=**,dc=com"
scope="SUBTREE"
filter="(&(objectCategory=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))"
sort="cn ASC"
server="server"
username="****"
password="****">