From: Glen Holcomb Date: 2008-03-05T06:34:16+09:00 Subject: Re: Managing Windows from Linux via Ruby ------=_Part_35623_8785639.1204666430311 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Mar 4, 2008 at 2:22 PM, Martin DeMello wrote: > On Tue, Mar 4, 2008 at 11:14 AM, Glen Holcomb > wrote: > > Does anyone know of a reliable way to manage resources on Windows > machines > > from a Linux platform using Ruby? I'm currently using win32api and > win32ole > > to create directories and set permissions on multiple remote Windows > > machines but would like to migrate my application to a Linux platform. > I'm > > also interacting with AD but that works fine with LDAP. > > > > Anyone have any suggestions on how I could go about this, or is it not > worth > > my while? > > One reasonably cheap way is to use win32-service to run a drb server > that calls your other windows libraries across the network from your > linux box. I've used this approach quite successfully, albeit for very > trivial tasks. I used rubyscript2exe and srvany.exe to make the > service, because i was unaware of win32-service at the time; if I had > to do it again I'd probably use the latter. > > martin > Thanks for the idea Martin. It doesn't sound too horrible. I'll look into it. -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_35623_8785639.1204666430311--