RE: AD Page Size help

2011-04-26 Thread Gomes, Rich
...@listserv.activestate.com [mailto:perl-win32-admin-boun...@listserv.activestate.com] On Behalf Of Joachim Thuau Sent: Friday, April 22, 2011 6:45 PM To: perl-win32-admin@listserv.ActiveState.com Subject: RE: AD Page Size help I have had issues in the past where searching with a null base inside AD yielded errors

RE: AD Page Size help

2011-04-26 Thread Trang Tran
@listserv.ActiveState.com Subject: RE: AD Page Size help Hi, I think you must increase limit size in ad object. In MMC, this settings is under menu : Display - Filter options - maximum number of item displayed by folder. Yves -Message d'origine- De : perl-win32-admin-boun...@listserv.activestate.com

RE: AD Page Size help

2011-04-26 Thread Steven Manross
- From: perl-win32-admin-boun...@listserv.activestate.com [mailto:perl-win32-admin-boun...@listserv.activestate.com] On Behalf Of Gomes, Rich Sent: Tuesday, April 26, 2011 8:24 AM To: perl-win32-admin@listserv.ActiveState.com Subject: RE: AD Page Size help So, a lot of people have

RE: AD Page Size help

2011-04-26 Thread Gomes, Rich
:46 AM To: Dutrieux Yves; Gomes, Rich; perl-win32-admin@listserv.ActiveState.com Subject: RE: AD Page Size help Must set it at least to 1000. -Original Message- From: perl-win32-admin-boun...@listserv.activestate.com [mailto:perl-win32-admin-boun...@listserv.activestate.com] On Behalf

RE: AD Page Size help

2011-04-26 Thread Gomes, Rich
: AD Page Size help I would assume that if you are getting a size limit error, that you are hitting a hard maximum that AD implements to make sure that you don't sit all day parsing through results and degrade performance on this DC as a result. Your query is pulling back every user object in your

RE: AD Page Size help

2011-04-26 Thread Steven Manross
to 262144 (number of individual records you can request -- seems like a lot). If you can verify these values in your Active directory implementation, and respond with them, that would help. Can you also send the value of your $strAttrs variable, as I am confused by the thread below as it is referenced

RE: AD Page Size help

2011-04-26 Thread Gomes, Rich
: Tuesday, April 26, 2011 1:30 PM To: Gomes, Rich; perl-win32-admin@listserv.ActiveState.com Subject: RE: AD Page Size help So, there is a difference between page size and size limit. If you hit a problem with PageSize, the query grabs the first 1000 records and then calls it done (providing your

RE: AD Page Size help

2011-04-26 Thread Gomes, Rich
] On Behalf Of Gomes, Rich Sent: Tuesday, April 26, 2011 1:41 PM To: Steven Manross; perl-win32-admin@listserv.ActiveState.com Subject: RE: AD Page Size help Here are the values from ntdsutil: ldap policy: Show Values Policy Current(New) MaxReceiveBuffer

RE: AD Page Size help

2011-04-26 Thread Steven Manross
, Rich [mailto:rich.go...@uniform.aramark.com] Sent: Tuesday, April 26, 2011 11:06 AM To: Steven Manross Subject: RE: AD Page Size help use Win32::OLE qw(in); use Data::Dumper; $Win32::OLE::Warn = 3; my $strBase = LDAP://DC=mydomain,DC=com;; # To search the whole forest using the global

Re: AD Page Size help

2011-04-22 Thread martin
-MoveNext; # move cursor to next object } # while $conn-Close(); Regards, Strat -Ursprüngliche Nachricht- From: Gomes, Rich Sent: Thursday, April 21, 2011 5:18 PM To: perl-win32-admin@listserv.ActiveState.com Subject: AD Page Size help I know this has been talked about a lot but I cannot seem

RE: AD Page Size help

