Telephone Number

Is used for attributes whose values are telephone numbers.

Syntax ID

#define SYN_TEL_NUMBER 10

LDAP Name

Telephone Number

ASN.1 ID

1.3.6.1.4.1.1466.115.121.1.50

API Data Structure

typedef pnstr8 TN_String_T;

Transfer Format

uint32    Length 
unicode   String 

LDAP Format

printable string

Matching Rules

Remarks

For help in understanding the syntax definition template, see Reading Syntax Definitions.

Attributes using this syntax can set size limits. The length of telephone number strings must be between 1 and 32.

The rules for matching telephone numbers are identical to those for the Case Exact String attribute syntax except that all space and hyphen (-) characters are skipped during the comparison.

Two telephone numbers match for equality when their lengths and corresponding characters, including case, are identical.

In comparing case exact strings, the following spaces are not significant:

  • Leading spaces (precede the first printing character)

  • Trailing spaces (follow the last printing character)

  • Multiple consecutive internal spaces (equivalent to a single space character)

In matching attributes that conform to this syntax, eDirectory omits those spaces that are not significant (as defined above). eDirectory stores insignificant spaces with the attribute value.

Used In