*/
public Attributes lookup( Name dn, String[] attrIds ) throws NamingException
{
if ( dn.size() == 0 )
{
LockableAttributes retval = new LockableAttributesImpl();
NamingEnumeration list = rootDSE.getIDs();
while ( list.hasMore() )
{
String id = ( String ) list.next();
Attribute attr = rootDSE.get( id );
retval.put( ( Attribute ) attr.clone() );
}
retval.setLocked( true );
return retval;
}
DirectoryPartition backend = getBackend( dn );