Re: AdminMisc and hard drive recognition

2008-12-03 Thread Chris Wagner
. > >My PC has two physical hard drives. I'm trying to use Win32::AdminMisc to >read the individual sizes and cylinder, sector, and head counts for them. . -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 0100

RE: AdminMisc and hard drive recognition

2008-12-02 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 02 December 2008 15:52 To: perl-win32-users@listserv.ActiveState.com Subject: AdminMisc and hard drive recognition > Hi, list. > > My PC has two physical hard drives. I'm trying to use Win32

RE: AdminMisc and hard drive recognition

2008-12-02 Thread Paul Rogers
http://www.roth.net/perl/adminmisc See the functions: GetDrive* But I don't think cylinder/head/sector info will be available from within the OS. J Paul --- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 10:52 AM To:

AdminMisc and hard drive recognition

2008-12-02 Thread Deane . Rothenmaier
Hi, list. My PC has two physical hard drives. I'm trying to use Win32::AdminMisc to read the individual sizes and cylinder, sector, and head counts for them. Unfortunately, I can't seem to find info on this module. Is there some way to get code to recognize that there are two physi

RE: need Win32::AdminMisc

2006-01-03 Thread Thomas, Mark - BLS CTR
Craig A Dayton wrote: Yes, try http://cpan.uwinnipeg.ca/ I was impressed with it and be sure to try Par::Webstart. Randy Kobes has done a good job. -Craig Huh? That looks like a normal CPAN mirror, and like I said, the module doesn't exist in CPAN. If i

RE: need Win32::AdminMisc

2006-01-02 Thread Craig A Dayton
@listserv.ActiveState.comSubject: need Win32::AdminMisc I'm in need of Win32::AdminMisc and roth.net has been down for several days. Why this module has never been in CPAN and/or the AS ppd list is a mystery to me.   Does anyone know of a mirror? Or has a cached/downloaded ppm

Re: need Win32::AdminMisc

2005-12-28 Thread Sisyphus
- Original Message - From: "Thomas, Mark - BLS CTR" <[EMAIL PROTECTED]> To: Sent: Thursday, December 29, 2005 8:08 AM Subject: need Win32::AdminMisc I'm in need of Win32::AdminMisc and roth.net has been down for several days. Why this module has never been in C

need Win32::AdminMisc

2005-12-28 Thread Thomas, Mark - BLS CTR
I'm in need of Win32::AdminMisc and roth.net has been down for several days. Why this module has never been in CPAN and/or the AS ppd list is a mystery to me.   Does anyone know of a mirror? Or has a cached/downloaded ppm file?   Thanks, -

Re: Win32::AdminMisc::LogonAsUser fail to new domain

2005-09-14 Thread Chris Wagner
I would assume that that means that the domain in question is not accepting logons from the machine u are running this from. If it works with a net use but not AdminMisc then the perl process doesn't have some permission to "change logons" as far as the domain is concerne

Win32::AdminMisc::LogonAsUser fail to new domain

2005-09-13 Thread h-taguchi
Hello, Anyone have an experience to use Win32::AdminMisc::LogonAsUser to logon to a new donaim? I have an experience on different user in the same local, but not to new dmain. This is my first script. I can logon by hand of cause. The below script says (in Japanese): -- Win32 Logon Error: Client

Re: Win32::AdminMisc::UserGetMiscAttributes

2005-06-10 Thread Sisyphus
- Original Message - From: "Christopher Rosen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 11, 2005 1:27 AM Subject: Win32::AdminMisc::UserGetMiscAttributes > I am trying to determine all users on a given machin

Win32::AdminMisc::UserGetMiscAttributes

2005-06-10 Thread Christopher Rosen
ires' box being checked.  Any ideas?  Thanks. my @list = (); if( Win32::AdminMisc::GetUsers( "$hostname", "", [EMAIL PROTECTED] ) ) {                #print "\nThe users on $hostname are:\n";                #map { print "\t$_\n";} @lis

Re: Win32::AdminMisc::GetGroups returns nothing

2005-06-08 Thread Sisyphus
- Original Message - From: "Christopher Rosen" <[EMAIL PROTECTED]> To: ; Sent: Wednesday, June 08, 2005 12:41 AM Subject: Win32::AdminMisc::GetGroups returns nothing > Trying to get all groups from a particular machine, but this returns > nothing and will

