Maxime,

Did you get it working in the end? I just ran into trouble with the LDAP transformer 
too and saw that you are having *exactly* the same problems... But I have the feeling 
I'm doing something wrong with addressing the active directory. What did you find?

thanks, Arje


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Posted At: 12 June 2003 15:25
> Posted To: Cocoon User List
> Conversation: what's WRONG?
> Subject: what's WRONG?
> 
> 
> What is wrong? I don't know why it doesn't work!!! Everything seems
> right?!
> 
> SITEMAP.XMAP
> =============
> <map:generate src="ldap.xml"/>
> <map:transform type="ldap"> 
>   <map:parameter name="serverurl"
> value="ldap://{request-param:serverurl}.NET"/>   
>   <map:parameter name="rootdn"
> value="{request-param:serverurl}\{request-param:name}"/> 
>   <map:parameter name="password"  value="{request-param:password}"/> 
>   <map:parameter name="filter"
> value="(&amp;(objectclass=User)(cn={request-param:name}))"/>
> </map:transform>  
> 
> LDAP.XML
> =============
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <authentication xmlns:ldap="http://apache.org/cocoon/LDAP/1.0";>
>   <ldap:execute-query>
>  
> <ldap:initializer>com.sun.jndi.ldap.LdapCtxFactory</ldap:initializer>
>     <ldap:version>3</ldap:version>
>     <ldap:port>389</ldap:port>       
>     <ldap:scope>SUBTREE_SCOPE</ldap:scope>
>     <ldap:searchbase>DC=corproot,DC=net</ldap:searchbase>
>     <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>ELEMENT</ldap:error-element>  
>     <ldap:attribute>employeeID</ldap:attribute>    
>     <ldap:attribute>title</ldap:attribute>    
>     <ldap:attribute>company</ldap:attribute>    
>     <ldap:attribute>givenname</ldap:attribute>    
>     <ldap:attribute>mail</ldap:attribute>     
>     <ldap:attribute>mobile</ldap:attribute>   
>   </ldap:execute-query> 
> </authentication>
> 
> ERROR CAUSED
> ==============
> [LDAPTransformer] Failed ldap-connection to directory service.
> 
> VERSIONS
> ===========
> Cocoon v.2.1 Dev / Apache Tomcat 4.1.24 / W2K Adv Server
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to