Unable to locate cgi-bin folder!!!

2006-08-17 Thread ukhas jean
Hello All,I am unable to locate the cgi-bin folder on my machine. My cgi-scripts are ready, but I am unable to test them.I believe it should either be in my Inetpub folder or my Perl-installation folder.  But it is not there.I am having Win XP. Perl 5.8.8 and IIS installed on my machine.  Do I require to install anything else??Pardon me for this amateurish question. Any leads/suggestions would be most welcome.Thanks and Regards,  Jenson Samuel. 
		Get your email and more, right on the  new Yahoo.com 
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Unable to locate cgi-bin folder!!!

2006-08-17 Thread ukhas jean
Hello All,I am unable to locate the cgi-bin folder on my machine. My cgi-scripts are ready, but I am unable to test them.I believe it should either be in my Inetpub folder or my Perl-installation folder.  But it is not there.I am having Win XP. Perl 5.8.8 and IIS installed on my machine.  Do I require to install anything else??Pardon me for this amateurish question. Any leads/suggestions would be most welcome.Thanks and Regards,  Jenson Samuel. 
		Get your email and more, right on the  new Yahoo.com 
___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Unable to locate cgi-bin folder!!!

2006-08-17 Thread ukhas jean
Hello All,I am unable to locate the cgi-bin folder on my machine. My cgi-scripts are ready, but I am unable to test them.I believe it should either be in my Inetpub folder or my Perl-installation folder.  But it is not there.I am having Win XP. Perl 5.8.8 and IIS installed on my machine.  Do I require to install anything else??Pardon me for this amateurish question. Any leads/suggestions would be most welcome.Thanks and Regards,  Jenson Samuel. 
		Get your email and more, right on the  new Yahoo.com 
___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Unable to locate cgi-bin folder!!!

2006-08-17 Thread Ted Schuerzinger
ukhas jean [EMAIL PROTECTED] graced perl with these words of wisdom:

 I am unable to locate the cgi-bin folder on my machine.

If you're sending the same post to the list five times and in HTML, not 
being able to locate the cgi-bin folder on your machine may be the least 
of your problems.

-- 
Ted fedya at bestweb dot net
TV Announcer: It's 11:00.  Do you know where your children are?
Homer: I told you last night, *no*!
http://www.snpp.com/episodes/4F06.html
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Win32API::Net

2006-08-17 Thread Jim Bartlett
Title: Win32API::Net





I am trying to use Win32API::NET to retrieve all disabled user accts on an NT domain. I can retrieve the 'flags' key from the hash after executing an enum but I am not sure how to use the UF_ACCOUNTDISABLE() function to determine acct status. The manpage indicates it is a bitwise OR but that doesn't give me the desired result (it returned all users as disabled which is not true). Any guidance? Thanks.

Jim Bartlett
I replaced the headlights in my car with strobe lights, so it looks like I'm the only one moving. -- Steven Wright



___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Win32API::Net

2006-08-17 Thread $Bill Luebkert
Jim Bartlett wrote:

 I am trying to use Win32API::NET to retrieve all disabled user accts on
 an NT domain. I can retrieve the 'flags' key from the hash after
 executing an enum but I am not sure how to use the UF_ACCOUNTDISABLE()
 function to determine acct status. The manpage indicates it is a bitwise
 OR but that doesn't give me the desired result (it returned all users as
 disabled which is not true). Any guidance? Thanks.

Print the flags as a hex value and post your results.

printf Flags = %08X\n, $flags;

UF_* values should be close to these:

