Another OpenDS – GlassFish tutorial

JYeary
Java evangelist John Yeary just posted a detailed, well illustrated tutorial for setting up LDAP based authentication and authorization with GlassFish and OpenDS. The tutorial is similar to the one published on OpenDS Wiki a while ago, but adds the required steps to enable SSL and completely secure the authentication phase.

Technorati Tags: , , , , ,

OpenDS 1.1.0-Build001 is now available

Opends Logo TagWe have just uploaded OpenDS 1.1.0-build001, built from revision 4507 of our source tree, to our promoted builds folder.

The direct link to download the core server is: http://www.opends.org/promoted-builds/1.1.0-build001/OpenDS-1.1.0-build001.zip

The direct link to download the DSML gateway is: http://www.opends.org/promoted-builds/1.1.0-build001/OpenDS-1.1.0-build001-DSML.war

We have also updated the archive that may be used to install OpenDS via Java Web Start. You may launch that using the URL http://www.opends.org/promoted-builds/1.1.0-build001/install/QuickSetup.jnlp, or visit https://www.opends.org/wiki/page/OverviewOfTheQuickSetupTool for more i

nformation.

Detailed information about this build is available at http://www.opends.org/promoted-builds/1.1.0-build001.

Major changes incorporated since OpenDS 1.0.0 include:

#8226 Revision 4342 (Issue #3330) – The LDIF connection handler is now disabled by default.

#8226 Revision 4344 (Issue #3338) – Fix an error that was causing the upgrade mechanism to remove the any Java arguments that had been set for the server.

#8226 Revision 4349 (Issue #3328) – Correct the Java options used when the server is started through the status panel.

#8226 Revision 4350 (Issue #3310) – Fix an issue that was causing the restart of a master server to take several minutes.

#8226 Revision 4387 (Issue #3418) – Ensure that the status and status-panel commands display the Java version rather than the JVM version.

#8226 Revision 4394 (Issue #3438) – Ensure that the start-ds command uses the configured jvm arguments when running as a windows service.

#8226 Revision 4406 (Issue #3429) – Fix an issue that was causing online parallel replication initialization to fail.

#8226 Revision 4412 (Issue #3443) – When a new replication domain is configured, the server now prevents sub-suffix replication only if the sub-suffixes are identical.

#8226 Revision 4416 (Issue #1805) – Add options to the ldifdiff command to allow specific attributes or entries to be ignored when comparing LDIF files.

#8226 Revision 4423 (Issue #3461) – Fix an issue that was causing the winlauncher to inherit handlers from its parent process.

#8226 Revision 4441 (Issue #3468) – Allow the password modify extended operation to accept a DN for the userIdentity.

#8226 Revision 4446 – Fix the residentialPerson object class definition bug introduced in RFC2256 and carried over to RFC4519 where the l attribute declared both MUST and MAY. The new definition reflects the X.521 origin of residentialPerson.

#8226 Revision 4464 – Fix an issue that resulted in an entry not being removed from the DN entry cache index.

#8226 Revision 4473 (Issue #3475) – Fix the Java Web Start setup on Mac OS.

#8226 Revision 4476 (Issue #3474) – authzid is no longer ignored when checking groupdn membership.

#8226 Revision 4485 (Issue #3484) – Fix a problem that resulted in a very low purge delay being set when the replication purge delay was changed.

#8226 Revision 4488 (Issue #3477) – Fix a problem that caused the replication server cache to become too large and the JVM to run out of memory.

#8226 Revisions 4489 and 4490 – Separate the server delivery into an “Install Layout” (the binaries) and an “Instance Layout” (the user data).

#8226 Revision 4496 – Adapt the make-ldif command for the split between instance and install.

#8226 Revision 4500 – (Issue #3492) – Fix an issue in which the get effective rights control returned incorrect rights for the isMemberOf attribute.

#8226 Revision 4503 (Issue #3488) – Fix a problem that caused replication initialization from quicksetup to fail occasionally.

#8226 Revision 4504 (Issue #3490) – Fix an issue that caused the uninstall process to produces numerous spurious warnings.

#8226 Revision 4506 (Issue #3496) – Fix a problem causing SASL/GSSAPI authentication to fail over startTLS.

Technorati Tags: , , , ,

LDAP Simple Paged results and friends with OpenDS

Srikanth has written a long and detailed post on his blog where he compares the LDAP Simple Paged Result control and the Scrolling View Browsing of Search Result control (aka VLV).

Using OpenDS 1.0, an open source LDAP directory server written in Java, Srikanth describes the server settings and the use of these extensions with the ldapsearch tool. He is also providing a sample Java based application that lists all entries from a directory server, using the VLV control.

