This can be done from windows for certain. I'm not sure if samba lets you do RPC stuff that is required to stop/start services remotely.
What you want to get a hold of is all the MS Resource Kits (server, workstation, etc). These have a bunch of command line utils that make writing batch jobs easy (either .bat or vbscript - though I prefer perl) One of those utils is NETSVC.exe, which allows you to remotely stop and start services. Though in general, you should never need (or want) to use telnet or anything interactive when you have that many machines. Everything in the windows client world can be done via 3 methods- files, registry (also files), and RPC. And all 3 things are highly scriptable. (there's a perl CPAN module for most everything too, like registry editing and even event logging). Server administration uses the above 3 + LDAP. Though the ratio of servers to clients is usually low enough that batch server configuration isn't needed. With > 1000 machines, you might also consider SMS. Though the resource kits are much much cheaper. -Jason On Wed, 7 Jul 2004 17:09:44 -0400, Todd Snyder <[EMAIL PROTECTED]> wrote: > Hey all.. > > first off, I'm sorry if this is posted somewhere or in the docs ... I've > spent numerous hours searching and not had any luck, so here goes .. > > We remotely admin a few thousand xp machines ... currently we have to > have a person at a machine enable the telnet service for us (through a > handy front end) so we can connect and check things out. After some > poking around the samba docs, I'm led to believe that there should be a > way to remotely start a service from the command line. > > Can anyone tell me if I'm correct, and if so, how? I've tried doing > smbclient //x.y.z.a/TlntSvr -U username but that doesn't work and thats > the closest I've gotten. I saw a post from 2000 on another list that > mentioned using rpcclient I think, but nothing further. > > Any suggestions would be greatly appreciated as it would cut out a lot > of fumbling around/waiting on hold when trying to fix problems. > > Cheers! > > t. > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
