ctx.createSubcontext( dn, attributes );
ctx.createSubcontext( dn, entry.getAttributes() );
    protected void importLdif( InputStream in ) throws NamingException    {        Hashtable env = new Hashtable();        env.putAll( sysRoot.getEnvironment() );        LdapContext ctx = new InitialLdapContext( env, null );        LdifParser parser = new LdifParserImpl();        try        {            LdifIterator iterator = new LdifIterator( in );            while ( iterator.hasNext() )            {                Attributes attributes = new LockableAttributesImpl();                String ldif = ( String ) iterator.next();                parser.parse( attributes, ldif );                Name dn = new LdapName( ( String ) attributes.remove( "dn" ).get() );                dn.remove( 0 );                ctx.createSubcontext( dn, attributes );            }        }        catch ( Exception e )        {            String msg = "failed while trying to parse system ldif file";            NamingException ne = new LdapConfigurationException( msg );            ne.setRootCause( e );            throw ne;        }    }