Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 10295 invoked by uid 500); 25 Jun 2001 03:35:49 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 10281 invoked from network); 25 Jun 2001 03:35:47 -0000 Message-ID: From: "Bentley, Tim" To: cocoon-users@xml.apache.org Subject: RE: Cocoon with Ldap Date: Mon, 25 Jun 2001 11:42:57 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0FD18.28C893D0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_001_01C0FD18.28C893D0 Content-Type: text/plain; charset="iso-8859-1" Janesh - You're probably better off using the LDAP or ELDAP logicsheets, which are maintained by Jeff Turner (are you out there Jeff?). I'm not familiar with the syntax of whatever method you're currently using, so it's difficult to help! The logicsheets mentioned above are fairly straight-forward and work well. The original LDAP logicsheet only works with C1, but ELDAP should work with C2 (although I haven't had time to test it yet). If you want copies of the logicsheets and some sample XML pages, let me know and I can email them to you. Regards, Tim Bentley -----Original Message----- From: Janesh Vasudeva [mailto:jvasudeva@asapsolutions.com] Sent: Wednesday, 13 June 2001 20:51 To: xml-dev-request@lists.xml.org; cocoon-users@xml.apache.org Subject: Fw: Cocoon with Ldap ----- Original Message ----- From: Janesh Vasudeva Sent: Wednesday, June 13, 2001 4:13 PM Subject: Cocoon with Ldap When i try to acces Ldap Server , it gives me this error Wed Jun 13 15:57:57 GMT+05:30 2001: *.xml: init Exception: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Ob ject]; remaining name 'o=ireason.com,uid=rdesantis,ou=people' using renderer org.apache.fop.render.pdf.PDFRenderer using element mapping org.apache.fop.fo.StandardElementMapping using element mapping org.apache.fop.svg.SVGElementMapping building formatting object tree setting up fonts formatting FOs into areas [1] rendering areas to PDF writing out PDF with this code com.sun.jndi.ldap.LdapCtxFactory ldap://reason2.ireason.com:389/ msisdnlist=* what does this msisdnlist stands for ? whereas this data i get when i run java program to get ldap details uid=rdesantis, ou=people, o=ireason.com firstname = Robert lastname = DeSantis uid = RDeSantis location = san jose.california.us.northamerica role = null language = pt email = rdesantis@ireason.com mobile = 408.393.4341 pager = 408.393.4341 fax = 408.555.1212 ------_=_NextPart_001_01C0FD18.28C893D0 Content-Type: text/html; charset="iso-8859-1"
Janesh -
 
You're probably better off using the LDAP or ELDAP logicsheets, which are maintained by Jeff Turner (are you out there Jeff?).  I'm not familiar with the syntax of whatever method you're currently using, so it's difficult to help!
 
The logicsheets mentioned above are fairly straight-forward and work well.  The original LDAP logicsheet only works with C1, but ELDAP should work with C2 (although I haven't had time to test it yet). 
 
If you want copies of the logicsheets and some sample XML pages, let me know and I can email them to you.
 
 
Regards,
 
 
Tim Bentley
 
-----Original Message-----
From: Janesh Vasudeva [mailto:jvasudeva@asapsolutions.com]
Sent: Wednesday, 13 June 2001 20:51
To: xml-dev-request@lists.xml.org; cocoon-users@xml.apache.org
Subject: Fw: Cocoon with Ldap

 
----- Original Message -----
 
Sent: Wednesday, June 13, 2001 4:13 PM
Subject: Cocoon with Ldap

When i try to acces  Ldap Server , it gives me this error
 
 
 
Wed Jun 13 15:57:57 GMT+05:30 2001:<I> <ServletContext-General> *.xml: init
Exception: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Ob
ject]; remaining name 'o=ireason.com,uid=rdesantis,ou=people'
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping org.apache.fop.fo.StandardElementMapping
using element mapping org.apache.fop.svg.SVGElementMapping
building formatting object tree
setting up fonts
formatting FOs into areas
 [1]
rendering areas to PDF
writing out PDF
 
with this code
 
<ldap-defs>
   <ldap-server name="ireason.com">
    <initializer>com.sun.jndi.ldap.LdapCtxFactory</initializer>
    <ldap-serverurl>ldap://reason2.ireason.com:389/</ldap-serverurl>
   </ldap-server>
   <ldap-querydefs name="standard" default="yes"/>
  </ldap-defs>
  <ldap-query server="ireason.com" ldap-searchbase="o=ireason.com,uid=rdesantis,ou=people" defs="standard">
  msisdnlist=*
   </ldap-query>
 
what does this msisdnlist stands for ?
 
whereas this data i get when i run java program to get ldap details
 
uid=rdesantis, ou=people, o=ireason.com
firstname = Robert
lastname = DeSantis
uid = RDeSantis
location = san jose.california.us.northamerica
role = null
language = pt
email = rdesantis@ireason.com
mobile = 408.393.4341
pager = 408.393.4341
fax = 408.555.1212

 
------_=_NextPart_001_01C0FD18.28C893D0--