2011-04-22 Thread Joachim Thuau
-Original Message- From: perl-win32-admin-boun...@listserv.activestate.com [mailto:perl- win32-admin-boun...@listserv.activestate.com] On Behalf Of Gomes, Rich Sent: Thursday, April 21, 2011 8:18 AM To: perl-win32-admin@listserv.ActiveState.com Subject: AD Page Size help I know this has

AD Page Size help

2011-04-21 Thread Gomes, Rich
I know this has been talked about a lot but I cannot seem to get my script to work. I am trying to not hit the LDAP search limit but cannot seem to get the PageSize line correct Any thoughts? _ my $strDomainDN =

RE: AD Page Size help

2011-04-21 Thread Gomes, Rich
at temp-perl-findallusers.pl line 58 Thanks, Rich From: Michele Berg [mailto:michele.r.b...@gmail.com] Sent: Thursday, April 21, 2011 11:34 AM To: Gomes, Rich Subject: Re: AD Page Size help Also, something you may want to consider - are you sure you're hitting a search limit

RE: AD Page Size help

2011-04-21 Thread Brzezinski, Paul J
-Original Message- From: perl-win32-admin-boun...@listserv.activestate.com [mailto:perl- win32-admin-boun...@listserv.activestate.com] On Behalf Of Gomes, Rich Sent: Thursday, April 21, 2011 11:18 AM To: perl-win32-admin@listserv.ActiveState.com Subject: AD Page Size help I know

RE: AD Page Size help

2011-04-21 Thread Gomes, Rich
Subject: Re: AD Page Size help Hi Rich, Try setting your page size to 10 using your original syntax. We've set our queries up a little differently. However, this doesn't look like a page size issue. If it was, you wouldn't ever get to the MoveNext. Do you have Data::Dumper loaded

Need help with perl, wmi, html

2005-08-22 Thread Tim Wooten
Im not real sure where to send this request for help but I thought Id start here. I have ActiveState Perl installed on a Windows 2000 server box running IIS. What I want to do is create a web page where one can click on various links and run a cgi/perl script that will gather and display

Re: Need help with perl, wmi, html

2005-08-22 Thread glholmes
Are you trying to have the CGI execute WMI queries against the webserver or the users workstation? - Original Message - From: perl-win32-admin-bounces Sent: 08/22/2005 10:06 AM To: perl-win32-admin@listserv.activestate.com Subject: Need help with perl, wmi, html Im not real sure

Re: Need help with perl, wmi, html

2005-08-22 Thread Chris Wagner
To access the WMI calls the script has to run as administrator. You can either have IIS execute the script as an admin user or have the script login itself as an admin user. That will also involve setting IIS permissions to let it do that. then it should work as expected. At 09:06 AM 8/22/05

A question about Win32::OLE. Really need you help!!!

2005-06-05 Thread J aperlh
A question about Win32::OLE. Really need you help!!! There is a standalone executable written in C/C++. What I am going to do is to write a perl script to call several functions available in this executable. From the following article, I thought the job is very easy. #10 - Win32::OLE

RE: A question about Win32::OLE. Really need you help!!!

2005-06-05 Thread Jan Dubois
On Sun, 05 Jun 2005, J aperlh wrote: A question about Win32::OLE. Really need you help!!! Still not a good reason to double post your question all over the place... [...] But, for the following function, I don't know that I should pass to this funtion. Array reference or something else

Help with Windows Install

2005-03-29 Thread Richard Colman
problem? How can I fix this and get it working? TNX if you can help. Richard Colman [EMAIL PROTECTED] ___ Perl-Win32-Admin mailing list Perl-Win32-Admin@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

help

2004-10-25 Thread lalithsharan.bandaru
help Confidentiality Notice The information contained in this electronic message and any attachments to this message are intendedfor the exclusive use of the addressee(s) and may contain confidential or privileged information. Ifyou are not the intended recipient, please notify

Bit off topic - can the list help - Emulating backspace on the command line

2004-08-26 Thread jonathan_hughes
Hi list, I have a PerlApp Perl program that is very simple and displays and accepts input via the command line. I want to emulate the backspace function to remove input - is there any way I can emulate this programatically? I was thinking of printing the ASCII character code for backspace.

