Dave and all,
I've gotten several helpful replies now but I'm still a little worried here.
Its starting to sound like this isn't a very good approach to my goal. I've
added some comments and thoughts inline below:
> > 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.
I've attempted testing this on several similar configurations, both my
development and staging servers and am not getting successful results. I've
tried including a timeout here as well with no luck.
My development and staging machines are both running 4.5.1 and NT 4 SP5
(maybe 4.0 is the problem). If I add an outputfile param on the tag, the
'user /add' command produces no result (empty text file). If I issue a
'user' command, it produces an enumeration list in the file, but also the
ambigous 'one or more errors' message. If I issue a different command like
'view', it enumerates all the machines on the domain and reports 'operation
completed successfully'.
> 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.
Justing MacCarthy also suggested this route but this is turning into more
complexity than I have time or resources for right now. I was also provided
a good link to Lewis Sellers usermanager suite which appears to contain a
bunch of CFX's that will do exactly what I need.
> > 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.
Could you elaborate on this a little for me?
Thanks,
Ryan
Ryan Hill, MCSE
Director of Systems Integration
Market Matrix, Inc. - http://www.marketmatrix.com
------------------------------------------------------------------------------
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.