env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class.getName() );
env.put( Context.PROVIDER_URL, "ou=system" );
DirContext ctx = new InitialDirContext( env );
ctx.createSubcontext( rdn, attrs );
// Add the first value for description
String description1 = "an American singer-songwriter";
Attribute firstDescr = new BasicAttribute( "description", description1 );
ModificationItem modification = new ModificationItem( DirContext.ADD_ATTRIBUTE, firstDescr );