Nice work Srikanth ! Quite a nice proof of the benefits of the VLV control over Simple Paged Results.

Technorati Tags: , ,

Just installed : Sun xVM VirtualBox 2.0

I’ve just installed the newly released Sun xVM VirtualBox 2.0 on my MacBook Pro.

Here some of the new features :

  • 64 bits guest support (64 bits host only)
  • New native Leopard user interface on MacOS X hosts
  • The GUI was converted from Qt3 to Qt4 with many visual improvements
  • New-version notifier
  • Guest property information interface
  • Host Interface Networking on Mac OS X hosts
  • Host Interface Networking on Solaris 10 hosts
  • Support for Nested Paging on modern AMD-V CPUs (major performance gain)
  • Framework for collecting performance and resource usage data (metrics)
  • Clipboard integration for OS/2 Guests
  • Support for VHD images
  • Created separate SDK component featuring a new Python programming interface on Linux and Solaris hosts

You can download VirtualBox 2.0 for free now !

Here’s a screen shot of my desktop running OpenSolaris 2008.05 as the guest OS in Seamless mode.

My Desktop with VirtualBox 2.0 running

Technorati Tags: , , , , ,

A different view on this place

Thanks to my friends Alexis and Henry, here’s another view of this blog as visualized by Wordle (powered by Java).

Picture 8

Technorati Tags: ,

Hiatus…

It sounds a lot like a French tradition, but I’ll be on vacation for the next weeks, spending some quality time with wife and kids.

I expect to resume posting here starting August 25th.

Talk to you later 😉

A Special Day today…

 Opends LogoToday is the second anniversary of the OpenDS project: an open source LDAP directory service written in Java.

Taking a few minutes to look back at the year that just passed, I’m proud of what we’ve done.

First we’ve released OpenDS 1.0 for the community. We now have a complete and fully featured LDAP directory server, easy to use, embeddable, extensible, reliable, fast… And we’re about to release the Sun supported version : Sun OpenDS Standard Edition 1.0. I’m sure you’ll hear more about it in the coming days.

We’ve grown our community of users and developers despite going through internal re-organization. We have almost doubled the number of committers in a year, receiving contributions in tests, functionalities, code and designs. The number of registered users has reached the 200 mark.

We’ve done well but there is still a lot to do for the coming years. We need to continue to deliver the functionalities our users and customers want. We need to continue to grow OpenDS ecosystem and community.

So come and have a part of the journey with us. There are many ways to interact with the OpenDS community, beside playing and running the code:

Technorati Tags: , , ,

OpenDS 1.0 and Mac OS X

OpenDS the open source LDAP directory serverOn July 10th, OpenDS 1.0.0 the open source LDAP directory service in Java was released. In the release notes, the list of platforms on which OpenDS has been qualified is quite long but does not mention Mac OS X.

Many OpenDS developers have a MacBook (Pro) and use it for development, unit tests and first integration tests.

So OpenDS 1.0.0 works really well on Mac OS X with either Java 5 and Java 6.

OpenDS is now listed on Apple Mac OS X Downloads site, in the Unix and Open Source category.

OpenDS mailing lists are now browsable and fully searchable

MarkMail LogoMarla just announced the availability of MarkMail services for Java.net, provided free by MarkLogic.

As a result, you can now search, analyze, browse all of the Java.net mailing lists and more specifically the OpenDS ones:

The service fills a need that has been expressed several times on … the mailing lists. If you want to give it a try for other Java.net projects :

http://markmail.org/search/?q=list%3Anet.java.dev.<ProjectName&gt;

Technorati Tags: , , , ,

Using OpenDS with OpenSolaris LDAP Naming Service…

OpenDS and OpenSolarisIf you’re planing on using LDAP Naming Services with Solaris or OpenSolaris, we’ve just published a detailed article on how to setup OpenDS, the open source LDAP directory service written in Java, for it.

In a near future, we will make it even easier as we’re planning on having OpenDS 1.0 available in the OpenSolaris package repository.

Technorati Tags: , , , , ,

OpenDS: un annuaire LDAP en Java et open source

OpenDS the open source Java LDAP directory server

L’équipe de développement du projet OpenDS est heureuse d’annoncer la disponibilité de OpenDS 1.0.0, la première version stable du projet OpenDS.

 OpenDS 1.0.0 est un serveur d’annuaire conforme au standard LDAPv3 et supporte la plus part des extensions et schemas LDAP standard et expérimentaux, assurant ainsi une meilleure interopérabilité avec les applications clientes.