Re: Bit off topic - can the list help - Emulating backspace on the command line

2004-08-26 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: Hi list, I have a PerlApp Perl program that is very simple and displays and accepts input via the command line. I want to emulate the backspace function to remove input - is there any way I can emulate this programatically? I was thinking of printing the

Win32-Perms Help Needed

2004-06-14 Thread Sturdevant-Contractor, Robert W
I'm logged on to Windows 2000 Server as the administrator and have tried this on several boxes. Any help is really appreciated...thanks. Bob ___ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Setting up RAS property via ADSI help!

2004-02-28 Thread Geoff Caras
Sorry for the last message, I didn't disable HTML in my email. I am successfully creating a user in AD, but cannot seem to get dial-in property set. I can set the boolean value: $objUser-Put(msNPAllowDialin, TRUE); # set RAS true... $objUser-SetInfo; In the ADSI_Browser the value DOES show up

Newbie Help

2003-11-19 Thread kevin . montes
Hi all, I need a script that will go to every server in my Domain and grab a text file rename it and then move it to central location. I was thinking of making an Adsi call for OS but that would show all NT/2000 + boxes not just servers, any idea how I could use Win32 or ADSI to just return all

Some Help Need -Urgent pls (Apache-Perl-Oracle Integration)

2003-11-18 Thread Amit BASNAK
the Perl html documentation. Could anyone please help me in knowing the exact method use to make this connection . I have been working over it and any case of further more questions I will email about the details again I will be extremely grateful if I get some responses Thanking you again

HELP - Copy Perms then Modify before Setting on remote object

2003-11-10 Thread Saville, Michael
Please Help, I am trying to use a local object to read perms from, then modify local group domain/hostname from localhost to some remote hostname, then add to new Perms object for remote object and set, but it always applies the local group instead of the remote group when applied

Win32::GUI - Windows2000/XP - Successfully loaded - Thanks to all for help

2003-10-28 Thread jonathan_hughes
where I extracted the files as a 'local' repository in VPM. - Searched for Win32-GUI in the VPM install screen - Selected the local package - Installed - Tested and all worked fine Thanks to all for help

WMI help needed...

2003-09-25 Thread Jason shaw
the serial number $SerialNo = $Results[0]-{SerialNumber}; # Returning serial number return $SerialNo; } /CODE Any help would be cool! Thanks! ___ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com

Re: WMI help needed...

2003-09-25 Thread Patrick J. LoPresti
Jason shaw [EMAIL PROTECTED] writes: Hello, I've wrote a script that records a computers hardware info (CPU, RAM, HD, etc) everytime a user logons via the logon script. I'm having problems getting the serial number of the machine that's stored in the BIOS through WMI. Sometimes it works,

Help with module installation

2003-09-02 Thread Dave Kazatsky
; $VERSION=undef; do { our $VERSION = 1.0.1; }; $VERSION ' in Interval.pm: Can't modify subroutine entry in scalar assignment at (eval 8) line 7, at EOF Any help appreciated. Dave Kazatsky Senior Middleware Administrator W. (908) 575-6947 C. (973) 865-8106

Re: file version help

2003-08-14 Thread David 'Sniper' Rigaudiere
Jonathan Chan [EMAIL PROTECTED] hey guys, i'm using Win32::AdminMisc::GetFileInfo to retreive the file version what i need is the file version that is listed at the top of the window above description. any ideas? One way : === GetFileVersion.pl === use strict; use Win32::OLE; my $file

Help with array

2003-06-07 Thread Issa Mbodji
Hello: I have the following array: @numbers = qw(1..30); How do I go about getting the odd and even numbers and store them into 2 different arrays(@odd_numb and @even_numb). Thanks __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to

Re: Help with array

2003-06-07 Thread $Bill Luebkert
Issa Mbodji wrote: Hello: I have the following array: @numbers = qw(1..30); How do I go about getting the odd and even numbers and store them into 2 different arrays(@odd_numb and @even_numb). I don't know any really simple way: my (@odds, @evens); foreach (1 .. 31) { if ($_

