Previous Topic: set allow-native-prefix-reauthentication Command—Allow Router DSAs to Use a Prefix-mapped User Name to Authenticate

Next Topic: set allow-search-default Command—Make One Search Profile the Default

set allow-search Command—Define a Search Profile

The set allow-search command defines a search profile to the DSA. You use search profiles to restrict the searches that users can perform.

This command has the following format:

set allow-search profileName = {
(
scope = allowedScope [,allowedScope ...] 
[filter = allowedFilter [,allowedfilter ...]]
)
[,(
scope = allowedScope [,allowedScope...]
[filter = allowedFilter [,allowedfilter...]]
)]
...
};

Example: Allow Any Search

set allow-search superusers = {
( scope = all )
};

This search profile allows any search.

Example: Allow Base-Object Searches Only

set allow-search Guest = {
( scope = read )
};

This search profile allows base-object searches only. No filter is specified with the scope parameter, so the search can contain any filter or none.

Example: Allow Base-Object Searches and Some Other Searches

set allow-search userDefault = {
(scope = read),
(scope = browse, subtree
 filter = and, or, equality)
};

This search profile allows base-object searches with any filter and other searches if they have a filter for exact matches.


Copyright © 2009 CA. All rights reserved. Email CA about this topic