Avec une occupation mémoire limitée qui lui permet d’etre embarqué dans d’autres applications Java, OpenDS possède un ensemble riche d’interfaces de programmation qui permet d’étendre facilement ses services. 

 Un model de replication multi-maitres permet de garantir la haute disponibilité des données aussi bien en écriture qu’en lecture. Bien que le nombre de serveurs maitres soit illimité, le serveur OpenDS 1.0.0 a été testé sous stress continu avec 4 serveurs maitres. 

 OpenDS 1.0.0 comprend aussi:

  • Un outil d’installation graphique qui permet d’installer, configurer et lancer un serveur opérationel en quelques clicks et moins de 3 minutes
  • Un tableau de bord graphique
  • Un outil de configuration en ligne de commande permettant d’effectuer toutes les taches administratives en mode interactif ou scripté
  • Des politiques de sécurité et de gestion des mots de passe avancées
  • Des capacités de sauvegarde et de restauration des données avancées.
  • Une application web faisant passerelle entre LDAP et DSML.
  • Une documentation pour les utilisateurs et administrateurs, complete et validée.

La configuration par défaut du serveur OpenDS est conçue pour les developpeurs et évaluateurs utilisant des machines avec peu de ressources. Pour obtenir de bonnes performances en chargeant le serveur, il est important de positionner les bonnes options de lancement de la JVM et de proceder a certains reglages du serveur et de sa base de données. Des recommandations pour certains parametres de la JVM sont disponibles sur le Wiki de Documentation de OpenDS.

Bien que nous soyons fier et heureux de cette première version du serveur d’annuaire LDAP OpenDS, bien d’autres fonctionalités sont prevues :

  • Une intégration avec OpenSolaris
  • Transactions pour LDAP
  • Un model de replication "Assurée" qui garantirait qu’un changement est reçu par au moins 2 serveurs maitres avant l’acquitement vers le client
  • Un access vers le journal des changements afin de permettre une synchronisation avec des services exterieurs
  • Un outil graphique de configuration pour les taches les plus courantes.
  • La gestion de la sécurité à travers la couche SASL
  • Des performances encore améliorées

Pour plus d’information sur les fonctionalités prévues, allez sur la page RoadMap du wiki OpenDS.

Pour plus d’information sur la version OpenDS 1.0.0, voyez les "Release Notes".

Le support pour OpenDS 1.0 sera bientot disponible auprès de Sun Microsystems.  

Un grand merci à toute l’équipe du projet OpenDS 1.0.0 : developpeurs, testeurs, redacteurs techniques… 

Open Source LDAP Server in Java Released

OpenDS the open source Java LDAP directory serverThe OpenDS development team is very please to announce the release of OpenDS 1.0.0, the first stable release of the OpenDS project.

OpenDS 1.0.0 delivers a fully compliant LDAPv3 server (*) that passes all of the compliance, interoperability and security tests suites. Furthermore, OpenDS 1.0.0 implements most the standard and experimental LDAP extensions defined in the IETF as RFCs or Internet-Drafts, ensuring maximum interoperability with LDAP client applications.

With a limited footprint allowing the server to be embedded in other Java applications, OpenDS has a very rich set of APIs making it easy to extend and increase usage scope.

OpenDS also supports a multi-master replication model that guarantees the high availability of the data for all operations, searches or updates. While theorically unlimited with regards to the number of masters, the OpenDS 1.0.0 server has been stressed under heavy and durable load with 4 Masters.

OpenDS 1.0.0 also includes :

– A 6 steps graphical installation tool that allows to have a server configured, up and running in less than 3 minutes.

– A graphical status panel

– A rich command line tool to perform all online administrative tasks both interactively or scripted.

– Advance security and password policies

– Advance backup and restore capabilities.

– A DSML gateway servlet.

– A complete user documentation set.

Note that the defaults settings for the OpenDS server are targeted for the initial evaluator or developer, running on a machine with a limited amount of resources. So it is important to do initial tuning of the Java VM and the OpenDS server to scale.

The first recommendation is to use the latest version of the Java VM (as of today Java 6 update 6 aka 1.6.0_06).

Some recommendations for the Java VM settings have been published on the OpenDS Documentation Wiki. More specifically, in order to have constant performance, tuning the Garbage Collector is needed. We recommend the CMS GC or ParallelGC.

Finally, OpenDS does provide better performances when the database files are cached into memory. The initial size for the DB cache is 10% of the heap size and is definitely under sized. A good rule of thumb is to allocated a DB cache size about half of the heap size if the later is below or equal to 2 GB, and for heap size greater than 2 GB to allocate a DB cache size equal to the heap size minus 1GB.