RE: HELP!!

2003-03-14 Thread Aldrich, Timothy
How on Earth does one unsubscribe from these lists? The supplied web portal seems to do nothing ... Have you tried unchecking the box in the column marked Subscribe? ? This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged

HELP!!

2003-03-13 Thread Michael C. Podlesny
Help I have searched everywhere for this in Perl I have a value of "ABCDEFGHI" I want to parse this string so that it reads "ABC-DEF-GHI" In other words I want to be able to insert dashes after the third and 6th character. Is there anyway to do this in Perl?

RE: HELP!!

2003-03-13 Thread John Serink
: HELP!! Help I have searched everywhere for this in Perl I have a value of "ABCDEFGHI" I want to parse this string so that it reads "ABC-DEF-GHI" In other words I want to be able to insert dashes after the third and 6th character. I

RE: HELP!!

2003-03-13 Thread Wagner, David --- Senior Programmer Analyst --- WGO
character if not, then no hyphen(end of data). Wags ;) -Original Message-From: Michael C. Podlesny [mailto:[EMAIL PROTECTED]Sent: Thursday, March 13, 2003 19:16To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: HEL

RE: Help on Win32::Process

2002-12-23 Thread Rajee Gopinath
] | | cc: [EMAIL PROTECTED] | | Subject: RE: Help on Win32::Process | | Ok

Help on Win32::Process

2002-12-22 Thread Rajee Gopinath
vague, I think and I would very much appreciate if someone could help me with a sample script. My question is : [1] Even if I were to FTP just one file, how do I check the completion of the process ? [2] How do I repeat this for all the processes created ? [3] What does Winn32::Process::Open($obj

RE: Javascript and Perl Help!!

2002-11-26 Thread Norris, Joseph
IL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Javascript and Perl Help!! Is there anyway to take the results of Javascript code and use them in Perl? For example I have code that retrieves a cookie. I want to use the value of that cookie in Perl to run some mySQL queries. Can anyone help?

RE: Javascript and Perl Help!!

2002-11-26 Thread Norris, Joseph
]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Javascript and Perl Help!! Is there anyway to take the results of Javascript code and use them in Perl? For example I have code that retrieves a cookie. I want to use the value

Re: Javascript and Perl Help!!

2002-11-26 Thread Michael C. Podlesny
thanks for everyone's help. I was able to get the info. - Original Message - From: Norris, Joseph To: 'Michael C. Podlesny' ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Tuesday, November 26

Javascript and Perl Help!!

2002-11-25 Thread Michael C. Podlesny
Is there anyway to take the results of Javascript code and use them in Perl? For example I have code that retrieves a cookie. I want to use the value of that cookie in Perl to run some mySQL queries. Can anyone help?

help with commenting code..

2002-09-12 Thread Mike Singleton
# grep each line for the declared variables while (IN) { print parsing $_; if ( /$JOBSTART|$TASKSUM|$TASKDET|$TASKEND|$ERROR|$JOBEND/i ) { # remove spaces and replace with commas my @f = split /\s+/,$_,9; print OUT

IO help

2002-09-09 Thread Mike Singleton
This is the summary of the opening and closing of files for a script, I am doing something wrong, as the output is nothing. I can only assume that I have failed to write out at the appropriate time? use strict; use English; use Getopt::Std; use Cwd; my $RPTFILE=jobrpt.tmp; my

Re: IO help

2002-09-09 Thread Philip Morley
: | |Subject: IO help

Re: IO help

2002-09-09 Thread Mike Singleton
PROTECTED] | |cc: | |Subject: IO help

regex help....

2002-09-06 Thread Mike Singleton
To keep this simple. On the text string I would like to: Simple plan: 1. replace all spaces with commas 2. strip all information before the date === Text string 172.16.54.132 ssjobhnd Sun Jun 16 10:40:10 2002 SNBJH_3710J Task 1: KB transferred 8124972.2 Task time 830 s. Throughput

