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:

<snip>
vserver!default!directory!/secret!handler = common
vserver!default!directory!/secret!auth = ldap
vserver!default!directory!/secret!auth!server = localhost
vserver!default!directory!/secret!auth!port = 389
vserver!default!directory!/secret!auth!bind_dn = cn=admin,dc=cherokee
vserver!default!directory!/secret!auth!bind_pw = mypassword
vserver!default!directory!/secret!auth!base_dn = dc=cherokee
vserver!default!directory!/secret!auth!filter = uid=%u
vserver!default!directory!/secret!priority = 6
</snip>

secret/ is under the root directory, owned by www-data. I've assumed
several things to write that down, so it's probably wrong because I get
the 401 Auth required message without being asked for a password [1] The
LDAP sever behind is OpenLDAP v.2.3.25, Debian revision 1, in Debian
Etch, and it's working flawlessly for other applications.

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>

I can send an strace if needed, but I really think that this is due to
my lame configuration lines.

Jose

[1] http://www.g33k.com.ve/secret/

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

Reply via email to