Re: NTLM module

2002-08-13 Thread Gerald Richter
You may check Apache::Access module at http://modperl.home.att.net in which I tried to provide a general solution to several popular authentication issuers such as SMB, LDAP, IMAP, NIS, FTP, LWP and DBI etc. I think you missed the point (or I missunderstood your module): The problem is not

Re: NTLM module

2002-08-13 Thread Peter Bi
Gerald: if you check the source of the Smb implemenation of the module, you would see that it performs basically the same function as NTLM. I agree with you that it does not fit the Microsoft definition of NTLM, so it is not a NTLM implementation. If ones purpose is to pass the protection by

RE: variables not changing with modperl??

2002-08-13 Thread david . morgan
I'm sure someone will correct me if I'm wrong... But, variables in the initial section (ie outside of a function) in the main package will stay in scope all the time. This means that it will retain the value from a previous request- which might be giving you these problems. As Perrin Harkins

OpenInteract 1.41 released

2002-08-13 Thread Chris Winters
A new version (1.41) of OpenInteract has been released to CPAN. OpenInteract is an extensible web application server built on Apache, mod_perl, the Template Toolkit and SPOPS object persistence. This is a fairly minor upgrade -- a few bugfixes and refactorings, plus the ability to use a

Re: variables not changing with modperl??

2002-08-13 Thread darren chamberlain
* Michael Drons [EMAIL PROTECTED] [2002-08-13 01:55]: Thanks for the link. I actually don't use functions. Everything is mostly in MAIN. Here is a snip of code: #!/usr/bin/perl -wT use strict; print body; my $r = Apache-request; $r-content_type(text/html); $r-status(200); my

Re: variables not changing with modperl??

2002-08-13 Thread Paul Simon
Hi darren Did you try starting apache with "httpd -X". It spawns only one process and that helps keep things inorder, as far as variable values. You can try trouble shooting with that. darren chamberlain <[EMAIL PROTECTED]>wrote: * Michael Drons <[EMAIL PROTECTED]>[2002-08-13 01:55]: Thanks for

Re: variables not changing with modperl??

2002-08-13 Thread Perrin Harkins
darren chamberlain wrote: Make those global symbols ($cookie, $user, and $hash) lexical (declare with my) and the code will both compile and do what you expect (i.e., not maintain values from call to call). That's what I was thinking too. Also, it's really not a good idea to do your own

Re: variables not changing with modperl??

2002-08-13 Thread Michael Drons
Sorry, There is a my in front of the ($cookie,$user) code. I am confused about your second statement about parsing the input. What should I be doing? Do you mean I should use $r-read($content, $r-header_in('Content-length'))? to read in the variables? I use the AuthCookie modules to set

Re: variables not changing with modperl??

