RE: How do I get the Password Age on Unix from Windows NT

2002-08-20 Thread Tillman, James
-Original Message- From: Oliver Wayne Contr AETC/DOXD [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 8:13 AM To: Perl-Win32-Users (E-mail) Subject: How do I get the Password Age on Unix from Windows NT I am trying to write a script in Perl that will query the

File Operator -e

2002-08-20 Thread Briggs, Larry
I just upgraded to ActivePerl 5.6.1 Build 633 from ActivePerl 5.00503. I was using the file operator -e to check if a file existed this use to work fine. But since I up graded the code does not work. Has anyone ran into this problem and what is the fix. The code is as follows. # common screen

Update Info on retrieving password age from Unix

2002-08-20 Thread Oliver Wayne Contr AETC/DOXD
Title: Update Info on retrieving password age from Unix I am trying to write a script in Perl that will query the password age of my Unix users and then lock their NT account if the password age on Unix is over a certain limit. I can handle all the NT code, but I am not sure how to retrieve

install libXML / LibXSLT under AS Perl ?

2002-08-20 Thread Alex Wenger
Hi, how can i install XML::libXM XML::libXSLT under Activestate Perl for Windows ? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

From dos to a window.

2002-08-20 Thread Beckett Richard-qswi266
Chaps, I've just got my first proper script running nicely, but it's text based and runs in a dos window. I assume that there are modules that allow you to make it look cool by running in it's own window, with boxes for data entry, etc. Can anyone point me to a good module for a beginner, that

Re: From dos to a window.

2002-08-20 Thread Dax T. Games
I use PerlTk but there is also Win32::GUI. Dax *** REPLY SEPARATOR *** On 8/20/2002 at 2:36 PM Beckett Richard-qswi266 wrote: Chaps, I've just got my first proper script running nicely, but it's text based and runs in a dos window. I assume that there are modules that

Re: install libXML / LibXSLT under AS Perl ?

2002-08-20 Thread Randy Kobes
On Tue, 20 Aug 2002, Alex Wenger wrote: how can i install XML::libXM XML::libXSLT under Activestate Perl for Windows ? We have them at http://theoryx5.uwinnipeg.ca/ppmpackages/ which can be accessed by setting the repository within the ppm shell to

RE: Update Info on retrieving password age from Unix

2002-08-20 Thread Scot Robnett
If your system is set to use pw_age in the /etc/passwd configuration, something similar to this may work to get the age of the user's password. If the pw_age option isn't set, then I'm not sure. This example is for a single user only; you'd have to do something to iterate over each account.

eduWin32::OLE(0.1502) error 0x80005000 after character 0 in

2002-08-20 Thread michael . berry
I am getting an error when running some ADSI code...here is a sample that works when run from DOS but doesn't work through IIS 5.5. IIS has been configured to run processes as the logged on user so that I can logon as an admin. Here is the code: use Win32::OLE; $server = CG-BACKOFF-2;

RE: From dos to a window.

2002-08-20 Thread Joseph Youngquist
Another GUI package out there for Perl is WxPerl (http://wxperl.sourceforge.net/) I've used Perl/Tk on Windows I don't like it. (haven't visited it lately to see if there's any new stuff yet) I've developed a full application with Win32::GUI which I like, but not portable at all...bummer So

Re: IIS on win2k not liking PerlMagick

2002-08-20 Thread Glenn Linderman
Andre Warnier wrote: Message text written by TC Winquist I decided to save the image to a temporary image file and then display that using non-perlmagick methods. It just seems to be an unnecessary step I shouldn't have to take. It works though, so I guess I'll have to live with it.

RE: Update Info on retrieving password age from Unix

2002-08-20 Thread Peter Eisengrein
Title: Update Info on retrieving password age from Unix I'm not familiar with what you are trying to do, but if you need to emulate a login and do stuff as that user, you might want to check out Net::Telnet or, if it's not 'telnet' that you're after you might tryIO::Socket.

Re: File Operator -e

2002-08-20 Thread Michael D. Smith
It works for me on files but not directories and (of course:) -f and/or -d don't work, which would allow you to check for that possibility, and prevent it from happening. Which means it has very limited utility because there's a always a possibility lurking in the code. Is there any chance a

RE: From dos to a window.

2002-08-20 Thread Carter Thompson
I prefer Perl/Tk for windows type of applications and a pretty nice book exists for it, Mastering Perl/Tk from O'Reilly. However, Win32::GUI and Win32::API are avaliable if you're unconcerned with multiplatform support of your application. Cheers, Carter. -Original Message-

RE: Update Info on retrieving password age from Unix

2002-08-20 Thread Scot Robnett
Sorry, I also meant to suggest a module such as Net::Telnet to log in to the UNIX box. Although, if you can use Net::SSH, you're better off running a secure login session (Telnet sends the login password in unencrypted ascii). Net::SSH example from CPAN: use Net::SSH qw(ssh issh sshopen2

if unless inverses ???

2002-08-20 Thread Michael D. Schleif
Cleaning up some inherited code and I ran into this: if ( ! $m_rkCfgTable-{Trace} eq true) { $m_nTraceLevelMin = -1; return 0; } For the life of me, I cannot fathom why this is *not* identical? unless ($m_rkCfgTable-{Trace} eq true) {

RE: if unless inverses ???

2002-08-20 Thread Scot Robnett
To me, it looks redundant. It's repetitive. It says the same thing over and over. ;-) Scot R. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael D. Schleif Sent: Tuesday, August 20, 2002 11:23 AM To: Perl-Win32-Users List Service Subject:

Re: if unless inverses ???

2002-08-20 Thread Jingmei_Guo
Is this going to help ? Sorry I did not test. if ( ! ($m_rkCfgTable-{Trace} eq true)) { $m_nTraceLevelMin = -1; return 0; } Michael D. Schleif [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 08/20/2002 11:23 AM Please respond to mds

Re: if unless inverses ???

2002-08-20 Thread csaba . raduly
On 20/08/2002 17:23:11 perl-win32-users-admin wrote: Cleaning up some inherited code and I ran into this: if ( ! $m_rkCfgTable-{Trace} eq true) { $m_nTraceLevelMin = -1; return 0; } For the life of me, I cannot fathom why this is *not* identical? unless ($m_rkCfgTable-{Trace} eq true) {

(no subject)

2002-08-20 Thread Krummel, James C - PGGC-6
Dick, This is a feature of the OS. All file and path names that do not conform to the eight dot 3 format need to be surrounded by quotes when invoked in console commands. The exception is ChDir which will parse the command either way. For a description of this behavior, type 'CD /?' in a dos

Re: if unless inverses ???

2002-08-20 Thread Michael D. Schleif
[EMAIL PROTECTED] wrote: On 20/08/2002 17:23:11 perl-win32-users-admin wrote: Cleaning up some inherited code and I ran into this: if ( ! $m_rkCfgTable-{Trace} eq true) { $m_nTraceLevelMin = -1; return 0; } For the life of me, I cannot fathom why this is *not* identical?

Re: if unless inverses ???

2002-08-20 Thread $Bill Luebkert
Michael D. Schleif wrote: [EMAIL PROTECTED] wrote: On 20/08/2002 17:23:11 perl-win32-users-admin wrote: Cleaning up some inherited code and I ran into this: if ( ! $m_rkCfgTable-{Trace} eq true) { $m_nTraceLevelMin = -1; return 0; } For the life of me, I cannot fathom why this is *not*

Creating a PPD

2002-08-20 Thread Chad Wallace
Hello, I've created a module that I want to now pack into a PPD. I followed the instructions in the ActivePerl documentation, namely: 1. 'perl Makefile.PL' 2. 'nmake' 3. tar/gzip blib folder into 'CGI-Auth-2.20.tar.gz'. 4. 'nmake ppd' 5. Edit .ppd file CODEBASE tag. Then, I uploaded the .ppd

Announce: Win32-Exchange

2002-08-20 Thread Steven Manross
Hi, I've put together a wrapper to all the OLE calls involved in Mailbox creation (and a few other functions) and packaged them up as Win32-Exchange, and I wanted to know what you think. This is purely perl and has no back-end DLLs (except what Win32-OLE uses)... I would love to hear any