Your best bet is to: Query the person first filtering on their username first:
<cfldap action="query" filter="samaccountName=#username#" attributes="dn" server="server" port="port" username="username" password="password" name="ldapResults"> Then make the change Using ldapresults.DN More steps, but I think a little more sure to be accurate. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -----Original Message----- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 10:19 AM To: CF-Talk Subject: RE: Resetting Active Directory Password using CFLDAP ? So if I wanted it just to change the name of the user who entered their details in the change password form It would be dn="uid=sAMAccountName,ou=Users,DC=domain,dc=co,dc=uk" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

