Beat -

Here's the current version.

In addition to querying, you can do adds, removes and deletes.  The Add
syntax is as follows:
 
<eldap:execute type="add">
    <eldap:server-url>ldap://yourmachine:porthere</eldap:server-url>
    <eldap:search-base>cn=James
BROWN,ou=Administration,ou=Corporate,o=DemoCorp,c=au</eldap:search-base>
    <eldap:error-element>error</eldap:error-element>
    <eldap:attribute 
 name="objectClass"><eldap:value>top</eldap:value></eldap:attribute>
    <eldap:attribute 
 name="objectClass"><eldap:value>inetorgperson</eldap:value></e
 ldap:attribute>
    <eldap:attribute 
 name="sn"><eldap:value>BROWN</eldap:value></eldap:attribute>
    <eldap:attribute name="cn"><eldap:value>James 
 BROWN</eldap:value></eldap:attribute>
 </eldap:execute>
 
 The Modify is similar (just change type to "modify"), and the 
 'delete' is as you would expect.

I have also attached a couple of samples which show different ways of
organising the results of a search.


> -----Original Message-----
> From: De Martin, Beat [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 23 August 2001 12:00 AM
> To: Bentley, Tim
> Subject: ldap
> 
> 
> Hi
> I'm looking for a ldap taglib for Cocoon2. Is it already finished ?
> Cheers
> Beat De Martin
> Generali Group
> Zurich, Switzerland
> 

eldapbasicsample.xml

eldapdsmlsample.xml

eldap.xsl

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to