Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 7579 invoked from network); 10 Feb 2007 03:57:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2007 03:57:52 -0000 Received: (qmail 13825 invoked by uid 500); 10 Feb 2007 03:57:58 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 13798 invoked by uid 500); 10 Feb 2007 03:57:58 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 13780 invoked by uid 99); 10 Feb 2007 03:57:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 19:57:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.106.174.20] (HELO eprimepoint.com) (206.106.174.20) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 19:57:48 -0800 Received: from 69.248.33.126 with HTTP by webserver eprimepoint.com ($virtual054) ; Fri, 9 Feb 2007 23:02:29 EST Date: Fri, 9 Feb 2007 23:02:29 -0500 Message-Id: <200702092302.AA41025818@eprimepoint.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "dbothwell" Reply-To: To: Subject: Search filter bug and question X-Mailer: X-Declude-Sender: dbothwell@eprimepoint.com [69.248.33.126] X-Spam-Tests-Failed: FIVETEN-SRC [4] X-Note: Scanned by Declude for UCE - http://www.declude.com/x-note.htm X-Virus-Checked: Checked by ClamAV on apache.org Alex & Emmanuel, Thank you so much for your fast response. > > Ahhhh.... This is a toString() which expose this information ! I though you > were talking about the filter syntax as expressed is RFC 2254. > Ok, this is a debug information as explained by Alex :) > You are correct, I am calling a toString in my search method: public NamingEnumeration search(LdapDN base, final Map env, final ExprNode filter, final SearchControls searchControls) throws NamingException { final StringBuffer sb = new StringBuffer(); filter.printToBuffer(sb); System.out.println("Filter = " + sb.toString()); . . . } I am converting the resulting filter directly to a SQL where clause. At this time I am simply looping through [0] .. [9] and removing the annotations from the filter. > > PS: We will be very interested to get your testimony about using ADS > (what is it good for, which kind of problem you went through, which kind > of solution it solved, such like that :) > I will be glad to write a testimonial as I begin to implement some of my planned solutions. I have an ambitious agenda which includes: Improved web authentication for my web users. Single sign-on capabilities for my domain users. An internal e-mail server, which will act as an e-mail document repository for my LDAP exposed business accounts. A LDAP backend for an Asterisk PBX phone system, which will give my internal users an automatic phone extension and voice mail account. Mind you, I have virtually no idea how to do any of these things, but that's what makes it fun. Thanks again, dbothwell@eprimepoint.com PS: My email is .com not .net sorry. ________________________________________________________________ Sent via the WebMail system at eprimepoint.com