While we are really happy with the first stable release of the OpenDS LDAP directory server, our roadmap includes many other features and some ambitious ones:

– Native packages for OpenSolaris and Linux.

– Transactions for LDAP

– Assured Replication which is a replication model where a changed is assured to be received on at least 2 masters before it get acknowledge to the client application.

– Access to the log of changes over LDAP in order to provide external synchronization services.

– Basic management GUI for the most common tasks.

– Confidentiality and Encryption negotiation through SASL

– Improved performances

For the more information about OpenDS 1.0.0 please check the release notes.

Support for OpenDS 1.0.0 will be soon available from Sun Microsystems.

(*) with the exception of a partial support of RFC 4518 – International String Preparation

Technorati Tags: , , , , ,

Running Directory Server Console with WebLogic 10.

The Sun Directory Service Control Center is a web application that allows administrators to configure and administer all of their Sun Directory 6.x servers and Directory Proxy 6.x servers from a single place.

The Console is supported to run on Tomcat 5.5 and Sun Java System Application Server 8.2. In a previous blog post, I demonstrated how to deploy DSCC in GlassFishv2.

Thanks to Eric Le Ponner, architect of DSEE and lead developer for the Administration part, we can now deploy DSCC in WebLogic 10 Application Server.

This will be fully supported with Sun Directory Server Enterprise Edition 7, but here’s the workaround to get it to work with Sun Java System Directory Server Enterprise Edition 6.3.

First deploy DSCC war file on WebLogic.

Then just add the following weblogic.xml file in the WEB-INF directory, next to the web.xml file for the DSCC web application:

<?xml version="1.0" encoding="utf-8"?>

<weblogic-web-app

xmlns="http://www.bea.com/ns/weblogic/90&quot;

xmlns:j2ee="http://java.sun.com/xml/ns/j2ee&quot;

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;

xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd"&gt;

<container-descriptor>

<filter-dispatched-requests-enabled>false</filter-dispatched-requests-enabled>

</container-descriptor>

</weblogic-web-app>

There you are.

For those who like the gory details, DSCC is a servlet 2.3 web application and implements a servlet filter to manage security. WebLogic 10 Application Server supports by default the servlet 2.4 specifications and process differently filtered requests. The trick is then to instruct WebLogic to do the filtering as for the servlet 2.3 specifications.

Technorati Tags: , , ,

Zinedine Zidane, Matthew… and you ?

Matthew Swift one of the lead developers of the OpenDS project has been spending a lot of time preparing to the Zurich IronMan Triathlon on July 13th. For those who don’t know an IronMan comprises of a 3.8km swim, 180km bike stage, and then a marathon (42km) all to be completed on consecutively on the same day.

This week, he sent our team an email explaining why he was pushing so hard on himself :

"I am doing it as a challenge in order to raise awareness of a terrible incurable illness called Leukodystrophy and to raise money for research into finding a cure.

My 21 month old son, Joseph, was diagnosed with Leukodystrophy late last year. The illness is progressive and degenerative, and, unless a cure is found, means that he will never sit up, walk, or talk. He is left with very little control over his body.

Any money that I raise will be donated to two charities:

* the ELA in mainland Europe for all Euro based donations. Many of

you will recognize the name ELA as being the the charity for which

Zinedine Zidane is patron

* the Myelin Project UK in the United Kingdom for GBP based donations."

Matthew has created a blog called Tri4Joe at http://tri4joe.com. To Matt surprise, his story is starting to spread on the internet and the medias such as the Irish Examiner.

All donations are welcome and can be sent via the blog’s donation page: http://tri4joe.com/donate
And if you choosed to make a donation and happened to be a Sun employee, don’t forget to send Matthew Swift a confirmation email with your employee number and mailstop so that Sun can match the donation.

So join Zinedine Zidane and others to support to Matthew’s cause. Matthew, his wife Colette and their son Joseph will be thankful.

Technorati Tags: , ,

OpenDS presentations from Jazoon 08

The two presentations that I gave at Jazoon 08 last week are online available on OpenDS Wiki.

You can also get the “OpenDS Inside: an LDAP server embedded in your application” slides from the session page at Jazoon. If you attended the presentation, you can give it a rating (out of 5 stars) at that page.

You can also see SuperPat’s photos from the Jazoon 08 Flickr set. (Thanks Pat for almost choosing me as an exclusive model ;-))

Photo by Pat Patterson

Technorati Tags: , , , , ,