Win32::AdminMisc::GetGroups returns nothing

2005-06-07 Thread Christopher Rosen
Trying to get all groups from a particular machine, but this returns nothing and will not even hit the 'else' portion.  Seems to abort the script. if( Win32::AdminMisc::GetGroups( "server", GROUP_TYPE_ALL, [EMAIL PROTECTED] ) ) {         print "The groups are:\n"

Re: Win32::AdminMisc Help Please

2005-03-23 Thread Chris Wagner
@Geometry = Win32::AdminMisc::GetDriveGeometry("//$server/$disks\$/") or print "Can't get info from $server\n" and next; #or whatever error handling u want -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=

Re: Win32::AdminMisc Help Please

2005-03-23 Thread Darryl Ross
script just times out. I would assume that I need to modify the | below snippet. How can I set this to say time out after a minute and | continue on with the next server? | | @Geometry = Win32::AdminMisc::GetDriveGeometry("//$server/$disks\$/"); | | Something like | | @Geometry = Win32:

Win32::AdminMisc Help Please

2005-03-23 Thread steve silvers
. How can I set this to say time out after a minute and continue on with the next server? @Geometry = Win32::AdminMisc::GetDriveGeometry("//$server/$disks\$/"); Something like @Geometry = Win32::AdminMisc::GetDriveGeometry("//$server/$disks\$/") || &senderror();

RE: Win32::AdminMisc

2005-03-18 Thread Anderson, Mark (Service Delivery)
3 8786 Mob: 07808 826 063 > -Original Message- > From: [EMAIL PROTECTED] > [SMTP:[EMAIL PROTECTED] On Behalf Of Alan > Peck > Sent: Friday, March 18, 2005 7:51 AM > To: perl-win32-users@listserv.ActiveState.com > Subject: Win32::AdminMisc > > *** WARNING : Thi

Win32::AdminMisc

2005-03-17 Thread Alan Peck
Well I placed my order with Amazon.com to get hold of Dave Ruth's "Win32 Perl Programming: The Standard Extensions (2nd Edition)" book. Though in the mean time of waiting for it to arrive I am continuing to write basic scripts. My current problem is with Win32::AdminMisc modul

RE: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-15 Thread Steven Manross
SP) problem with win2003 and build 811 & AdminMisc Yowch. I will see if I can reproduce it on my IIS box tomorrow. Do you have a workaround for it at the moment? On Mon, 2005-02-14 at 22:51, Justin Hardman wrote: > Mike, > > Should have specified this in the previous email, but it

Re: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Mike G
> > > > > However, we have a new problem - whenever a script encounters > > > $Response->Redirects("") we get the following error: > > > > > > Active Server Pages error 'ASP 0240' > > > Script Engine Exception > >

Re: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Justin Hardman
d/conference/admin/logout.asp > > A ScriptEngine threw exception 'C005' in> > 'IActiveScript::SetScriptState()' from> > 'CActiveScriptEngine::ReuseEngine()'. > > The other odd thing about the problem is that it goes away after a> > refr

Re: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Mike G
riptEngine::ReuseEngine()'. > > The other odd thing about the problem is that it goes away after a > > refresh, so I don't think its a permissions issue. Redirect works > fine > > in other scripting languages. > > I would lov

Re: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Justin Hardman
'C005' in> 'IActiveScript::SetScriptState()' from> 'CActiveScriptEngine::ReuseEngine()'. > The other odd thing about the problem is that it goes away after a> refresh, so I don't think its a permissions issue. Redirect works fine> in other scr

RE: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Allegakoen, Justin Devanandan
8< However, we have a new problem - whenever a script encounters $Response->Redirects("") we get the following error: Active Server Pages error 'ASP 0240' Script Engine Exception /shared/conference/admin/logout.asp A ScriptEng

Re: redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Mike G.
y after a > refresh, so I don't think its a permissions issue. Redirect works fine > in other scripting languages. > I would love to get this working. At the moment it only seems to happen > with redirecting. > I am also having problems with the roth.net module: "AdminMisc&

redirect (ASP) problem with win2003 and build 811 & AdminMisc

2005-02-14 Thread Justin Hardman
its a permissions issue. Redirect works fine in other scripting languages. I would love to get this working. At the moment it only seems to happen with redirecting. I am also having problems with the roth.net module: "AdminMisc" in this never build of perl. Does anyone have and experience with ge

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
; As most of our customers' servers are NT 4.0 TSE, we are out of luck > if we can't get this to work. Any idea why we're getting that error? GlobalMemoryStatusEx() is only available on Windows 2000, XP and 2003, so Win32::AdminMisc is no longer compatible with Windows NT. You will h

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: > I hope the same will work on NT 4.0. I wonder why MSVCR70.dll isn't > mentioned in the documentation for Win32::AdminMisc, and isn't > installed automatically by PPM. It is the C runtime library for Microsoft VC++ 7.0. Dave Roth use

Re: Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
Lyle Kopnicky wrote: Never mind, I found it, downloaded it, put it in my C:\Windows\System directory, and the module now works. I hope the same will work on NT 4.0. I wonder why MSVCR70.dll isn't mentioned in the documentation for Win32::AdminMisc, and isn't installed automatica

Re: Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
Lyle Kopnicky wrote: Jan, You are correct. Now I have uninstalled ActivePerl, wiped out the C:\Perl directory, and reinstalled. I now see that AdminMisc is not included with ActivePerl - it just showed up last time because it was there when the documenation was generated. So, I reinstalled

Re: Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
Jan Dubois wrote: On Wed, 12 Jan 2005, Lyle Kopnicky wrote: OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It includes the Win32::AdminMisc module. I tried to run a simple program that just did a 'use Win32::AdminMisc;'. I got the following er

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: > OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It > includes the Win32::AdminMisc module. > > I tried to run a simple program that just did a 'use > Win32::AdminMisc;'. I got the following error dialog: >

Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It includes the Win32::AdminMisc module. I tried to run a simple program that just did a 'use Win32::AdminMisc;'. I got the following error dialog: perl.exe - Unable To Locate Component This application has

Re: Win32::AdminMisc error

2005-01-11 Thread Lyle Kopnicky
Never mind, I see Win32::AdminMisc is included in the latest ActivePerl distribution. I will try that out. Regards, Lyle Kopnicky ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http

Win32::AdminMisc error

2005-01-11 Thread Lyle Kopnicky
Hi folks, I am unable to get the Win32::AdminMisc package from Roth Consulting to work with ActivePerl. I tried contacting Roth, but can't reach anyone. Their news server seems dead. So I thought I'd try this list. I have a Windows NT 4.0 (service pack 6) development server, with

RE: Win32::AdminMisc::CreateProcessAsUser(.....) on Win Server 2003

2005-01-07 Thread joe
ubject: RE: Win32::AdminMisc::CreateProcessAsUser(.) on Win Server 2003 Which version of Win32::AdminMisc are you using? The source code for version 20030714 is available at ftp://ftp.roth.net/pub/ntperl/AdminMisc/20030714/source/. If Dave hasn't responded yet, you might try making your

RE: Win32::AdminMisc::CreateProcessAsUser(.....) on Win Server 2003

2005-01-07 Thread Peter Guzis
Which version of Win32::AdminMisc are you using? The source code for version 20030714 is available at ftp://ftp.roth.net/pub/ntperl/AdminMisc/20030714/source/. If Dave hasn't responded yet, you might try making your changes to the source code and sending him a patch. -Original Me

RE: Win32::AdminMisc::CreateProcessAsUser(.....) on Win Server 2003

2005-01-07 Thread Smith, Gregory
All, An update. You won't be able to resolve this with the Win32::AdminMisc module Roth consulting will need to resolve this and they don't appear to be interested in helping as I have sent two separate emails on 2004/11/18 and 2004/11/21 and have yet to even get a response. I

Win32::AdminMisc::CreateProcessAsUser(.....) on Win Server 2003

2004-11-15 Thread Smith, Gregory
me appears. Hopefully someone has some insight as to what's causing this and a solution as I am currently at a loss.. Here's my working script: use Win32; use Win32::Process; use Win32::AdminMisc; use Win32::API; logit("Script Started"); $exeFile = "C:\\windows\\n

RE: AdminMisc::GetFileInfo gives different info than Windows expl orer

2004-09-30 Thread Ben Conrad
Subject: RE: AdminMisc::GetFileInfo gives different info than Windows explorer I'm guessing here, but I think you are looking at the difference between: ---> FileVersion - and - ---> ProductVersion. HTH Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

Re: AdminMisc::GetFileInfo gives different info than Windows explorer

2004-09-29 Thread Sisyphus
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Conrad Sent: Wednesday, September 29, 2004 11:18 AM To: perl-win32-users Subject: AdminMisc::GetFileInfo gives different info than Windows explorer Folks, I'm writing a script to find gdiplus.dll

RE: AdminMisc::GetFileInfo gives different info than Windows explorer

2004-09-29 Thread Steven Manross
AM To: perl-win32-users Subject: AdminMisc::GetFileInfo gives different info than Windows explorer Folks, I'm writing a script to find gdiplus.dll files that may be vulnerable to the microsoft GDI+ bug. When I use: Win32::AdminMisc::GetFileInfo($filename, \%Info); print "- $Info{ProductVe

AdminMisc::GetFileInfo gives different info than Windows explorer

2004-09-29 Thread Ben Conrad
Folks, I'm writing a script to find gdiplus.dll files that may be vulnerable to the microsoft GDI+ bug. When I use: Win32::AdminMisc::GetFileInfo($filename, \%Info); print "- $Info{ProductVersion}\n"; -or- print "- $Info{FileVersion}\n"; I get version 5.1.3102.2180

RE: PAR issue with Win32::AdminMisc module

2004-08-26 Thread Ben Conrad
That worked, thanks a lot. -Original Message- From: Jean-Louis Morel [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 8:53 AM To: Ben Conrad Cc: [EMAIL PROTECTED] Subject: Re: PAR issue with Win32::AdminMisc module Ben Conrad wrote: > Hello, > > I'm building a si

Re: PAR issue with Win32::AdminMisc module

2004-08-26 Thread Jean-Louis Morel
Ben Conrad wrote: Hello, I'm building a simple .exe with 'pp', my script requires Win32::AdminMisc so I do the following: pp -M "Win32/AdminMisc/AdminMisc.PM" -v 5 -o space.exe space.pl In the output I see: C:\Perl\bin\pp: ... adding C:/Perl/site/lib/auto/Win32/AdminMisc/

Re: Re: WIN32::ADMINMISC doesn't like multithread perl / How to change my perl-Installation ?

2004-08-25 Thread Manfred . Beilfuss
AIL PROTECTED] et.net.au> Kopie: [EMAIL PROTECTED] Thema: Re: WIN32::ADMINMISC doesn't like multithread pe

Win32::AdminMisc Anomaly

2004-02-03 Thread steve silvers
Does anyone have a problem running the same script accross different MS platforms? I have a snippet below from the Awin32::AdminMisc docs to get the diskspace size. use Win32::AdminMisc; @Geometry = Win32::AdminMisc::GetDriveGeometry("//server/c\$"); $Free = $Geometry[0] * $

[ BUG ] Win32::AdminMisc::SetEnvVar

2004-01-22 Thread Edward S. Peschko
hey, I'm getting the following bug in Win32::AdminMisc::SetEnvVar: Win32::AdminMisc::SetEnvVar('home', 'C:/cygwin/home/horos'); causes a program crash (it looks like it is the '/' but I'm not sure). Is it safe to set the environment variable directly