#define UF_SCRIPT   0x0001
#define UF_ACCOUNTDISABLE   0x0002
#define UF_HOMEDIR_REQUIRED 0x0008
#define UF_LOCKOUT  0x0010
#define UF_PASSWD_NOTREQD   0x0020
#define UF_PASSWD_CANT_CHANGE   0x0040
#define UF_TEMP_DUPLICATE_ACCOUNT   0x0100
#define UF_NORMAL_ACCOUNT   0x0200
#define UF_INTERDOMAIN_TRUST_ACCOUNT0x0800
#define UF_WORKSTATION_TRUST_ACCOUNT0x1000
#define UF_SERVER_TRUST_ACCOUNT 0x2000
#define UF_DONT_EXPIRE_PASSWD   0x1
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Active Directory - Authentication

2006-08-17 Thread Dupuis.Dominic




Bonjour,

 I search how to authenticate to a W2K3Active Directoryserver, via Kerberos 
5, and I found in a mail in the perl.ldap group, thatmaybe we can use themodule Authen::SASLto do it...cananybody ever try to do a Kerberos authentication? 


 
All I need to dois to see the 
members of a group in a W2K3 domain... I can actually do it via Net::LDAP 
but I will have no other choice than to go with a secure connection really 
soon (SSL/TLS)... Since I don't want to play with CA...I want to 
simply authenticate via Kerberos. Is it 
possible?

 
Thanks for any help or idea!!! 
:-)

Dub
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Perl-Win32-Users Digest, Vol 1, Issue 1792

2006-08-17 Thread McDermott, Michael


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 1:00 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Perl-Win32-Users Digest, Vol 1, Issue 1792

Send Perl-Win32-Users mailing list submissions to
perl-win32-users@listserv.ActiveState.com

To subscribe or unsubscribe via the World Wide Web, visit

http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Perl-Win32-Users digest...


Today's Topics:

   1. Unable to locate cgi-bin folder!!! (ukhas jean)
   2. Unable to locate cgi-bin folder!!! (ukhas jean)
   3. Unable to locate cgi-bin folder!!! (ukhas jean)
   4. Unable to locate cgi-bin folder!!! (ukhas jean)
   5. Unable to locate cgi-bin folder!!! (ukhas jean)
   6. Re: Unable to locate cgi-bin folder!!! (Ted Schuerzinger)
   7. Win32API::Net (Jim Bartlett)
   8. Re: Win32API::Net ($Bill Luebkert)
   9. Active Directory - Authentication ([EMAIL PROTECTED])


--

Message: 1
Date: Wed, 16 Aug 2006 23:37:35 -0700 (PDT)
From: ukhas jean [EMAIL PROTECTED]
Subject: Unable to locate cgi-bin folder!!!
To: Active Perl activeperl@listserv.ActiveState.com,  active perl
activeperl@listserv.activestate.com
Cc: Perl Mongers [EMAIL PROTECTED],   Perlwin
Web
perl-win32-web@listserv.ActiveState.com,  Perl Win Users
perl-win32-users@listserv.ActiveState.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hello All,
   
  I am unable to locate the cgi-bin folder on my machine. My cgi-scripts
are ready, but I am unable to test them.
   
  I believe it should either be in my Inetpub folder or my
Perl-installation folder.
  But it is not there.
   
  I am having Win XP. Perl 5.8.8 and IIS installed on my machine.
  Do I require to install anything else??
   
  Pardon me for this amateurish question. Any leads/suggestions would be
most welcome.
   
  Thanks and Regards,
  Jenson Samuel.


-
Get your email and more, right on the  new Yahoo.com 
-- next part --
An HTML attachment was scrubbed...
URL:
http://listserv.ActiveState.com/pipermail/perl-win32-users/attachments/2
0060816/96826f09/attachment-0003.html 

--

Message: 2
Date: Wed, 16 Aug 2006 23:37:35 -0700 (PDT)
From: ukhas jean [EMAIL PROTECTED]
Subject: Unable to locate cgi-bin folder!!!
To: Active Perl activeperl@listserv.ActiveState.com,  active perl
activeperl@listserv.ActiveState.com
Cc: Perl Mongers [EMAIL PROTECTED],   Perlwin
Web
perl-win32-web@listserv.ActiveState.com,  Perl Win Users
perl-win32-users@listserv.ActiveState.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hello All,
   
  I am unable to locate the cgi-bin folder on my machine. My cgi-scripts
