the 'port' attribute is missing. Adding this will fix your problem --- Marlon Moyer <[EMAIL PROTECTED]> wrote: > Have you tried giving it a username and password? > > > > -----Original Message----- > From: Shahzad.Butt > [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16, 2003 10:54 AM > To: CF-Talk > Subject: MS AD > > > 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

