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:filter>(&amp;(objectClass=group)(name=G-TU-NTWS-ADM))</ldap:filter
>
      <ldap:rootdn>cn=corproot,cn=net</ldap:rootdn>  
        <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:show-attribute>TRUE</ldap:show-attribute>
      <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:execute-query>
</LDAPUSER>

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

Reply via email to