RE: best way to list/remove network connections

2002-08-21 Thread Steven Manross
Win32-Lanman can do this. Check out CPAN: Look at grabbing 1.0.9.2 http://www.cpan.org/modules/by-authors/id/J/JH/JHELBERG/ Steven -Original Message- From: Brian Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 9:10 AM To: [EMAIL PROTECTED] Subject: best way to

RE: best way to list/remove network connections

2002-08-21 Thread csaba . raduly
Brian Gibson wrote: Does anyone know of a module you can use to list all of the current connections to remote shares (whether they be to a UNC path or to a drive letter) so they can be disconnected? I thought Win32::LanMan could do this but when I run install Win32::Lanman from PPM I

w2k network manipulations ???

2002-08-21 Thread Michael D. Schleif
This is what I do manually on a w2k server: [1] enable network interface; [2] dhcp release [3] dhcp renew [4] do some network stuff / [5] disable network interface How can I automate this? Which modules contain functionality that I need to know? -- Best Regards, mds mds resource

:LDAP and ADSI question.

2002-08-21 Thread Norris, Joseph
Henry, Thanks for this bit of code - I really need something like this to get me started. I made the changes so as to get my feet wet. Fired up the script and got the following: IO::Socket::INET: Timeout at ldap_test2.pl line 7. Where do I go from here to trouble shoot this problem?

Re: w2k network manipulations ???

2002-08-21 Thread Ted Byrne
You might want to check out the netsh command. You can use it to dump the current network configuration (or a part of it) to a file, which can then be used later to restore your desired setup. I use this to configure my laptop's network settings when moving from one network environment to

RE: Teeing STDERR?

2002-08-21 Thread Carter Thompson
If you just can't get IO::Tee to work, write your own: This function will print to both STDERR and a specified in logfile. The syntax to use it is: writeit(Your String\n, $YOUR_LOGFILE); Here's the function: sub writeit{ my $string = shift @_; my $LOG = shift @_;

RE: best way to list/remove network connections

2002-08-21 Thread Steven Manross
Win32::Lanman::NetSessionEnum($server, $client, $user, \@info); Win32::Lanman::NetSessionDel($server, $client, $user); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 9:41 AM Cc: [EMAIL PROTECTED] Subject: RE: best way to

Perl Presentation

2002-08-21 Thread Stanley . G . Martin
I've been charged with putting together a Brown Bag session for a group of application people on what Perl is and what it does for me as a System Administrator and what it might do for them. Anyone know of a place to get some good information to help put this together. Most of these people

Re: Perl Presentation

2002-08-21 Thread Martin Moss
cpan.org is a good place to start - stressing the fact that most intricate code you will ever need to write has probably been done by somebody else. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 6:28 PM Subject:

Not sure which list to use - this is a real strange one with ODBC

2002-08-21 Thread Norris, Joseph
Groups, I have this snippet of code: $dbh = DBI-connect( dbi:ODBC:${db_name}, $user, $pass) or DoError(Unable to connect: $DBI::errstr); #$dbh-debug(2); $fsql = qq!select empl_no_a, user_ln, user_fn, user_mi, aka, longname_a, longname_b, longname_c, useaka from activeempsinfo!;

RE: Not sure which list to use - this is a real strange one with ODBC

2002-08-21 Thread Norris, Joseph
Agreed except in this case what I have to read is a FoxPro database - (yuck!) -Original Message- From: Gerald Clark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 11:28 AM To: Norris, Joseph Cc: Mysql_List (E-mail); Perl Database (E-mail); Perl Web (E-mail); Perl Win32 Users

Re: Job Op in Perl

2002-08-21 Thread Martin Moss
Apologise all you want, it's still SPAM! Marty - Original Message - From: Carter Thompson [EMAIL PROTECTED] To: Perl-Win32-Users (E-mail) [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 8:37 PM Subject: Job Op in Perl Considering the current economy and the fact that technical

RE: Teeing STDERR?

2002-08-21 Thread Carl Jolley
The example I quoted will do both, providing that you are using the print command. How does your script normally output to STDERR? Does it use the warn command? If so would it not be too much effort to change: warn This is an error\n; to print $tee This is an error\n;

Re: From dos to a window.

2002-08-21 Thread Dick Penny
I too use Perl/Tk as a newbie. It works but its learn curve is steep. Make lots of simple examples. Dick - Original Message - From: Beckett Richard-qswi266 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 6:36 AM Subject: From dos to a window. Chaps, I've just

NEWBIE: net::smtp::multipart error OR sending attachments via SMTP

2002-08-21 Thread Thoenen, Peter Mr. EPS
Hello everybody, Getting the error: Can't locate object method new via package Net::SMTP::MultiPart Surprised I am getting the error and can't figure out why. I have all the module requirements and the module installed correctly (see EOM, even tried reinstalling it). The code below is the

Re: Perl Presentation

2002-08-21 Thread Mark Pryor
Hi, I've been charged with putting together a Brown Bag session for a group of application people on what Perl is and what it does for me as a System Administrator and what it might do for them. Anyone know of a place to get some good information to help put this together. Most of these

Win32::Process

2002-08-21 Thread Gossett, Malachy
Title: Message I don't know if this is the correct group for this, as I rarely post anything, if not, I'm sure someone will be kind enough to mention it. Issue 1 I have a situation where two processes have to be created from the same script. I'm using Win32::Process::Create to do this.

Re: NEWBIE: net::smtp::multipart error OR sending attachments viaSMT P

2002-08-21 Thread $Bill Luebkert
Thoenen, Peter Mr. EPS wrote: Hello everybody, Getting the error: Can't locate object method new via package Net::SMTP::MultiPart Change all refs from Net::SMTP::MultiPart to Net::SMTP::Multipart ^ ^ lowercase p on Multipart. --

Win98 and Perl - funny file behaviour

2002-08-21 Thread Allegakoen, Justin Devanandan
Heres a weird one you guys:- I take a HTML file, I strip the HTML tags with the substitution s/.*?//g; (its a simple HTML file so all of the tags get removed, but file size runs up to 14MB). I then print the file to a text document using perl program.pl file.txt. I make another program where

Can't get mail sending scripts to work

2002-08-21 Thread TC Winquist
These scripts both use to work. But now they don't. Both of them are for sending e-mail. I'm using Win2k Adv. Server. I'm using IIS's default SMTP server on a port number other than port 25 and I allow relaying through that port. Let's just say it's port 87654. (Can you tell I'm paranoid?)

RE: Not sure which list to use - this is a real strange one with ODBC

2002-08-21 Thread Jeff Urlwin
I definitely fixed some problems when using Foxpro in DBD::ODBC in the later/latest versions. However, I do not believe that ActiveState has caught up with me yet. Use search.cpan.org searching for DBD::ODBC to check the changes information and compare that with the version you are running now.