From users-return-62-apmail-directory-users-archive=directory.apache.org@directory.apache.org Thu Feb 01 14:32:19 2007 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 58527 invoked from network); 1 Feb 2007 14:32:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 14:32:19 -0000 Received: (qmail 70082 invoked by uid 500); 1 Feb 2007 14:32:25 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 70064 invoked by uid 500); 1 Feb 2007 14:32:25 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 70052 invoked by uid 99); 1 Feb 2007 14:32:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 06:32:25 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of elecharny@gmail.com designates 64.233.162.238 as permitted sender) Received: from [64.233.162.238] (HELO nz-out-0506.google.com) (64.233.162.238) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 06:32:16 -0800 Received: by nz-out-0506.google.com with SMTP id i28so478829nzi for ; Thu, 01 Feb 2007 06:31:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=abxrV2eD/CmTmL/vxSoy0eBiQEJ8Pa6g+WM4j665/4cGXE8xr16GeGMYcjUutOfN+Lyy5H2o2GjFnJfultZdFEj0Yi0CDqlS5DhFWLyC/qnUpWUJABY8uKqvMhO/2UVYu/SouocWPqZbuWeH1phkURZLbHszkipY1gkDDOlnJus= Received: by 10.65.176.3 with SMTP id d3mr3863997qbp.1170340315929; Thu, 01 Feb 2007 06:31:55 -0800 (PST) Received: by 10.65.96.11 with HTTP; Thu, 1 Feb 2007 06:31:55 -0800 (PST) Message-ID: Date: Thu, 1 Feb 2007 15:31:55 +0100 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: users@directory.apache.org Subject: Fwd: Microsoft AD In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5501_16828018.1170340315793" References: <45C122B3.4030101@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5501_16828018.1170340315793 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I forget to push this mail to the users ML. Done now ---------- Forwarded message ---------- From: Emmanuel Lecharny Date: Feb 1, 2007 3:08 PM Subject: Re: Microsoft AD To: Elie Ciment So, I cannot use LDAPStudio classes for querying AD, and I should use > OpenLDAP or JNDI? Well, LdapStudio is meant to be a GUI, not an API, so if you want to use it= s code base to qyuey any ldap server, you will have to go deep into the code to do it. Of course this is possible, but this is not really the simplest way to go... The reason I wanted to use Apache Directory (LDAPStudio) classes is because > as an ASF project I know that there was a lot of thought put into the des= ign > of the code and that there will be an active mailing list for support whe= n > needed. Sure :) But it was not inended to be used the way you want. Anyway, it can be done. Let me find the place in the code where we build the ldap messages and send them to the server... (will take a little while) I feel that with all open source projects in the ASF you can turn to them > for help and somebody's always there for you. well, that's not exactly how it works :) but basically, you can push a mail= , and if somebody has an answer, you will get it ... Remember that people at apache are all volunteers, and are also pretty busy ;) In addition, Apache will go through the trouble of finding the right code t= o > use, ie OpenLDAP and JNDI. So, using those classes that Apache builds whi= ch > make the most of the underlying classes - much better than a beginner wou= ld > - I would love to just take a pre-bundled project that is easy to use. Not sure that they are easy to use at all... (and I'm not really proud of this, as I wrote part of them ...) At some point, we should provide a kind of API like JLdap is. Remember that any API has a learning curve, and you won't avoid to spend some time on it. Apache won't do this for you :) Does that make sense? > > Thanks, > EC > > On 1/31/07, Emmanuel Lecharny wrote: > > > > Elie Ciment a =E9crit : > > > > > Hi, > > > > > > I am new to the LDAP Studio, and actually cannot find the link to > > > download > > > it right now. I currently use / have been using the Eclipse plugin, > > which > > > now links to directory.apache.org . > > > > Well, the nighty build is - temporarily - available here : > > http://www.iktek.com/index.jsp?rubrique=3Dads > > > > This is *not* a release, but a build done every nigth at 2am UTC. > > > > The release will be available very soon. > > > > > A question I have is can I leverage the code for this Studio without > > the > > > front end - I want to query Active Directory without having the > > > presentation > > > handle it, but only the underlying code to incorporate it in my Strut= s > > > > > web > > > application. > > > > np at all, but no need to use LdapStudio at all. The best solution woul= d > > be either to use JNDI or (in my mind, much better), the OpenLdap API fo= r > > java ( http://www.openldap.org/jldap/) > > > > Emmanuel > > > > > > > > Thanks, > > > EC > > > > > > > > --=20 Cordialement, Emmanuel L=E9charny www.iktek.com --=20 Cordialement, Emmanuel L=E9charny www.iktek.com ------=_Part_5501_16828018.1170340315793--