> mmmmmm... nope, still not working for me.  In addition to
> your example, I've also tried running it from a cmd.exe
> shell - i.e.:
>
> <cfexecute name="c:\winnt\system32\cmd.exe"
>            arguments="net user testme testme /add">
> </cfexecute>
>
> ... still no dice.

I couldn't get it to work that way, either.

> Is your CF service running as localsystem?

Yes, it is. I tested this on my development machine, running Win2K and CF
4.5.1. I'm using the standard security configuration (essentially, no
security); this might be your problem, if you've modified your user rights
and security configuration in one way or another.

If you're trying to manipulate users, rights, etc. you might want to take a
look at ADSI, which you can use through COM. CFOBJECT isn't really good at
doing this, but it's pretty easy to write wrapper objects, and call those
objects to do your ADSI tasks. I've used Windows Script Components for this.

> On a tangent, can anyone recommend an FTP server that would
> integrate well with CF automation? The ultimate goal here is
> to automate the creation of user accounts and access rights.
> Currently, I'm trying to add the user to an NT domain (duh)
> and then I'm assigning server permissions at the file level
> using xcacls.exe (this works just dandy using CFEXECUTE).

I've had few problems using IIS's web server for this.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to