SessionLog.info( ctx.getSession(), "Sending entries under '" + contextName + '\'' );
SessionLog.info( ctx.getSession(), "Sending entries under '" + contextName + '\'' );  Map mapping = ctx.getServiceConfiguration().getGlobalRegistries() .getAttributeTypeRegistry().getNormalizerMapping(); contextName.normalize( mapping );
    private void sendAllEntries( ReplicationContext ctx ) throws NamingException    {        Attributes rootDSE =            ctx.getServiceConfiguration().getPartitionNexus().getRootDSE();                Attribute namingContextsAttr = rootDSE.get( "namingContexts" );        if( namingContextsAttr == null || namingContextsAttr.size() == 0 )        {            SessionLog.warn(                    ctx.getSession(),                    "No namingContexts attributes in rootDSE." );            return;        }                // Iterate all context partitions to send all entries of them.        NamingEnumeration e = namingContextsAttr.getAll();        while( e.hasMore() )        {            Object value = e.next();            // Convert attribute value to JNDI name.            Name contextName;            if( value instanceof Name )            {                contextName = ( Name ) value;            }            else            {                contextName = new LdapDN( String.valueOf( value ) );            }                        SessionLog.info(                    ctx.getSession(),                    "Sending entries under '" + contextName + '\'' );            sendAllEntries( ctx, contextName );        }    }