RE: Win32::AdminMisc

2003-09-11 Thread Molumuri, Janardhan
This will do. c:\>ppm install http://www.roth.net/perl/packages/Win32-AdminMisc.ppd --janardhan. -Original Message- From: Bernard Kenik [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:07 PM To: [EMAIL PROTECTED]; Perl List Subject: Re: Win32::AdminMisc Importance: H

RE: AdminMisc Prblems

2003-09-07 Thread Igor Litmanovich
Hi, I had the same problem when installing perl on WinXP and I know that it happens also on Win2K. Put the file MSVCR70.dll in one of the system folders or in \site\lib\auto\Win32\AdminMisc Only the latest version of the dll worked on my XP machine (7.0.9466.0). Earlier version (7.0.9064.0

AdminMisc Prblems

2003-09-07 Thread Dax T. Games
Anyone seen this when compiling a script using Win32::AdminMisc with PerlApp.exe:   PerlApp 5.2.0 build 520Copyright (C) 1998-2003 ActiveState Corp. All rights reserved.Commercial license for   Can't load 'E:/Perl/site/lib/auto/Win32/AdminMisc/AdminMisc.dll' fo

Re: Perl crash using Win32::AdminMisc::GetFileInfo

2003-02-06 Thread Sisyphus
shouldn't be in use, but obviously something is weird about it. Yeah - the poster on c.l.p.modules also stated that the problem persists when the file is not in use. Looks like there might be some little quirk with these files that Win32::AdminMisc fails to address.

RE: Win32::AdminMisc

2003-02-06 Thread Peter Guzis
trator, Sr. ENCAD, Inc. - A Kodak Company email: [EMAIL PROTECTED] www.encad.com -Original Message- From: Floyd Russell [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 1:59 PM To: [EMAIL PROTECTED] Subject: RE: Win32::AdminMisc I need this app to work both on NT 4.0 and Win2

RE: Win32::AdminMisc

2003-02-06 Thread Floyd Russell
age- |> From: [EMAIL PROTECTED] |> [mailto:[EMAIL PROTECTED]]On Behalf Of |> Steven Manross |> Sent: Wednesday, February 05, 2003 6:25 PM |> To: 'Floyd Russell'; [EMAIL PROTECTED] |> Subject: RE: Win32::AdminMisc |> |> |> If all you're after is CPU speed,

RE: Perl crash using Win32::AdminMisc::GetFileInfo

2003-02-06 Thread Gerber, Christopher J
a trend. Chris > -Original Message- > From: Sisyphus [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 4:53 PM > To: Gerber, Christopher J > Cc: [EMAIL PROTECTED] > Subject: Re: Perl crash using Win32::AdminMisc::GetFileInfo > > > Hi, > > There

Re: Perl crash using Win32::AdminMisc::GetFileInfo

2003-02-06 Thread Sisyphus
Hi, There's a post on comp.lang.perl.modules asking about the same thing - only, this time, in regard to 'sqlserver.exe'. Not all files carry any of the info being sought. Perhaps it's just that these 2 files are in that category, and the error is simply these files' way of responding to the requ

Perl crash using Win32::AdminMisc::GetFileInfo

2003-02-04 Thread Gerber, Christopher J
All, I'm having a strange problem using the function Win32::AdminMisc::GetFileInfo. For most files it seems to work fine, but by simply changing the filename, I can get Perl to crash. Here's are the minimal code samples to reproduce the problem: --8<--WORKING COD

Win32::AdminMisc

2003-02-04 Thread Floyd Russell
Has anyone experienced problems with gathering CPU information using Dave Roth's Win32::AdminMisc? I keep getting a division by zero error, even though the subroutine GetProcessorInfo is being called in an eva{} block the script still dies. I experience this on PII and PIV processors only.

RE: Win32::AdminMisc

2003-01-06 Thread Edwards, Mark \(CXO\)
Make sure you have permissions to the share and remember to use \\ for each \. Even better, use / as in Win32::AdminMisc::GetDriveGeometry("//server/share"). The documentation on CPAN says you need a trailing / at the end of a UNC name but it seems to work without it. -Origin

RE: Win32::AdminMisc

2003-01-06 Thread Gibb, Thomas A
Title: RE: Win32::AdminMisc Steve wrote: I have checked this out. But still not working. If I use @Geometry = Win32::AdminMisc::GetDriveGeometry("c:\"); this will work. but @Geometry = Win32::AdminMisc::GetDriveGeometry("\\server\c$"); and many different v

RE: Win32::AdminMisc

2003-01-06 Thread steve silvers
I have checked this out. But still not working. If I use @Geometry = Win32::AdminMisc::GetDriveGeometry("c:\"); this will work. but @Geometry = Win32::AdminMisc::GetDriveGeometry("\\server\c$"); and many different variations don't work! any suggestions. Thanks in a

Re: Where is Win32::AdminMisc

2003-01-03 Thread Chris Jones
Go to http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Zips Select your version. Find the zip file and download. Unzip the file to file the .ppd. Where can I download the .ppd for Win32::AdminMisc. Thanks in advance. Steve

RE: Win32::AdminMisc module or Win32::Perms

2002-12-27 Thread Scott Campbell
om -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Robert-Jan Mora Sent: Friday, December 27, 2002 2:44 AM To: Dave Roth; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Win32::AdminMisc module or Win32::Perms Hello all, Is it possi

RE: RE: Win32::AdminMisc module on linux

2002-12-26 Thread Thomas_M
ased. I have tred ur Win32::AdminMisc module for > authentication to NT,but only on WIN32 platform. But my > webserver is on Linux-7.2.so,i cant install this module on > Linux. Do you have any alternatives for this?? Its very > urgent to me.So,if possible give me some solutions. Since

RE: RE: Win32::AdminMisc module on linux

2002-12-26 Thread Ricci, Mark
Is coding around "Samba" an option? -Original Message- From: Dave Roth [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 3:39 AM To: '[EMAIL PROTECTED]'; Dave Roth; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: RE: Win32::Admin

RE: RE: RE: Win32::AdminMisc module on linux

2002-12-26 Thread Dave Roth
PROTECTED]] Sent: Thursday, December 26, 2002 12:52 AM To: Dave Roth; Dave Roth; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re:RE: RE: Win32::AdminMisc module on linux Hello dave, can perl-ldap module authenticates against an ADSI?? if yes, then i will try to change my

Re:RE: RE: Win32::AdminMisc module on linux

2002-12-26 Thread kavita
Hello dave, can perl-ldap module authenticates against an ADSI?? if yes, then i will try to change my authentication mechanism from NT SAM(on PDC) to ADSI. Thanks. Kavita On Thu, 26 Dec 2002 00:38:42 -0800 rothd wrote AdminMisc simply won't work on non Win32 systems. I am not aware o

RE: RE: Win32::AdminMisc module on linux

2002-12-26 Thread Dave Roth
AdminMisc simply won't work on non Win32 systems. I am not aware of any authentication modules that would do what you are looking for. However years ago there was a groovy open source library that did interact with an NT domain controller for the sake of authentication. I had modified a

RE: Win32::AdminMisc -- Any risks??

2002-10-31 Thread Krishna, Hari
- From: Gould, Kevin [mailto:Kevin.Gould@;gentiva.com] Sent: Thursday, October 31, 2002 12:34 PM To: Krishna, Hari; Perl Users Subject: RE: Win32::AdminMisc -- Any risks?? Put down the keyboard and step away from the computer and I'm sure you'll be safe :-) You have nothing

RE: Win32::AdminMisc -- Any risks??

2002-10-31 Thread Gould, Kevin
Put down the keyboard and step away from the computer and I'm sure you'll be safe :-) You have nothing to worry about as a consequence of the module in and of itself. There is no particular reason that AdminMisc would blow anything up any more than any other arbitrary appl

Win32::AdminMisc -- Any risks??

2002-10-31 Thread Krishna, Hari
Hi Friends, This is more of a general question pertaining to Win32::AdminMisc I have had problems with Win32::AdminMisc. You know, I was working on a web project and needed to authenticate the Username and password on the website to that of the Network. You guys helped me a lot

Re: Win32::AdminMisc problems

2002-10-18 Thread Carl Jolley
t; Hi Guys, > > I get the following error when I execute my perl script from the browser. > But when I execute the program by double clicking, it works fine. > Any guesses?? I see the result in the test.txt file "Password is correct" > > Heres' the code > >

Re: Win32::AdminMisc problems - is there an alternative?

2002-10-14 Thread Sean Ahern
At 12:59 09/10/2002 -0700, $Bill Luebkert wrote: >Maybe the constants aren't defined: > >use constant EWX_LOGOFF => 0; >use constant EWX_FORCE => 4; > >Other values: I eventually got this work to using the actual values rather than the constant names in

Re: Win32::AdminMisc problems

2002-10-13 Thread Sisyphus
- Original Message - From: "Krishna, Hari" <[EMAIL PROTECTED]> To: "'Sisyphus'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 11:58 PM Subject: RE: Win32::AdminMisc problems > AdminMisc.pm is located in D

RE: Win32::AdminMisc problems

2002-10-10 Thread Krishna, Hari
rn a blank page.. Thanks, Hari. -Original Message- From: Gould, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 04:26 PM To: Krishna, Hari; Thomas R Wyant_III; [EMAIL PROTECTED] Subject: RE: Win32::AdminMisc problems I'd check permissions on the directory. Likely you

RE: Win32::AdminMisc problems

2002-10-10 Thread Gould, Kevin
a, Hari [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:11 PM To: 'Thomas R Wyant_III'; [EMAIL PROTECTED] Subject: RE: Win32::AdminMisc problems Tom - I didnot understand "root around in the archieves"? Did you wanted me to search thru the archieves on the cpan and rot

RE: Win32::AdminMisc problems

2002-10-10 Thread Krishna, Hari
TED]] Sent: Thursday, October 10, 2002 03:28 PM To: [EMAIL PROTECTED] Subject: Re: Win32::AdminMisc problems Hari - You've got me. It seems to me if Win32::AdminMisc is installed on your server _and_ your browser has access to it, this shouldn't happen. But I've seen it come by on the mai

Re: Win32::AdminMisc problems

2002-10-10 Thread Thomas R Wyant_III
Hari - You've got me. It seems to me if Win32::AdminMisc is installed on your server _and_ your browser has access to it, this shouldn't happen. But I've seen it come by on the mailing list. You might want to root around in the archives and see what comes up. Tom "Kr

Win32::AdminMisc problems

2002-10-10 Thread Krishna, Hari
rict; use Win32::AdminMisc; open(OUT_EXT,">test.txt"); $domain = "abcdefg"; $user = "confidential"; $password = "confidential"; if( Win32::AdminMisc::UserCheckPassword($domain, $user, $password)) { print OUT_EXT "Password is correct.\n"; } else {

Re: Win32::AdminMisc problems - is there an alternative?

2002-10-09 Thread Sisyphus
ut with > no change. > I just tried: use Win32::AdminMisc; use warnings; Win32::AdminMisc::ExitWindows(); and got the error: Usage: Win32::AdminMisc::ExitWindows($Flags) So it seems that the function exists for me. Do you get the same ? If so, try playing around with some other 'flag

Win32::AdminMisc::UserGetMiscAttributes on a BDC

2002-09-04 Thread kadir
Hi to everyone! I've being using Win32::AdminMisc::UserGetMiscAttributes on a W2K Advanced Server PDC (SP3) for a while with no problems at all. However, i've found serious problems using it on a BDC. I wrote this simple script for testing << test code begin >> use

AdminMisc

2002-07-05 Thread Thomas . Neemann
> Hello there. > > I've got some old script which manage the NT useradministration. In this > script the module AdminMisc is used. > I saw in the ActivePerl Version 5 AdminMisc is no longer implemeted. > > So, which Module has now the functions of AdminMisc ? > &

[HDI] Find out reason for AdminMisc::LogOnAsUser failing?

2002-03-27 Thread Ky-Anh Phan
HDI = How Do I :-) Have tried GetLastError, and $^E .. No cigar :( Thanks. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Win32::AdminMisc

2001-05-29 Thread Christopher L. Severson
Everyone, I am looking to use this module for either the 'CreateProcessAsUser' ability, or the 'LogonAsUser' ability. What I am trying to accomplish is having a Perl program called during the logon process that installs a patch (admin rights needed for the install) - once the patch is comple

Installing Win32::AdminMisc (not on ActiveState)

2001-02-01 Thread Jon Nelson
Hi all, Sorry I'm writing to the ActiveState mailing list when it doesn't really apply to ActiveState. I've been using Roth's Win32::AdminMisc module on ActiveState for a few months now and it's worked wonderfully. The problem is that now I'm trying to install it

Can't logon by Win32::AdminMisc

2000-12-24 Thread Hirosi Taguti
I can't logon by Win32::AdminMisc. Anyone will show me how/why? I'm using ActivePerl Build 623 on Win2000 SP1. #! use Win32::AdminMisc; # for logon use Win32;# for logon #-# # logon

AdminMisc::LogonAsUser

2000-12-15 Thread Jon Nelson
can simple add this backup script to the list of scripts being run. Here's the code I've tried. Start snippet #### use Win32::AdminMisc; # Location of daily log $daily_log = "c:\\temp\\daily.log"; # User doe has the permissions needed as specified i