Cisco Cisco Meeting Server 2000

下载
页码 160
Cisco Meeting Server Release 2.0 : Scalable and Resilient Meeting Server Deployments
130
Name
URI user part
fred.blogs
fred.blogs.space
15.4 More information on LDAP field mappings
This section provides additional information for LDAP field mappings that you set up for the
Meeting Server.
Parts of an LDAP field value can be substituted by means of a sed-like construction, as follows:
$<LDAP field name>|'/<regex>/<replacement format>/<option>'$
where:
<option>
 can be g, to replace every match of <regex> with <replacement
format>
, or blank to match only the first
parts of <regex> can be tagged for use in <replacement format> by enclosing
them in round brackets
tagged matches can be referenced in <replacement format> as \x where x is a digit
from 0 to 9. Match 0 corresponds to the entire match, and matches 1-9 the 1st to 9th
tagged sub-expressions
single quotes inside the substitution expression must be escaped with a backslash, as
must backslash characters themselves
any character other than a single quote, a backslash, or the digits 0-9 can be used in place
of the forward slash that separates the components of the substitution expression
if the separating character is to be used as a literal within the expression, it must be
escaped with a backslash.
As an example, the following would convert addresses in the format:
firstname.lastname@test.example.com 
into the format:
firstname.lastname@xmpp.example.com JIDs
$mail|'/@test/@xmpp/'$
and the following would remove every lower case 'a' from the user's full name:
$cn|'/a//g'$
A sensible set of expressions for use might be:
Full name:             $cn$
JID:                   $mail|'/@test/@xmpp/'$
space URI:           $mail|'/@.*//'$.space
space dial-in number: $ipPhone$
15   LDAP configuration