ping() bad file descriptor at line...

2002-06-27 Thread Mark Zvolanek
> Hello, This problem only occurs on ONE PC only running Win NT4 sp6a with Perl build 631. my personal PC and few others around can not replicate this problem, I am running the same OS sp level and perl build as the above PC. I have a PC on the network which I use to check connectivity to other

RE: Removing machine accounts

2002-06-27 Thread Timothy Johnson
Title: Message I beleive you can find it and the author's name at http://www.roth.net/perl/scripts.  Watch out, though, because I believe that W2k machines have a longer period between password changes, so 30 days might be too low now. -Original Message-From: Pollack, David [mai

RE: Removing machine accounts

2002-06-27 Thread Timothy Johnson
You've got the right function, but machine accounts are not listed in the SAM as $PC_name.  Try replacing that with "$PC_name\$".  If you do a dump of all users using NetAdmin, you should see a bunch of accounts that look like this:  COMPUTERNAME$,SERVER1$,SERVER2$, etc.   -Origina

Fw: Removing machine accounts

2002-06-27 Thread c.barbet
-resent as I was unaware I was sending to an incorrect list previously-   Good Day All,   I've been searching around for the proper syntax to remove a machine account from a Windows Domain.  Here is the code I believe should accomplish that task: (I've also tried the domain controller name i

Permission/ACL on Windows NT share names using PERL

2002-06-27 Thread Simon Li
Hi, Could anyone tell me how to get the permissions / ACL of a shared directory on a Windows NT server. Will Win32:perm work? I need to write a PERL script to query and display the ACL/ACE of the share names on all our NT servers. Thanks, Simon