Name parentDn = normName.getSuffix( 1 );
Name parentDn = normName.getPrefix( 1 );
    public void add( NextInterceptor nextInterceptor, String upName, Name normName, Attributes entry ) throws NamingException    {        // check if the entry already exists        if ( nextInterceptor.hasEntry( normName ) )        {            NamingException ne = new LdapNameAlreadyBoundException();            ne.setResolvedName( new LdapName( upName ) );            throw ne;        }        Name parentDn = normName.getSuffix( 1 );        // check if we don't have the parent to add to        assertHasEntry( nextInterceptor, "Attempt to add under non-existant parent: ", parentDn );        // check if we're trying to add to a parent that is an alias        Attributes attrs = nextInterceptor.lookup( normName.getSuffix( 1 ) );        Attribute objectClass = attrs.get( "objectClass" );        if ( objectClass.contains( "alias" ) )        {            String msg = "Attempt to add entry to alias '" + upName                    + "' not allowed.";            ResultCodeEnum rc = ResultCodeEnum.ALIASPROBLEM;            NamingException e = new LdapNamingException( msg, rc );            e.setResolvedName( parentDn );            throw e;        }        nextInterceptor.add( upName, normName, entry );    }