I am trying to use cfldap to query AD and get the username and
password of the users and some other personal details out.

Heres my ldap bit:

      <cfldap action="QUERY" name="results"
attributes="uname,uid,user,password,givenname,sn,department,telephoneNumber,company,mobile,mail"
start="DC=domain,DC=au,DC=com" scope="SUBTREE" maxrows="100"
filter="(&(objectclass=user)(givenname=jen*)(sn=leonarder*))" sort="cn
ASC" server="10.8.4.50" username="domain\user" password="somepwd"
rebind="yes">

I am using cfdump after this to chuck out the results.

Now I get info in sn, givenname, telephoneNumber, mail, department and
company, but none of the variants of username or password seem to hold
the most important bit of info.

Can anyone tell me what I should be asking AD for in order to get the
username / password back?

What I am aiming for is 2 things: 
1) to use AD as the company intranet phone book
2) to use AD as the login for the intranet

The other thing is that its really slow - 23375 milliseconds to do
cfldap and cfdump.  Wat would be the possible causes of this?

Thanks everyone!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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

Reply via email to