Re: LDAP Transformer
On Tue, 1 Jul 2003 14:55:52 +0200 [EMAIL PROTECTED] wrote: hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! try the following filter syntax: (amp;(uid={request-param:name})) -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: LDAP Transformer
it doesn't work. As I said the filter cannot be definied as parameter in the sitemap. It returns the error [LDAPTransformer] Error in LDAP-Query: javax.naming.directory.InvalidSearchFilterException: Empty filter; It must be a bug or so... But refering to the original may, with the other way to search why is it so slow ? hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! So the only way to filter it is to search by the attribute memberOf in every user data. But this attribute is a DN (means not substring or wildcards search). With a shareware I've found (LDAP Browser) I can search all these data, but with the ldap transformer I get the error : [LDAPTransformer] Error in LDAP-Query: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name 'DC=corproot,DC=net' Is it a bug of the ldap transformer? Is the filter to long/complex? Here is the filter (ldap:filter) (|(memberOf=CN=DG_IT-CLI-DAR_A_00,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res , OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_01,OU=IT_CLI-DAR, O U=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI- D AR_A_03,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net) ( memberOf=CN=DG_IT-CLI-DAR_A_04,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU = IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_05,OU=IT_CLI-DAR,OU= I T_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR _ A_06,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)) Thanks -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: Re: LDAP Transformer On Tue, 1 Jul 2003 14:55:52 +0200 [EMAIL PROTECTED] wrote: hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! try the following filter syntax: (amp;(uid={request-param:name})) -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - 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]
RE: LDAP Transformer
I think there must be a way other than set the parameter in the sitemap like : from the ldap.xml write something like that : ldap:filter(amp;(cn=request:get-query-string/))/ldap:filter Is that possible? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer it doesn't work. As I said the filter cannot be definied as parameter in the sitemap. It returns the error [LDAPTransformer] Error in LDAP-Query: javax.naming.directory.InvalidSearchFilterException: Empty filter; It must be a bug or so... But refering to the original may, with the other way to search why is it so slow ? hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! So the only way to filter it is to search by the attribute memberOf in every user data. But this attribute is a DN (means not substring or wildcards search). With a shareware I've found (LDAP Browser) I can search all these data, but with the ldap transformer I get the error : [LDAPTransformer] Error in LDAP-Query: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name 'DC=corproot,DC=net' Is it a bug of the ldap transformer? Is the filter to long/complex? Here is the filter (ldap:filter) (|(memberOf=CN=DG_IT-CLI-DAR_A_00,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res , OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_01,OU=IT_CLI-DAR, O U=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI- D AR_A_03,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net) ( memberOf=CN=DG_IT-CLI-DAR_A_04,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU = IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_05,OU=IT_CLI-DAR,OU= I T_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR _ A_06,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)) Thanks -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: Re: LDAP Transformer On Tue, 1 Jul 2003 14:55:52 +0200 [EMAIL PROTECTED] wrote: hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! try the following filter syntax: (amp;(uid={request-param:name})) -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: LDAP Transformer with XSP page?
Is it possible to create the ldap.xml, with the ldap queries in a xsp page? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 4:10 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer I think there must be a way other than set the parameter in the sitemap like : from the ldap.xml write something like that : ldap:filter(amp;(cn=request:get-query-string/))/ldap:filter Is that possible? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer it doesn't work. As I said the filter cannot be definied as parameter in the sitemap. It returns the error [LDAPTransformer] Error in LDAP-Query: javax.naming.directory.InvalidSearchFilterException: Empty filter; It must be a bug or so... But refering to the original may, with the other way to search why is it so slow ? hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! So the only way to filter it is to search by the attribute memberOf in every user data. But this attribute is a DN (means not substring or wildcards search). With a shareware I've found (LDAP Browser) I can search all these data, but with the ldap transformer I get the error : [LDAPTransformer] Error in LDAP-Query: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name 'DC=corproot,DC=net' Is it a bug of the ldap transformer? Is the filter to long/complex? Here is the filter (ldap:filter) (|(memberOf=CN=DG_IT-CLI-DAR_A_00,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res , OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_01,OU=IT_CLI-DAR, O U=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI- D AR_A_03,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net) ( memberOf=CN=DG_IT-CLI-DAR_A_04,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU = IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_05,OU=IT_CLI-DAR,OU= I T_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR _ A_06,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)) Thanks -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: Re: LDAP Transformer On Tue, 1 Jul 2003 14:55:52 +0200 [EMAIL PROTECTED] wrote: hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! try the following filter syntax: (amp;(uid={request-param:name})) -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - 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] - 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]
Antw: RE: LDAP Transformer with XSP page?
Hello Maxime, it is possible. the xsp page has to generate the correct xml syntax for the LDAP transformer. (example at wiki) Martin [EMAIL PROTECTED] Dienstag, 1. Juli 2003 16:20:59 Is it possible to create the ldap.xml, with the ldap queries in a xsp page? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 4:10 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer I think there must be a way other than set the parameter in the sitemap like : from the ldap.xml write something like that : ldap:filter(amp;(cn=request:get-query-string/))/ldap:filter Is that possible? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer it doesn't work. As I said the filter cannot be definied as parameter in the sitemap. It returns the error [LDAPTransformer] Error in LDAP-Query: javax.naming.directory.InvalidSearchFilterException: Empty filter; It must be a bug or so... But refering to the original may, with the other way to search why is it so slow ? hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! So the only way to filter it is to search by the attribute memberOf in every user data. But this attribute is a DN (means not substring or wildcards search). With a shareware I've found (LDAP Browser) I can search all these data, but with the ldap transformer I get the error : [LDAPTransformer] Error in LDAP-Query: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name 'DC=corproot,DC=net' Is it a bug of the ldap transformer? Is the filter to long/complex? Here is the filter (ldap:filter) (|(memberOf=CN=DG_IT-CLI-DAR_A_00,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res , OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_01,OU=IT_CLI-DAR, O U=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI- D AR_A_03,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net) ( memberOf=CN=DG_IT-CLI-DAR_A_04,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU = IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR_A_05,OU=IT_CLI-DAR,OU= I T_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)(memberOf=CN=DG_IT-CLI-DAR _ A_06,OU=IT_CLI-DAR,OU=IT_Generic,OU=IT_Res,OU=IT,DC=corproot,DC=net)) Thanks -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: Re: LDAP Transformer On Tue, 1 Jul 2003 14:55:52 +0200 [EMAIL PROTECTED] wrote: hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like map:parameter name=filter value=(cn={request-param:name})/ But it seems that the ldap transformer has a lot of bugs. The parameter rootdn works, password works, but both filter and serverurl doesn't work!!! try the following filter syntax: (amp;(uid={request-param:name})) -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: LDAP Transformer with XSP page?
On Tue, 1 Jul 2003 16:20:59 +0200 [EMAIL PROTECTED] wrote: Is it possible to create the ldap.xml, with the ldap queries in a xsp page? Yes, for example: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; page xsp:logic String cn = request.getParameter(cn); if(cn == null) cn = *; /xsp:logic ldap:execute-query ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://ldaphost/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:rootdncn=Directory Manager/ldap:rootdn ldap:passwordpassword/ldap:password ldap:searchbaseou=people,o=company/ldap:searchbase ldap:attributecn/ldap:attribute ldap:attributesn/ldap:attribute ldap:attributegivenName/ldap:attribute ldap:attributeinitials/ldap:attribute ldap:attributemobile/ldap:attribute ldap:attributemail/ldap:attribute ldap:attributeou/ldap:attribute ldap:attributeuid/ldap:attribute ldap:attributetitle/ldap:attribute ldap:show-attributetrue/ldap:show-attribute ldap:filter(amp;(uid=xsp:exprcn/xsp:expr)(mobile=*))/ldap:filter /ldap:execute-query /page /xsp:page -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: LDAP Help? Where is there any complete help/tutorial? Mail archive doesn't work
Le Jeudi, 5 juin 2003, à 11:22 Europe/Zurich, [EMAIL PROTECTED] a écrit : ...I also tried the mail archives, but there are all dead links (eg. http://www.mail-archive.com/[EMAIL PROTECTED]/msg28095.html). don't know about mail-archive but most people here use the MARC archives, which work: http://marc.theaimsgroup.com/?l=xml-cocoon-devw=2r=1s=ldapq=b http://marc.theaimsgroup.com/?l=xml-cocoon-usersw=2r=1s=ldapq=b There are some docs at the wiki as well (search for LDAP at http://wiki.cocoondev.org/Wiki.jsp). ...Is there somewhere somebody who knows how LDAP works (more precisely with Active Directory) from A to Z? If there's no one you might have to investigate yourself (using the logs and possibly a debugger), or hire someone to do it for you. Just talked about this earlier today at http://codeconsult.ch/bertrand/archives/72.html -Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ldap transformer with add, delete, update
Ingolf does anybody know if there is an ldap transformer which is able to add, delete, and update the ldap directory? We have one as part of some commercial Cocoon add-on stuff we have. Contact me if you would be interested in more details. Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblogs: http://radio.weblogs.com/0103021/ http://www.oreillynet.com/weblogs/author/1014 = - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ldap
Hi Tim! thanks for your response. I'll switch to LDAPTransformer. Chris On Fri, Dec 06, 2002 at 09:27:13AM +1100, Bentley, Tim wrote: Unfortunately I am no longer using Cocoon, so I haven't tested eldap with the latest versions and am not in a position to provide much help :-( However, there is no reason that I'm aware of why it shouldn't work. At a guess from the logs you've posted there's something more fundamental wrong with your XSP page - 'illegal start of expression' sounds like a problem with the XML syntax. -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz -- Support your government, give Echelon/Carnivore something to parse -- AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain compromise defense democracy destroy destruct detonator directorate elections enforce extasy force foreign embassy government grass hashish heroin illegal information international military systems missile million dollars nuclear policital pot power presidental project restricted data revolution rule the world sensitive smuggle spy steal system takeover terrorist top-secret warmod warrior-T weapon weed msg21494/pgp0.pgp Description: PGP signature
Re: ldap
I haven't gotten LDAPTransformer to work, and I haven't found any good docs on it. I decided to use an SQL db for now, and switch to LDAP later. On Friday, 6 December 2002, at 09:16:09, Christian Joelly wrote: Hi Tim! thanks for your response. I'll switch to LDAPTransformer. Chris On Fri, Dec 06, 2002 at 09:27:13AM +1100, Bentley, Tim wrote: Unfortunately I am no longer using Cocoon, so I haven't tested eldap with the latest versions and am not in a position to provide much help :-( However, there is no reason that I'm aware of why it shouldn't work. At a guess from the logs you've posted there's something more fundamental wrong with your XSP page - 'illegal start of expression' sounds like a problem with the XML syntax. -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz -- Support your government, give Echelon/Carnivore something to parse -- AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain compromise defense democracy destroy destruct detonator directorate elections enforce extasy force foreign embassy government grass hashish heroin illegal information international military systems missile million dollars nuclear policital pot power presidental project restricted data revolution rule the world sensitive smuggle spy steal system takeover terrorist top-secret warmod warrior-T weapon weed - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ldap
Hi Brett! then you are on the lucky side ;-) I have a LDAP directory and can't switch to a database without migrating the whole infrastructure. Its a pain to change the cocoon version every few months when you realize that things are not working properly, so im thinking of using another framework for our project. (which is far away from a simple hello world website... =;-)) Chris On Fri, Dec 06, 2002 at 12:17:47AM -0800, Brett McCormick wrote: I haven't gotten LDAPTransformer to work, and I haven't found any good docs on it. I decided to use an SQL db for now, and switch to LDAP later. -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz -- Support your government, give Echelon/Carnivore something to parse -- AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain compromise defense democracy destroy destruct detonator directorate elections enforce extasy force foreign embassy government grass hashish heroin illegal information international military systems missile million dollars nuclear policital pot power presidental project restricted data revolution rule the world sensitive smuggle spy steal system takeover terrorist top-secret warmod warrior-T weapon weed msg21496/pgp0.pgp Description: PGP signature
Re: ldap
Hello Tim! i want to use your eldap logicsheet with cocoon 2.0.3 but get some errors which doesnt occur with cocoon 2.0.1: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling logincheck_xsp: Line 995, column 73: illegal start of expression Line 1001, column 62: illegal start of expression Line 1003, column 77: illegal start of expression Line 1004, column 80: illegal start of expression Line 1005, column 75: illegal start of expression Line 1007, column 71: illegal start of expression Line 1058, column 113: illegal start of expression Line 1074, column 148: illegal start of expression Line 995, column 56: method _eldap_getString() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1003, column 61: method _eldap_getScope() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1004, column 62: method _eldap_getBoolean() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1005, column 60: method _eldap_getLong() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1006, column 66: method _eldap_getAttrs() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1007, column 57: method _eldap_getInt() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1072, column 130: method _eldap_GetNameFromDN() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1074, column 130: method _eldap_getBoolean() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 0, column 0: 16 errors at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:340) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:202) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:317) at org.apache.cocoon.www.login.sitemap_xmap.matchN1002D(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:507) at org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:382) at org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:321) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN1030F(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:2369) at org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:2076) at org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1994) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) org.apache.cocoon.components.language.LanguageException: Error compiling
RE: ldap
Christian - Unfortunately I am no longer using Cocoon, so I haven't tested eldap with the latest versions and am not in a position to provide much help :-( However, there is no reason that I'm aware of why it shouldn't work. At a guess from the logs you've posted there's something more fundamental wrong with your XSP page - 'illegal start of expression' sounds like a problem with the XML syntax. Your best bet is probably to seek help on cocoon-users. Sorry I can't be of more help! Regards, Tim Bentley -Original Message- From: Christian Joelly [mailto:[EMAIL PROTECTED]] Sent: Friday, 6 December 2002 5:04 AM To: [EMAIL PROTECTED] Cc: Bentley, Tim Subject: Re: ldap Hello Tim! i want to use your eldap logicsheet with cocoon 2.0.3 but get some errors which doesnt occur with cocoon 2.0.1: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling logincheck_xsp: Line 995, column 73: illegal start of expression Line 1001, column 62: illegal start of expression Line 1003, column 77: illegal start of expression Line 1004, column 80: illegal start of expression Line 1005, column 75: illegal start of expression Line 1007, column 71: illegal start of expression Line 1058, column 113: illegal start of expression Line 1074, column 148: illegal start of expression Line 995, column 56: method _eldap_getString() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1003, column 61: method _eldap_getScope() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1004, column 62: method _eldap_getBoolean() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1005, column 60: method _eldap_getLong() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1006, column 66: method _eldap_getAttrs() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1007, column 57: method _eldap_getInt() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1072, column 130: method _eldap_GetNameFromDN() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 1074, column 130: method _eldap_getBoolean() not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp Line 0, column 0: 16 errors at org.apache.cocoon.components.language.generator.ProgramGenerat orImpl.createResource(ProgramGeneratorImpl.java:340) at org.apache.cocoon.components.language.generator.ProgramGenerat orImpl.load(ProgramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup(Server PagesGenerator.java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.se tupPipeline(AbstractEventPipeline.java:202) at org.apache.cocoon.components.pipeline.CachingEventPipeline.set up(CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.gen erateKey(CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr ocess(CachingStreamPipeline.java:317) at org.apache.cocoon.www.login.sitemap_xmap.matchN1002D(/usr/loca l/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/ cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:507) at org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JB oss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/coco on-files/org/apache/cocoon/www/login/sitemap_xmap.java:382) at org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JB oss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/coco on-files/org/apache/cocoon/www/login/sitemap_xmap.java:321) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN1030F(/usr/local/JBos s-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon -files/org/apache/cocoon/www/sitemap_xmap.java:2369) at org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2. 4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-fil es/org/apache/cocoon/www/sitemap_xmap.java:2076) at org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2. 4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-fil es/org/apache/cocoon/www/sitemap_xmap.java:1994) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManage r.java:154) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet. java:999) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853
RE: LDAP
Hello, as far as i know is the LDAP Tranformer not included in Cocoon 2.0.3 Perhaps use the sources at the Code Repository. Regards Martin [EMAIL PROTECTED] Freitag, 15. November 2002 14:52:53 Hi!. Can anyone give me any example of use LDAP Transformer on Cocoon 2.0.3, because I can't find it in documentation. Witek - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Ldap authentication
Mark, I try to configure out the authenticate resource using XSP calling to the database (see the code bellow). The xsp-request:get-parameter name=userName/ within the select statement seems not work correctly. The following exception is thrown : C2.1 Exception : java.lang.NullPointerException at org.apache.xerces.dom.ParentNode.internalInsertBefore(ParentNode.java:333) at org.apache.xerces.dom.ParentNode.insertBefore(ParentNode.java:320) at org.apache.xerces.dom.NodeImpl.appendChild(NodeImpl.java:267) at org.apache.cocoon.webapps.authentication.components.AuthenticationManager.au thenticate(AuthenticationManager.java:460) at org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction. java:130) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp eNode.java:133) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:166) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) ... XSP code : == xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; page content esql:connection esql:poolportal/esql:pool esql:execute-query esql:query SELECT id,password,color from PORTALUSER_TABLE where id = 'xsp-request:get-parameter name=userName/' /esql:query esql:results esql:row-results authentication ID esql:get-string column=id/ /ID color esql:get-string column=color/ /color /authentication /esql:row-results /esql:results /esql:execute-query /esql:connection /content /page /xsp:page Any help. I'll appreciate if you can send me your XSP code that access to the datastore Thanks in advance Senhaji -Message d'origine- De : [EMAIL PROTECTED] [mailto:Markdelanoy;aol.com] Envoyé : lundi 4 novembre 2002 18:40 À : [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Re: Ldap authentication If you want to use the authentication framework look at the authenticate resource. You'll get passed in a password/username and really anything else you had in your login page. Then within the authenticate resource you can call LDAP. the resource can be a cocoon pipeline or some external resource. I use XSP in my authenticate resource calling to the database but you could call LDAP. MD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Ldap authentication
Dear Friend, I read your post with enthusiasm - like a thirsty man receiving a bottle of water!!! What did it say? ... look at the authenticate resource.; ...anything else...; ...you can...; ...can be..; ...you could... - WOW!!! The water bottle was empty. What do i know from the post - well, i know that you do great things - marvelous. What have i learned? i am still the thirsty boy - still struggling to understand. i admire those of you that walk through the heavens doing great things. But, how does that help us mortals trying to understand the principles involved? parched -Original Message- From: [EMAIL PROTECTED] [mailto:Markdelanoy;aol.com] Sent: Monday, November 04, 2002 12:40 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Ldap authentication If you want to use the authentication framework look at the authenticate resource. You'll get passed in a password/username and really anything else you had in your login page. Then within the authenticate resource you can call LDAP. the resource can be a cocoon pipeline or some external resource. I use XSP in my authenticate resource calling to the database but you could call LDAP. MD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ldap authentication
Look @ the cocoon documentation, e.g. Developer Documentation/ Developing Webapps/Authentication e.g. cocoon's authentication framework. and then for doing customized authentication (using LDAP, SQL, etc.) look at the authentication resource for where you put your code. MD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ldap authentication
Too be honest I started using cocoon three months ago and am following a very iterative process to eventually start talking to the db, e.g. do the look and feel, validation, security, etc. were done first. I had initially tried to get it running but even the sample authentication seemed busted. I'm on an old cocoon dev build from maybe a month a go so maybe it's fixed. So I've stubbed out what would actually occur (e.g. the db IO) in the authentication resource. So I'm not much help there other than I haven't seen your sitemap which has to some pass through variables e.g. password username and whatever else you want to pass through. so send the sitemap. I'll be hopefully talking to the db later this week or next week so stuff like this stubbed out code will go away... later, md - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ldap authentication
If you want to use the authentication framework look at the authenticate resource. You'll get passed in a password/username and really anything else you had in your login page. Then within the authenticate resource you can call LDAP. the resource can be a cocoon pipeline or some external resource. I use XSP in my authenticate resource calling to the database but you could call LDAP. MD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: LDAP and Cocoon 2.0
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Does anyone have an example of connecting to an LDAP with Cocoon 2.0? I don't have. I am currently using Tomcat 3.2.1, and Cocoon 2.0. I have seen an example for posted for Cocoon 1.x, but I could not install it so that it would work with Cocoon 2.0. Have you seen LDAPTransformer.java? If you make it work with some public LDAP server - send in an example, it then may go into Cocoon sample webapp! Vadim Thank You, Marc Bahr - 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]
RE: ldap
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-urlldap://yourmachine:porthere/eldap:server-url eldap:search-basecn=James BROWN,ou=Administration,ou=Corporate,o=DemoCorp,c=au/eldap:search-base eldap:error-elementerror/eldap:error-element eldap:attribute name=objectClasseldap:valuetop/eldap:value/eldap:attribute eldap:attribute name=objectClasseldap:valueinetorgperson/eldap:value/e ldap:attribute eldap:attribute name=sneldap:valueBROWN/eldap:value/eldap:attribute eldap:attribute name=cneldap:valueJames 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]
Re: LDAP/ELDAP Logicsheet
Sorry about my previous message, I didn't took the time to scroll down to the end of the message... Tibi Dondera - 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]
RE: LDAP/ELDAP Logicsheet
Tibi - No, you're right - I forgot to add the examples Try these two attachments. eldapbasics shows a 'simple' LDAP search. eldapdsml shows how to do it so that your final page is in DSML. Regards, Tim -Original Message- From: Tibi DONDERA [mailto:[EMAIL PROTECTED]] Sent: Thursday, 26 July 2001 20:42 To: [EMAIL PROTECTED] Subject: Re: LDAP/ELDAP Logicsheet Sorry about my previous message, I didn't took the time to scroll down to the end of the message... Tibi Dondera - 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] eldapbasicsample.xml eldapdsmlsample.xml - 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]
RE: LDAP taglib: Able to retrieve metadata?
Paul - Hope this reply is still relevant to you - I've been off-line for a couple of weeks. I know that I could use an LDAP query to retrieve a search result set, and then use XSP to grab the tag names instead of the values themselves, but it appears that the LDAP tablib will not return an empty tagset for optional attributes that are not defined. This is actually LDAP server behaviour - nothing to do with the taglib. The LDAP spec requires that only attributes with content be returned from a search. What is the best way to go about retrieving the schema from an LDAP server? It really depends on how/if the server implements schema searching! If it's a V3 compliant server, you should be able to perform a search for the schema in one of a couple of ways. Have a look at RFC2251 and related documents for details, or any good LDAP programming book! I've got adding specific schema support on my list for the taglib, but the priority isn't all that high at present. Regards, Tim Bentley Computer Associates Senior Software Engineer, eTrust Directory Development Lab. tel: +61 3 9727-8930 fax: +61 3 9727 3491 mailto:[EMAIL PROTECTED] - 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]
RE: ldap-query
Niklas - There are various examples in the release, and lots of stuff in the archives about processing forms - this isn't really an LDAP-specific thing. I don't have an example to hand, but if you do some searching in the mailing list archives you should be able to find some help. I'd be interested to see your LDAP handling code. There is an LDAP logicsheet maintained by Jeff Turner which uses JNDI. I've done a fair bit of work on it to make it more flexible, and these days it more or less mimics the esql logicsheet for SQL databases. JNDI is not really the best LDAP API, but it's the most readily available for Java. I didn't realise that there was an OpenLDAP release for Java, or are you accessing it using JNI? Regards, Tim Bentley -Original Message- From: Niklas Grunditz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 5 June 2001 12:18 To: [EMAIL PROTECTED] Subject: ldap-query Hello cocoon-users I am using c1.8.2, tomcat1.3.2 and Openldap release 2.0.11. I am doing ldap queries and it works fine. I catch the ldap searchresults with a template in my xsl-file. But.. i cant get it to work with my forms. I want to have the ldap searchresults in a html-form so that I can edit my ldapsearchresults and then post them to another file. I have the searchresults in the same template but I just cant get them into my form. I am looking forward to a syntaxexample or some other help on this. /Niklas - 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] - 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]