throws NamingException
{
Name effectiveBase = null;
BigInteger baseId = db.getEntryId( base.toString() );
String aliasedBase = ( String ) db.getAliasIndex().reverseLookup( baseId );
DerefAliasesEnum mode = DerefAliasesEnum.getEnum( env );
// --------------------------------------------------------------------
// Determine the eective base with aliases
// --------------------------------------------------------------------
/*
* If the base is not an alias or if alias dereerencing does not
* occur on finding the base then we set the effective base to the
* given base.
*/
if ( null == aliasedBase || ! mode.derefFindingBase() )
{
effectiveBase = base;
}
/*
* I the base is an alias and alias dereerencing does occur on