Topics

06 History of changes
Administrator Client, Server
Alias dereferencing for LDAP directory assistance (R5.0.9)

An alias entry in an LDAP directory is an entry that points to another entry. Following an alias pointer is known as dereferencing an alias. In R5.0.9, there is a new field in Directory Assistance documents for LDAP directories called "Dereference Alias on search." This field has the following options that control searching of aliases in an LDAP directory.

OptionDescription
NeverNever dereference alias entries. Choose this option to improve search performance if there are no alias entries in the directory that require dereferencing.
InSearchingDereference alias entries subordinate to a specified search base, but do not dereference an alias search base entry.
FindingBaseDeference an alias entry for a specified search base, but do not dereference alias entries subordinate to the search base.
AlwaysAlways dereference aliases. This selection is the default, and the behavior prior to R5.0.9.
Note: the field popup help incorrectly states that the default selection is Never.

Note that dereferencing aliases by choosing InSearching, FindingBase, or Always can result in poor search performance with some LDAP directories.

Examples
Suppose:
A) an LDAP directory has the following entries:
o=Acme1
o=Acme2 (alias entry that points to o=Acme1)
cn=John Doe, o=Acme1
cn=John Doe, o=Acme2 (alias entry that points to cn=John Doe, o=Acme1)

B) Directory assistance has to process a subtree search with the base o=Acme2 (a search of o=Acme2 and its subordinate entries).

Given A) and B), the following table describes the search results each " Dereference Alias on search" option returns.

Option selectedEntries returned
Nevero=Acme2
cn=John Doe, o=Acme2
InSearchingo=Acme2
cn=John Doe, o=Acme1
FindingBaseo=Acme1
cn=John Doe, o=Acme2
Alwayso=Acme1
cn=John Doe, o=Acme1