List Info

Thread: LDAP validator




LDAP validator
user name
2006-09-09 16:46:42
José Parrella wrote:
> 
> Alvaro Lopez Ortega escribió:
> >   I'm glad to announce that, a few minutes ago,
the new LDAP validator
> >   landed in the unstable branch (which eventually
will become Cherokee
> >   0.6):
> 
> I've been testing the LDAP validator in 0.6.0b396
today. This is my
> relevant configuration lines:
>	.
>	.
>	.
> By the way, I tried to lynx to the address in [1] and
lynx showed:
> 
> <lynx response>
>    HTTP/1.1 Connection: Close Date: Sat, 09 Sep 2006
11:13:06 GMT--4
> Server: Cherokee/0.6.0b396 (UNIX) Content-Type:
text/html
> Content-length: 250 Cache-Control:
>    no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR
NOR UNI
> 
>    The length of request entity exceeds the capacity
limit for this server.
> </lynx response>
> 
> And the server spew:
> 
> <Cherokee's alert>
> file http.c:154 (cherokee_http_code_copy): this
shouldn't happend
> file http.c:154 (cherokee_http_code_copy): this
shouldn't happend
> file http.c:154 (cherokee_http_code_copy): this
shouldn't happend
> </Cherokee's alert>

Add a:

	PRINT_ERROR("code %d\n", code);

just before the macro SHOULDNT_HAPPEN near line 154 of
http.c,
so we can know about the unknown HTTP status code.

-- 
Nick Name:     A.D.F.
E-Mail:        <adefacc () tin ! it>
--
_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
LDAP validator
user name
2006-09-09 19:26:00
A.D.F. escribió:
> so we can know about the unknown HTTP status code.

I get this:

http.c:154: code 413
file http.c:155 (cherokee_http_code_copy): this shouldn't
happend
http.c:154: code 413
file http.c:155 (cherokee_http_code_copy): this shouldn't
happend
http.c:154: code 413
file http.c:155 (cherokee_http_code_copy): this shouldn't
happend

I changed the filter as alo said in a previous message, but
I still get
the 401 Authorization Required and no prompt for user input.
The
following is a sample session using wget:

jose  maxwell ~ $  LANG=en wget -O - http://www.g33k.com.ve/
secret
--15:24:21--  http://www.g33k.com.ve/
secret
           => `-'
Resolving www.g33k.com.ve... 201.248.237.194
Connecting to www.g33k.com.ve|201.248.237.194|:80...
connected.
HTTP request sent, awaiting response... 301 Moved
Permanently
Location: /secret/ [following]
--15:24:21--  http://www.g33k.com.ve
/secret/
           => `-'
Connecting to www.g33k.com.ve|201.248.237.194|:80...
connected.
HTTP request sent, awaiting response... 401 Authorization
Required
Authorization failed.

jose  maxwell ~ $  LANG=en wget -O -
http://sample:userwww.g33k.com.ve/secret
--15:24:34--  h
ttp://samplepassword*www.g33k.com.ve/secret
           => `-'
Resolving www.g33k.com.ve... 201.248.237.194
Connecting to www.g33k.com.ve|201.248.237.194|:80...
connected.
HTTP request sent, awaiting response... 301 Moved
Permanently
Location: /secret/ [following]
--15:24:34--  h
ttp://samplepassword*www.g33k.com.ve/secret/
           => `-'
Connecting to www.g33k.com.ve|201.248.237.194|:80...
connected.
HTTP request sent, awaiting response... 401 Authorization
Required
Unknown authentication scheme.
Authorization failed.

Thank you for your interest,
Jose

-- 
José M. Parrella -> Debian Sid, k2.6.17.13
Escuela de Ingenieria Electrica
Universidad Central de Venezuela -> ucvlug.info
_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )