How can I query MS Active Directory and get a list of all emails for
users in AD?? My impression was that something like

    <cfldap    
   server = "TestServer"
       action = "query"
       name = "results"
       start = "cn = shaz,c = US"
       filter = "(cn = shaz)"
       attributes = "cn,o,l,st,c,mail,telephonenumber"
       sort = "cn ASC">


should work but its giving following error

"
An error has occured while trying to execute query operation on the LDAP
Server. 
One or more of the required attributes may be missing/incorrect or you
do not have permissions to execute this operation on the server 

"
Thanks
Shaz
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to