Re: regex help....

2002-09-06 Thread Adam Ingerman
To keep this simple. On the text string I would like to: Simple plan: 1. replace all spaces with commas 2. strip all information before the date === Text string 172.16.54.132 ssjobhnd Sun Jun 16 10:40:10 2002 SNBJH_3710J Task 1: KB transferred 8124972.2 Task time 830 s. Throughput

Re: regex help....

2002-09-06 Thread $Bill Luebkert
Mike Singleton wrote: To keep this simple. On the text string I would like to: Simple plan: 1. replace all spaces with commas 2. strip all information before the date === Text string 172.16.54.132 ssjobhnd Sun Jun 16 10:40:10 2002 SNBJH_3710J Task 1: KB transferred 8124972.2 Task

eventlog script help

2002-08-30 Thread Mike Singleton
Error:Name main::Eventype used only once: possible typo at H:\perl scripts\wmitimed.pl line 20. Name Win32::Eventlog::GetMessageText used only once: possible typo at H:\perl scripts\wmitimed.pl line 3. Can't call method GetNumber on an undefined value at H:\perl scripts\wmitimed.pl line 11.

RE: eventlog script help

2002-08-30 Thread Mike Singleton
-Original Message- From: Mike Singleton [SMTP:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:14 PM To: [EMAIL PROTECTED] Subject:eventlog script help Error:Name main::Eventype used only once: possible typo at H:\perl scripts\wmitimed.pl

RE: eventlog script help

2002-08-30 Thread Bellenger, Bruno \(Paris\)
script help Same error hmmm.. does running under XP or Win2k make any difference? Bellenger, Bruno (Paris) [EMAIL PROTECTED] 08/30/02 06:38AM use Win32::EventLog, not Win32::Eventlog _ Bruno Bellenger Sr

RE: Perl/Tk script to help test Regular Expressions (was: What IDE/Editor?)

2002-07-31 Thread Fernando Madruga
Email me the PerlTk script you refer to to test regexes. Since it may be of use to more readers of this list, I'm posting the url to the list. perlEvaluater.pl - http://www.hotscripts.com/Detailed/16870.html or straight from the author's homepage: http://home.arcor.de/clemens.giegerich/ Bye,

Help with CDO, please!

2002-07-24 Thread Michael Bonetsmuller
::GetLastError(); Any help / pointer to documentation appreciated!! Thank you very much! Michael ___ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Help with CDO, please! - correction

2002-07-24 Thread Michael Bonetsmüller
::FormatMessage Win32::GetLastError(); Any help / pointer to documentation appreciated!! Thank you very much! Michael ___ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com

RE: iPlanet Web Server Perl CGI support help

2002-07-23 Thread Zhang, Alex A
I have a iPlanet web server version 4 running on the Windows 2000 PC and need to have Perl CGI supported. I've added the MIME types and the CGI directory as well as URL prefix, however I always get this errors below(copied from the error log file). Anyone can give some help

output help...

2002-07-17 Thread Mike Singleton
Can any help me figure out why the output of the following script doesn't list any data?? Just the headers?? === begin script === #!/usr/bin/perl -w =head1 DESCRIPTION scanel.pl - NT - Pull errors and warnings out of the event logs Schedule: 7:30 a.m. every weekday. Output File

RE: HELP!!

2002-07-16 Thread Fernando Madruga
How do I run my Perl scripts on my home computer which is running WinXP. I am trying to test my scripts before I upload them. I took 10 seconds and did the following search in google for you. Using cgi perl offline test windows as the search string in google, produce some nice looking

RE: HELP!!

2002-07-16 Thread Podlesny, Michael
and on that note I'll just say thank you. -Original Message- From: Fernando Madruga To: 'Michael C. Podlesny'; [EMAIL PROTECTED] Sent: 7/16/2002 8:34 AM Subject: RE: HELP!! How do I run my Perl scripts on my home computer which is running WinXP. I am trying to test my scripts before

HELP!!

2002-07-15 Thread Michael C. Podlesny
How do Irun myPerl scripts on my home computer which is running WinXP. I am trying to test my scripts before I upload them.

Re: HELP!!

2002-07-15 Thread Michael C. Podlesny
I have done that, but how do I run the script? - Original Message - From: Neeraj Bezalwar To: Michael C. Podlesny Sent: Monday, July 15, 2002 11:40 PM Subject: RE: HELP!! get activeperl ver 5.6 from www.activestate.com -Original Message-From

RE: Help AdminMisc Error

2002-07-12 Thread Timothy Johnson
I had the same problem, and I _think_ I fixed it by upgrading to ActivePerl 5.6.1 build 633. -Original Message- From: Sturdevant-Contractor, Robert W [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 7:04 AM To: Perl-Win32-Admin Subject: Help AdminMisc Error Hi Group, Can

RE: Help AdminMisc Error

2002-07-12 Thread Fernando Madruga
15:04 To: Perl-Win32-Admin Subject: Help AdminMisc Error Hi Group, Can someone identify the cause of the below error messages? MyApp.pl was running without these messages until I added _use Win32::AdminMisc_ which I'm using to determine drive freespace. Regardless, MyApp.pl still seems to run okay

RE: help modifying the windows registry with Perl

2002-07-11 Thread Dave Roth
My Standard Extensions book explains how to use Win32::Registry. http://www.roth.net/books/extensions2/ dave -Original Message- From: Edgington, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 5:49 PM To: [EMAIL PROTECTED] Subject: RE: help modifying the windows registry

help modifying the windows registry with Perl

2002-07-05 Thread Denmark Weatherburne
Hi Gurus, I need to automate the following steps in batch mode. 1.) I need to backup a registry key located in Hkey_Local_Machine_Software 1.) I need to delete a WinNT or Win2000 registry key located in Hkey_Local_Machine_Software 2.) I need to create a registry key in the same location

