I can't login cvs of openldap-jdap by anonymous in cvsnt, and I have not account of openldap
how to get the source of jldap gtalk:freeespeech@gmail.com
you are after openDAP this is openLDAP, not even the same project..
On Fri, Jul 3, 2009 at 4:39 PM, owen nirvana freeespeech@gmail.com wrote:
I can't login cvs of openldap-jdap by anonymous in cvsnt, and I have not account of openldap
how to get the source of jldap gtalk:freeespeech@gmail.com gtalk%3Afreeespeech@gmail.com
Brett @Google wrote:
you are after openDAP this is openLDAP, not even the same project..
If only people would actually read the www.OpenLDAP.org web site...
Also available from the OpenLDAP Project:
* JLDAP - LDAP Class Libraries for Java
On Fri, Jul 3, 2009 at 4:39 PM, owen nirvana <freeespeech@gmail.com mailto:freeespeech@gmail.com> wrote:
I can't login cvs of openldap-jdap by anonymous in cvsnt, and I have not account of openldap how to get the source of jldap gtalk:freeespeech@gmail.com <mailto:gtalk%3Afreeespeech@gmail.com>
On Fri, Jul 3, 2009 at 7:20 PM, Howard Chu hyc@symas.com wrote:
Also available from the OpenLDAP Project:
- JLDAP - LDAP Class Libraries for Java
Is there any reason to prefer this implementation over the jdk supplied LDAP API ?
Cheers Brett
Brett @Google wrote:
On Fri, Jul 3, 2009 at 7:20 PM, Howard Chu hyc@symas.com wrote:
Also available from the OpenLDAP Project:
- JLDAP - LDAP Class Libraries for Java
Is there any reason to prefer this implementation over the jdk supplied LDAP API ?
There are no JDK LDAP API. There is just an horrible API called JNDI.
For anyone who have experienced both of them, it's crystal clear that jLdap is way better.
Just as an exemple, have a look at http://java.sun.com/docs/books/tutorial/jndi/ldap/operations.html.
Associating a 'compare' operation to a 'search' operation is a nonsense. Even worse, the JNDI 'Bind' operation is semantically a totally confusing thing. Not to mention the traps you can fell in, one of the most obvious is to forget to close a NamingEnumeration if you don't grab all the results : closing the connection is not enough, the connection is still considered as being locked. The perfect way to exhaust a pool of connection, or to quickly get an OOM.
Did I mention the atrocious BasicAttributes() constructor which *must* be used with a 'true' parameter, otherwise you will quickly have problems when using case sensitive attributeType names ?
Still want to use JNDI ?
owen nirvana wrote:
I can't login cvs of openldap-jdap by anonymous in cvsnt, and I have not account of openldap
how to get the source of jldap
The description on this web page works for me at least on Linux:
http://www.openldap.org/software/repo.html#AnonCVS
$ export CVSROOT=":pserver:anonymous@cvs.OpenLDAP.org:/repo/OpenLDAP" $ cvs login Password: (enter OpenLDAP) $ cvs co openldap-jldap
I don't have cvsnt though. Can you please elaborate on the specific problem you see? Probably it's just a cvsnt usage issue.
Ciao, Michael.
openldap-technical@openldap.org