cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Mikhienko <Yury.Mikhie...@mobicomk.ru>
Subject Re: is this working?
Date Fri, 06 Jun 2003 08:07:07 GMT
On Fri, 6 Jun 2003 09:37:48 +0200
<Maxime.Gheysen@swisscom.com> wrote:

> I have tested LDAP, and after two days I have come to a result... I
> don't have any errors i my page, but I get following :
>   <?xml version="1.0" encoding="Windows-1252" ?> 
>   <LDAPUSER xmlns:ldap="http://apache.org/cocoon/LDAP/1.0">
>   	<LDAP xmlns="http://apache.org/cocoon/LDAP/1.0" /> 
>   </LDAPUSER>
> 
> My pipeline is like this :
>     <map:pipeline>    
>          <map:match pattern="ldaptest">
>             <map:generate src="workflowmanager/documents/ldaptest.xml"
> />
>             <map:transform type="ldap" />
>             <map:serialize type="xml" /> 
>          </map:match>
>     </map:pipeline>
> 
> Now, I think (and hope) my page is correct, but how can I display some
> results? My xml file is detailled here : 
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <LDAPUSER xmlns:ldap="http://apache.org/cocoon/LDAP/1.0">
>  <ldap:execute-query>
>  
> <ldap:initializer>com.sun.jndi.ldap.LdapCtxFactory</ldap:initializer> 
>       <ldap:serverurl>ldap://10.68.85.40</ldap:serverurl>
>       <ldap:port>389</ldap:port>
>       <ldap:scope>OBJECTS_SCOPE</ldap:scope>
>  
>       <ldap:rootdn>cn=corproot,cn=net</ldap:rootdn> 

         <ldap:password>???</ldap:password>
         <!-- password to dn (if exist) -->

> 	<ldap:searchbase>DC=corproot,DC=net</ldap:searchbase>
>       <ldap:debug>FALSE</ldap:debug> 
>       <ldap:deref-link>TRUE</ldap:deref-link>
>       <ldap:count-limit>100</ldap:count-limit>
>       <ldap:time-limit>0</ldap:time-limit>
>       <ldap:doc-element>LDAP</ldap:doc-element>
>       <ldap:row-element>LDAPSET</ldap:row-element>
>       <ldap:error-element>ELEMENT</ldap:error-element>
>       <ldap:attribute>member</ldap:attribute>

        <ldap:show-attribute>TRUE</ldap:show-attribute>
        <ldap:filter>(&amp;(objectClass=group)(name=G-TU-NTWS-ADM))</ldap:filter>

>  </ldap:execute-query>
> </LDAPUSER>
> 


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

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


Mime
View raw message