Introdution

This page describe the scenarii we will have to implement to validate the referral handling by ADS.

We will use this hierarchy for this purpose :

This picture show a hierarchy where two referals are declared : one from Europ to France and another one from America to USA.

The idea is to search for u1 or u2 from the continent, instead of the country. As we have a referral, we should obtain an URL pointing to the country.

So a search like :

BaseDB : c=europ, ou=system

Filter : (cn= u1 )

Scope level : subtree

will return a reference to c=france, ou=system. 

test scenarii

We will define the different schenarii we want to test here.

Simple referal

baseDN

filter

Operation

referral mode

expected result

c=america, ou=system

N/A

Add cn=akarasulu,l=jacksonville

THROW

Exception with "ldap://usa:10389/cn=alex karasulu,l=jacksonville,c=usa,ou=system" as referral

c=america, ou=system

N/A

Add cn=akarasulu,l=jacksonville

FOLLOW

Entry created as 'cn=alex karasulu,l=jacksonville,c=usa,ou=system'

  • No labels