RE: help modifying the windows registry with Perl

2002-07-05 Thread Edgington, Jeff
Win32::Registry or Win32::TieRegistry -Original Message- From: Denmark Weatherburne [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 5:17 PM To: [EMAIL PROTECTED] Subject: help modifying the windows registry with Perl Hi Gurus, I need to automate the following steps

help...

2002-06-14 Thread Mike Singleton
I would like to have an parsing script that contains the Job number, Job Name, log entry date time, task number, server name being backed up, drive/vol being backed up, server hosting the tape drive, tape drive being used, amt of data written, throughput speed, nbr of files written, nbr files

Re: help...

2002-06-14 Thread Eric Greenwood
I would like to have a White Chocolate Mocha Grande with whipped cream. Sorry, couldn't resist. Eric From: Mike Singleton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: help... Date: Fri, 14 Jun 2002 10:22:52 -0700 I would like to have an parsing script that contains the Job number, Job

Re: help...

2002-06-14 Thread Förtsch
and what would you pay for that? On Fri, 14 Jun 2002 10:22:52 -0700 Mike Singleton [EMAIL PROTECTED] wrote: I would like to have an parsing script that contains the Job number, Job Name, log entry date time, task number, server name being backed up, drive/vol being backed up, server hosting

regex file help

2002-06-10 Thread Kelley, Shawn \(US - Dallas\)
Title: regex file help Hello all, I'm in the process of writing a script that will search a file for a specific pattern and write the results to a new file. I have been able to partially accomplish this but I'm not completely satisfied with the results. The specifics are as follows: Details

Net::Ping....(Help!!)

2002-06-06 Thread agalal
# For backward compatibility print "$host is alive.\n" if pingecho($host); and use $host='127.0.0.1';I doesn't get any output at all.i want to know how to use the moudules ,in the Perl .can any one help me.i will be thatnks for Help.

RE: Help with LDAP access

2002-06-06 Thread Dans Lists
: Wednesday, June 05, 2002 5:36 AM To: Dans Lists; [EMAIL PROTECTED] Subject: RE: Help with LDAP access I have not run this with AD as of yet (it runs against a Netscape LDAP implementation) but it shouldn't be too different. It should give you an idea to work with and some tricky (see $entry

Help with LDAP access

2002-06-05 Thread Dans Lists
I have an email address, I need to get the user account out of AD. How? -- Daniel Peterson LBNL - Berkeley Lab Energy Sciences Network - ESnet E-Mail:[EMAIL PROTECTED] Voice:(510) 486-7275 ___ Perl-Win32-Admin mailing list [EMAIL

Need help hiding text on a password

2002-06-04 Thread Monroe, John M
Hello all, thanks for the help in advance. I have the readline example from term:readline but I want to suppress the typed in text and am not sure. Here is the code: use Term::ReadLine; $term = new Term::ReadLine 'password'; $prompt = Enter your password: ; $OUT = $term-OUT || STDOUT

Win32::AdminMisc Help Please

2002-05-16 Thread Allen, Matthew
Hello all! Sorry to bother you all with something I am sure you will all find pretty simple, but I cannot get this to work. This script is pulling the servers from a text file. I have tried many variations, but cannot get my password to change, OR my account to rename. Any help would

Re: regular expression help

2002-05-14 Thread Marcos Lorenzo de Santiago
: I'm a little bit rusty on using regular expressions and need some help. Let's say that I'm given \\Server\Pathname as a text. How would I extract \\Server from this and store it to a variable $server? Thanks, Jason

Re: regular expression help

2002-05-14 Thread Dexter Casey
expressions and need some help. Let's say that I'm given \\Server\Pathname as a text. How would I extract \\Server from this and store it to a variable $server? Thanks, Jason ___ Perl-Win32

Re: regular expression help

2002-05-14 Thread Marcos Lorenzo de Santiago
On Tue, 14 May 2002, Dexter Casey wrote: Dude that doesn't work. You are substituing white space for the word you are trying to match and store in $server. Am I missing something. That just returns the count of matches. Rgds Dexter I tried it and it did

Re: regular expression help

2002-05-14 Thread Dexter Casey
Cool. Dex Marcos Lorenzo de Santiago wrote: On Tue, 14 May 2002, Dexter Casey wrote: Dude that doesn't work. You are substituing white space for the word you are trying to match and store in $server. Am I missing something. That just returns the count of matches.

Re: RE: regular expression help

2002-05-14 Thread Johannes Studt
I wrote: $str = '\\server\path'; (undef, $server, $path) = split (/\\/, $str); print 'Server=', $server, ' Path=', $path; Peter Vogel wrote: That only works in the path part doesn't contain \. For example, this is a valid UNC path: \\server\share\subdir1\subsubdir1 Your suggestion would only

Help w/Win32::Lanman::WTSSetUserConfig()

2002-05-13 Thread Chris Olive
Trying to script WTS setups from an app server. The following code does NOT work on a valid WTS account that exists: perl -e 'use Win32::Lanman; $h = { workingdirectory = c:\\working\\directory, terminalserverprofilepath = server\\profiles\\path }; $rv = Win32::Lanman::WTSSetUserConfig(

Re: Help w/Win32::Lanman::WTSSetUserConfig()

2002-05-13 Thread tony . o'quinn
PROTECTED] [EMAIL PROTECTED] Subject: Re: Help w/Win32::Lanman::WTSSetUserConfig() eState.com

regular expression help

2002-05-13 Thread jason . griffin
I'm a little bit rusty on using regular expressions and need some help. Let's say that I'm given \\Server\Pathname as a text. How would I extract \\Server from this and store it to a variable $server? Thanks, Jason ___ Perl-Win32-Admin mailing list

Re: regular expression help

2002-05-13 Thread Chris Olive
Say $str is equal to Server\\Pathname $str =~ m/(\w*)\\(\w*)/; $server = $1; -- Original Message -- From: [EMAIL PROTECTED] Date: Mon, 13 May 2002 17:08:26 -0500 I'm a little bit rusty on using regular expressions and need some help. Let's say

Re: regular expression help

2002-05-13 Thread Dexter Casey
There are probably much better ways of doing this but how about if ($line =~ /()(\w+)\\/){ $server=$2; } Rgds Dexter [EMAIL PROTECTED] wrote: I'm a little bit rusty on using regular expressions and need some help. Let's say that I'm given \\Server\Pathname as a text. How would I

RE: regular expression help

2002-05-13 Thread Peter Vogel
- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 5/13/2002 3:08 PM Subject: regular expression help I'm a little bit rusty on using regular expressions and need some help. Let's say that I'm given \\Server\Pathname as a text. How would I extract \\Server from this and store it to a variable

RE: regular expression help

2002-05-13 Thread Peter Vogel
PM Subject: RE: regular expression help Let's say that I'm given \\Server\Pathname as a text. How would I extract \\Server from this and store it to a variable $server? $str = '\\server\path'; (undef, $server, $path) = split (/\\/, $str); print 'Server=', $server, ' Path=', $path; Johannes

RE: regular expression help

2002-05-13 Thread Timothy Johnson
PROTECTED] '; '[EMAIL PROTECTED] ' Subject: RE: regular expression help Assuming that path doesn't have \ in it, $str = '\\Server\Path'; $str =~ /^.*\\([^\\]+)$/; $server = $1; What this does is match the string to: starting at the beginning /^ followed by 0 or more of any

