env.setProperty( Context.SECURITY_CREDENTIALS, password );
}
env.setProperty( Context.SECURITY_AUTHENTICATION, "simple" );
env.setProperty( Context.PROVIDER_URL, "ou=system" );
env.setProperty( Context.INITIAL_CONTEXT_FACTORY, ServerContextFactory.class.getName() );
env.putAll( configuration.toJndiEnvironment() );
InitialDirContext context = new InitialDirContext( env );
//Attributes inetAttributes = context.getAttributes( "cn=inetorgperson,ou=schema" );
//inetAttributes.remove( "m-disabled" );