are ready, but I am unable to test them.
   
  I believe it should either be in my Inetpub folder or my
Perl-installation folder.
  But it is not there.
   
  I am having Win XP. Perl 5.8.8 and IIS installed on my machine.
  Do I require to install anything else??
   
  Pardon me for this amateurish question. Any leads/suggestions would be
most welcome.
   
  Thanks and Regards,
  Jenson Samuel.


-
Get your email and more, right on the  new Yahoo.com 
-- next part --
An HTML attachment was scrubbed...
URL:
http://listserv.ActiveState.com/pipermail/perl-win32-users/attachments/2
0060816/96826f09/attachment-0004.html 
-- next part --
___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

--

Message: 3
Date: Wed, 16 Aug 2006 23:37:35 -0700 (PDT)
From: ukhas jean [EMAIL PROTECTED]
Subject: Unable to locate cgi-bin folder!!!
To: Active Perl activeperl@listserv.ActiveState.com,  active perl
activeperl@listserv.ActiveState.com
Cc: Perl Mongers [EMAIL PROTECTED],   Perlwin
Web
perl-win32-web@listserv.ActiveState.com,  Perl Win Users
perl-win32-users@listserv.ActiveState.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hello All,
   
  I am unable to locate the cgi-bin folder on my machine. My cgi-scripts
are ready, but I am unable to test them.
   
  I believe it should either be in my Inetpub folder or my
Perl-installation folder.
  But it is not there.
   
  I am having Win XP. Perl 5.8.8 and IIS installed on my machine.
  Do I require to install anything else??
   
  

RE: Win32API::Net

2006-08-17 Thread Jim Bartlett
Title: RE: Win32API::Net





So the flags come back like this (when using printf command):



Flags = 0203
Flags = 0201
Flags = 0203
Flags = 0201
Flags = 0201


How do I use UF_ACCOUNTDISABLE() to extract just the account disabled flag? Thanks.


Jim


-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 17, 2006 11:42 AM
To: Jim Bartlett
Cc: 'perl-win32-users@listserv.ActiveState.com'
Subject: Re: Win32API::Net



Jim Bartlett wrote:


 I am trying to use Win32API::NET to retrieve all disabled user accts
 on an NT domain. I can retrieve the 'flags' key from the hash after 
 executing an enum but I am not sure how to use the UF_ACCOUNTDISABLE() 
 function to determine acct status. The manpage indicates it is a 
 bitwise OR but that doesn't give me the desired result (it returned 
 all users as disabled which is not true). Any guidance? Thanks.


Print the flags as a hex value and post your results.


printf Flags = %08X\n, $flags;


UF_* values should be close to these:


#define UF_SCRIPT 0x0001
#define UF_ACCOUNTDISABLE 0x0002
#define UF_HOMEDIR_REQUIRED 0x0008
#define UF_LOCKOUT 0x0010
#define UF_PASSWD_NOTREQD 0x0020
#define UF_PASSWD_CANT_CHANGE 0x0040
#define UF_TEMP_DUPLICATE_ACCOUNT 0x0100
#define UF_NORMAL_ACCOUNT 0x0200
#define UF_INTERDOMAIN_TRUST_ACCOUNT 0x0800
#define UF_WORKSTATION_TRUST_ACCOUNT 0x1000
#define UF_SERVER_TRUST_ACCOUNT 0x2000
#define UF_DONT_EXPIRE_PASSWD 0x1



___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Win32API::Net

2006-08-17 Thread Bullock, Howard A.

How do I use UF_ACCOUNTDISABLE() to extract just the account
disabled flag? Thanks. 

[Bullock, Howard A.] 

