You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Marc Kramis <mk...@student.ethz.ch> on 2004/05/06 19:32:47 UTC

LDAPTransformer

Hi

I recently used the LDAPTransformer. Two issues that are not clear to  
me:

1st Username and Password Auth:
If I use it for user authentification (I send a username and a  
password, the ldap server sends me a user for valid password and an  
error for a invalid password), I get a correct answer for empty  
password entries even though the password would be something else. Is  
it because of an empty password tag?

2nd TLS:
Is there a way to activate TLS for the query described in 1?


Code snippet:

...
<ldap:rootdn>uid=<session:getxml context="request"  
path="/parameter/username"/>,ou=people,dc=ssd,dc=ethz,dc=ch</ldap: 
rootdn>
<ldap:password><session:getxml context="request"  
path="/parameter/password"/></ldap:password>

<ldap:deref-link>TRUE</ldap:deref-link>
<ldap:count-limit>0</ldap:count-limit>
<ldap:time-limit>0</ldap:time-limit>
<ldap:show-attribute>TRUE</ldap:show-attribute>

<ldap:doc-element>users</ldap:doc-element>
<ldap:row-element>user</ldap:row-element>
<ldap:error-element>error</ldap:error-element>
...

Thanx for any answers
Marc


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org