Trying to use cfexecute to change an AD password.  Works no problem from the
command prompt however when I load the page it get:

 

The cause of this exception was that: java.io.IOException: CreateProcess:
"net user.exe" MYUSERNAME MYPASSWORD /domain error=2 

 

-          or - 

-           

The cause of this exception was that: java.io.IOException: CreateProcess:
"net user.exe" MYUSERNAME MYPASSWORD /domain error=3

 

My psuedocode is:

 

cfset args = "#Trim("MYUSERNAME")# #Trim("MYPASSWORD")# /domain"

 

cfsavecontent variable="results"

            cfexecute name="net user.exe" arguments="#args#" timeout="10" /

/cfsavecontent

 

I have verified that the account that runs the Coldfusion service has the
appropriate rights to access net user.exe and verified that the cfexecute
tag is not disabled in cfadmin.

 

Any Ideas would be greatly appreciated.

 

Thanks,
Brian R. Polackoff

 

Coldfusion Version 6.1

 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216660
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