Knowing Password expiry wint Win32::NetAdmin

2001-11-30 Thread Veeraraju_Mareddi
Dear All Please tell me how can I know the password age attributes for the given user. Any examples on that.. With Regards Rajuveera ** This email (including any attachments) is intended for the sole use of the intended r

[Re:] [Re:] eventlog related win32-lanman problems and analysis

2001-11-30 Thread Yimin Zheng
guess i just forget the source file. On Fri, 30 Nov 2001 17:38:12 -0500 (EST) Yimin Zheng wrote: >I fixed 2 bugs in the eventlog.cpp. >1.Problem 1 described in my old post. >2.in XS_NT__Lanman_ReadEventLog(). using "recordPtr->Length" >alone one can not always correctly determine if all entries

RE: Win32::NetAdmin::GetServers

2001-11-30 Thread Greene, Adam S
Title: RE: Win32::AdminMisc::GetEnvVar Use any utility or process to get a list of machines from your browse list and you will get different numbers every time. The machine accounts themselves are not OS specific - when you are getting a list of a particular OS type, you are relying on the b

[Re:] eventlog related win32-lanman problems and analysis

2001-11-30 Thread Yimin Zheng
I fixed 2 bugs in the eventlog.cpp. 1.Problem 1 described in my old post. 2.in XS_NT__Lanman_ReadEventLog(). using "recordPtr->Length" alone one can not always correctly determine if all entries are processed. This sometimes leads the code to terminate with LastError=122. I added "dwUnprocessed

Win32::NetAdmin::GetServers

2001-11-30 Thread Shea, Linchi
Title: RE: Win32::AdminMisc::GetEnvVar If I run this for a domain with  a large number of machines, I always get different number of servers in array @servers. For instance, I may get 582 machines in one run, while getting 712 in another run.     Win32::NetAdmin::GetServers( '', $domain, S

RE: Problem with PING method

2001-11-30 Thread DePriest, Jason R.
The following is the code I use to verify if a system is reachable before I perform other actions on it. I have used it in several scripts and it works as advertised. Assume the script has use Net::Ping and also has defined the IP address of the system you are trying to reach as '$Destinati

RE: Problem with PING method

2001-11-30 Thread Gary MacDonald
The documentation for Net::Ping doesn't suggest that an IP address string (e.g., '192.168.1.1') has to be converted to a thirty-two bit integer.  Just use the IP address string (or a scalar containing the string):   print "Host is alive" if $p->ping('192.168.1.1');   Net::Ping d

Problem with PING method

2001-11-30 Thread Roboz Béla
Hi All,       Please help me, Why the ping method in the prg. doesn't return a true value? I don't understand it.   Thanks: Beci   #!/usr/bin/perl -wuse Socket;use Net::Ping;   $iaddr=inet_aton("127.0.0.1"); # or other address   $p = Net::Ping->new();print "Host is al