PPM has lost its mind-help

2002-04-20 Thread Dans Lists
I am in the middle of a project and PPM has lost its mind. When I get into the prompt and type set I get the following: PPM interactive shell (2.1.5) - type 'help' for available commands. PPM set Commands will not be confirmed. Temporary files will not be deleted. Download status

Re: PPM has lost its mind-help

2002-04-20 Thread Trevor Joerges
;print; - Original Message - From: Dans Lists [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 20, 2002 2:50 AM Subject: PPM has lost its mind-help I am in the middle of a project and PPM has lost its mind. When I get into the prompt

RE: PPM has lost its mind-help

2002-04-20 Thread Dans Lists
:32 AM To: Dans Lists; [EMAIL PROTECTED] Subject: Re: PPM has lost its mind-help Dan, AFAIK PPM only keeps track of the modules you've actually installed using PPM and PPM2 uses a different data source than PPM3. If you are an ASPN subscriber you can also save you PPM profile

Re: Pattern Matching Help

2002-04-16 Thread Philip Morley
Pattern matching won't help you here, I'm afraid. Date validation is notoriously a complex area. You need to check that the date is between 01-31 when the month is Jan, Mar, May, July, August, Oct, Dec; is between 01-30 on other months except February; February has a special case on leap

Re: Pattern Matching Help

2002-04-16 Thread Thomas R Wyant_III
Balam, You say your code is not working, but you don't say what's wrong. You could try Date::Manip. It may be overkill, of course, and you don't get a Perl date out of Parse_Date; you still need to run it through Unix_Date with the %s format qualifier. And I always seem to have to hold my

RE: Pattern Matching Help

2002-04-16 Thread Harikrishnan Bhaskaran
Have u looked at Date::Parse ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 5:27 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Pattern Matching Help Dear Friends, I want to restrict the users from

Help with an Array of Hashes

2002-04-02 Thread MacAlpine, Tim
I'm trying to work with Win32::Perms and in order to get the list of ACEs you use a Get method and pass it an array reference. This should load hash references into the array whose reference you passed. Now I can't seem to get at the hashes. I've included a code snippet below. When I run this as

Re: Help with an Array of Hashes

2002-04-02 Thread Edward G. Orton
Edward G. Orton, GWN Consultants Inc. Phone: 613-764-3186, Fax: 613-764-1721 email: [EMAIL PROTECTED] - Original Message - From: MacAlpine, Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 02, 2002 4:01 PM Subject: Help with an Array of Hashes I'm

  1   2   >