@Test
public void testGetRootDSEAnonymousWithAccessControl() throws Exception
{
DirectoryService service = getService();
service.setAccessControlEnabled( true );
LdapCoreSessionConnection connection = new LdapCoreSessionConnection( service );
connection.bind( "", "" );
Entry rootDse = connection.getRootDse();
assertNotNull( rootDse );
}