2002-08-13 Thread Ken Y. Clark
On Tue, 13 Aug 2002, Michael Drons wrote: Date: Tue, 13 Aug 2002 07:46:16 -0700 (PDT) From: Michael Drons [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Perrin Harkins [EMAIL PROTECTED], darren chamberlain [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: variables not changing

RE: can't fine ModuleConfig.c.

2002-08-13 Thread Randy Kobes
On Mon, 12 Aug 2002, Goehring, Chuck Mr., RCI - San Diego wrote: Randy, I'm using Perl 5.6.0 for this. Should I be using 5.8.0? Does that affect ModuleConfig.c? There may be some advantages to using 5.8.0 with mod_perl-2 on Win32, but 5.6.1 should be fine with mod_perl-1. Having

Re: variables not changing with modperl??

2002-08-13 Thread Perrin Harkins
Ken Y. Clark wrote: As for this and Perrin's comment about parsing on your own, the point is that you've written a lot of code that has already been written and debugged by a lot of really smart people. There's no reason for you to be reading STDIN and spliting and all that. If you're using

Compiling problems with Apache 2.040 (Win32)and mod_perl2 last version.

2002-08-13 Thread Stefan Sabolowitsch
Hi NG. I has here the current Apache 2.040 for Win32. With compile of the last mod_perl2 version, get I the following error message. #-#-#-#-##-#-#-#-#-#-#-# cl -IG:/cygwin/tmp/modperl5/src/modules/perl -IG:/cygwin/tmp/modperl5/xs -IG:\Apache2/include -nologo -O1 -MD -DNDEBUG

-Wl,-E

2002-08-13 Thread Ihor Bilyy
Hello! I can't build apache 1.3.26 with mod_perl 1.27 on Solaris 2.8 I use: perl Makefile.pl APACHE_SRC=../apache1/src \ NO_HTTPD=1 USE_APACI=1 PREP_HTTPD \ EVERYTHING=1 and in apache directory: ./configure --activate-module=src/modules/perl/libperl.a here is the output: Configuring for

RE: can't fine ModuleConfig.c.

2002-08-13 Thread Goehring, Chuck Mr., RCI - San Diego
Randy, My server barfed and I had to re-format. Do you think I ought to go with Apache 2? I need to get to full time ssl to meet the security requirements anyway. I was planning to do this when I go hit with the need to close that vulnerability in Apache. Is the 2.0 ready for prime time

Re: Handler Concept / Question

2002-08-13 Thread Thomas Whitney
You were close. It's default-handler. http://httpd.apache.org/docs/handler.html And in mod_perl docs: http://perl.apache.org/docs/1.0/guide/config.html#Overriding_E_lt_LocationE _gt__Setting_in__Sub_Location_ __ Thanks, that was what I was looking for. Thomas Whitney

Re: -Wl,-E

2002-08-13 Thread David McCabe
Ihor Bilyy wrote: Hello! I can't build apache 1.3.26 with mod_perl 1.27 on Solaris 2.8 I use: /usr/ccs/bin/ld: illegal option -- E usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:] file(s) Sun put out a patch to their linker (ld) that breaks the Configure script for

Re: NTLM module

2002-08-13 Thread Gerald Richter
if you check the source of the Smb implemenation of the module, you would see that it performs basically the same function as NTLM. I agree with you that it does not fit the Microsoft definition of NTLM, so it is not a NTLM implementation. If ones purpose is to pass the protection by

Re: NTLM module

2002-08-13 Thread Peter Bi
The username/password pair is sent only once to the issuer machine and the follow-up authentications are performed using a self-certified, time-limited, hash. In fact, it is based on access-control, having nothing to do with Basic Authentication. This is discussed in detail in the Eagle book. I

Re: -Wl,-E

2002-08-13 Thread Ihor Bilyy
After applying that patches error message is the same. ld -V: ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.275 btw gcc --version 2.95.2, maybe problem is with gcc ? -i- - Original Message - From: David McCabe [EMAIL PROTECTED] To: Ihor Bilyy [EMAIL PROTECTED] Cc:

apache + mod_perl -- chunk mode trailer

2002-08-13 Thread Fang Cheng
I have a problem with the HTTP response in the chunk mode using mod_perl. When apache sends a response in the chunk mode, the mod_perl handler invokes the ap_send_http_header() function in the apache src/main/http_protocol.c file, and the r-chunked flag is set to 1 (by the ap_keep_alive()

Re: Compiling problems with Apache 2.040 (Win32)and mod_perl2 lastversion.

2002-08-13 Thread Stas Bekman
Stefan Sabolowitsch wrote: Hi NG. I has here the current Apache 2.040 for Win32. With compile of the last mod_perl2 version, get I the following error message. [...] mod_perl.c(511) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei 'int (__cdecl *)(struct ap_filter_t *)'

naming convention

2002-08-13 Thread Michael Robinton
I have a proposed perl / modperl module that will go to CPAN Graphics::ColorPicker : A perl module for WYSIWYG web applications that allow selection of HEX color numbers I think this is an appropriate name, but have not submitted in this category before. Please advise. See:

Re: naming convention

2002-08-13 Thread Stas Bekman
Michael Robinton wrote: I have a proposed perl / modperl module that will go to CPAN Graphics::ColorPicker : A perl module for WYSIWYG web applications that allow selection of HEX color numbers I think this is an appropriate name, but have not submitted in this category before.

Re: NTLM module

2002-08-13 Thread Gerald Richter
The username/password pair is sent only once to the issuer machine and the follow-up authentications are performed using a self-certified, time-limited, hash. In fact, it is based on access-control, having nothing to do with Basic Authentication. This is discussed in detail in the Eagle

Re: naming convention

2002-08-13 Thread Michael Robinton
Stas wrote: Michael Robinton wrote: I have a proposed perl / modperl module that will go to CPAN Graphics::ColorPicker : A perl module for WYSIWYG web applications that allow selection of HEX color numbers I think this is an appropriate name, but have not submitted in this

Re: NTLM module

2002-08-13 Thread Peter Bi
Gerald: Any comment on Paulo's question ? (I am interested in that knowledge too.) I doubt that NTLM does not need any password. Logically, there must be a way to set up the initial trustful connection between two machines. If not password, what will that be ? Or something like Digital

Re: naming convention

2002-08-13 Thread Stas Bekman
Michael Robinton wrote: Stas wrote: Michael Robinton wrote: I have a proposed perl / modperl module that will go to CPAN Graphics::ColorPicker : A perl module for WYSIWYG web applications that allow selection of HEX color numbers I think this is an appropriate name, but have not