I have two different solutions:
#1. VB COM object that resets the password. (It's been a while since I
used this. It was more of an academic test to use a COM object.)
#2. CFEXECUTE that calls the "NET USER" command.
Here is an example of #2:
<cfset Args = "user #Form.UserName()# #Form.Password# /domain">
<cfsavecontent variable="Results">
<cfexecute name="c:\windows\system32\net.exe" arguments="#Args#"
timeout="10" />
</cfsavecontent>
Just make sure your CF service has, at least, ACCOUNT OPERATOR
permissions on the domain.
M!ke
-----Original Message-----
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 4:41 AM
To: CF-Talk
Subject: Coldfusion + Active Directory
Hi
Is it possible using Coldfusion to reset users passwords on active
directory via a html form?
If so does anybody on the list have any pointers, tutorials on how to do
so.
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264039
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4