Jenda, Thanks for the info. I appreciate the ideas. Seeing your response, I obviously didn't phrase my request as well as I could have:
I'm looking for a Perl module for Linux that allows "net use" functionality; does anyone know if such a module exists? I believe what is presented here is meant to be installed on a MS system. Joe On Mon, 2003-02-17 at 07:31, Jenda Krynicky wrote: > From: Joe Mecklin <[EMAIL PROTECTED]> > > > I'm tying to write a script which will connect to all PCs in an > > internal network to update select files. I currently have it working > > using > > > > system("net use ...") > > > > but I would like to use whatever module will replicate that > > connection/login/logout functionality; can anyone tell me which > > module(s) will allow me to do this? > > Win32::AdminMisc, Win32::Lanman, Win32::FileOp ... > > Eg: > use Win32::FileOp qw(Map); > Map 'X:' => '//server/share', > {user => $username, passwd => $password, persistent => 1}; > > You may install all via PPM. > Win32::FileOp is best installed from http://Jenda.Krynicky.cz/perl > > > Currently I have to run this from > > an NT box but would like to be able to move it to a Linux server we > > are turning up so it will be available to anyone with permission to > > perform this function w/o having to install Perl and this script on > > computers that would not otherwise need either.. > > Well that's a totally different task. I guess you could use some > executable that comes with samba to mount a WinNT/2k share, but I > know next to nothing about that. > > Jenda > ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== > When it comes to wine, women and song, wizards are allowed > to get drunk and croon as much as they like. > -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]