my $UF_ACCOUNTDISABLE  = $flags 2
my $UF_HOMEDIR_REQUIRED= $flags 8
my $UF_LOCKOUT = $flags16
my $UF_PASSWD_NOTREQD  = $flags32
my $UF_PASSWD_CANT_CHANGE  = $flags64
my $UF_ENCRYPTED_TEXT_PASSWD_ALLOW = $flags   128
my $UF_DONT_EXPIRE_PASSWD  = $flags 65536
my $UF_MNS_LOGON_ACCOUNT   = $flags131072
my $UF_SMARTCARD_REQUIRED  = $flags262144
my $UF_TRUSTED_FOR_DELEGATION  = $flags524288
my $UF_NOT_DELEGATED   = $flags   1048576
my $UF_PASSWORD_EXPIRED= $flags   8388608
my $UF_TRUSTED_TO_AUTH_FOR_DELEGAT = $flags  16777216
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Win32API::Net

2006-08-17 Thread Jim Bartlett
Title: RE: Win32API::Net





Woohoo. This works great! I appreciate the help (sorry for the newbie questions).


Jim


-Original Message-
From: Bullock, Howard A. [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 17, 2006 3:37 PM
To: Jim Bartlett; perl-win32-users@listserv.ActiveState.com
Subject: RE: Win32API::Net




How do I use UF_ACCOUNTDISABLE() to extract just the account
disabled flag? Thanks. 


[Bullock, Howard A.] 


 my $UF_ACCOUNTDISABLE = $flags  2
 my $UF_HOMEDIR_REQUIRED = $flags  8
 my $UF_LOCKOUT = $flags  16
 my $UF_PASSWD_NOTREQD = $flags  32
 my $UF_PASSWD_CANT_CHANGE = $flags  64
 my $UF_ENCRYPTED_TEXT_PASSWD_ALLOW = $flags  128
 my $UF_DONT_EXPIRE_PASSWD = $flags  65536
 my $UF_MNS_LOGON_ACCOUNT = $flags  131072
 my $UF_SMARTCARD_REQUIRED = $flags  262144
 my $UF_TRUSTED_FOR_DELEGATION = $flags  524288
 my $UF_NOT_DELEGATED = $flags  1048576
 my $UF_PASSWORD_EXPIRED = $flags  8388608
 my $UF_TRUSTED_TO_AUTH_FOR_DELEGAT = $flags  16777216



___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Win32API::Net

2006-08-17 Thread $Bill Luebkert
Jim Bartlett wrote:

 Woohoo. This works great! I appreciate the help (sorry for the newbie
 questions).

You can also table drive it (not sure of the complete set) :

my %UF = (
  SCRIPT  =0x0001,
  ACCOUNTDISABLE  =0x0002,
  HOMEDIR_REQUIRED=0x0008,
  LOCKOUT =0x0010,
  PASSWD_NOTREQD  =0x0020,
  PASSWD_CANT_CHANGE  =0x0040,
  ENCRYPTED_TEXT_PASSWD_ALLOW =0x0080,
  TEMP_DUPLICATE_ACCOUNT  =0x0100,
  NORMAL_ACCOUNT  =0x0200,
  INTERDOMAIN_TRUST_ACCOUNT   =0x0800,
  WORKSTATION_TRUST_ACCOUNT   =0x1000,
  SERVER_TRUST_ACCOUNT=0x2000,
  DONT_EXPIRE_PASSWD  =   0x1,
  MNS_LOGON_ACCOUNT   =   0x2,
  SMARTCARD_REQUIRED  =   0x4,
  TRUSTED_FOR_DELEGATION  =   0x8,
  NOT_DELEGATED   =  0x10,
  PASSWORD_EXPIRED=  0x80,
  TRUSTED_TO_AUTH_FOR_DELEGAT = 0x100,
);
my %rev_UF = reverse %UF;

for my $flag (0x203, 0x201, 0x202) {
foreach (sort keys %rev_UF) {
print $rev_UF{$_}  if $flag  $_;
}
print \n;
}
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs