Postal Address

Is used for attributes whose values are postal addresses.

Syntax ID

#define SYN_PO_ADDRESS 18

LDAP Name

Postal Address

ASN.1 ID

1.3.6.1.4.1.1466.115.121.1.41

API Data Structure

typedef pnstr8 Postal_Address_T[6];

Transfer Format

uint32   Length of attribute value 
uint32   Number of strings 
 
/* For each string   */ 
Align4 
unicode   String

LDAP Format

dstring *5 ($ dstring) 

Matching Rules

Remarks

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

An attribute value for Postal Address will be typically composed of selected attributes from the MHS Unformatted Postal O/R Address version 1 according to Recommendation F.401. The value is limited to 6 lines of 30 characters each, including a Postal Country Name. Normally the information contained in such an address could include a name, street address, city, state or province, postal code and possibly a postal office box number, depending on the specific requirements of the named object.

eDirectory requires 6 strings; blank strings must include at least a space. LDAP supports 1 to 6 strings, and the Novell LDAP server handles the differences between eDirectory and LDAP.

The matching rules for values of this type are the same as those for the Case Ignore List attribute. That is, two postal addresses match for equality if, and only if, the number of strings in each is the same and all corresponding strings match. For two corresponding strings in the list to match, they must be the same length and their corresponding characters must be identical (see the matching rules for the Case Ignore List attribute).

When comparing the strings in a Postal Address, the following white space (spaces, tabs, etc.) is regarded as not significant:

  • Leading spaces (those preceding the first printable character)

  • Trailing spaces (those following the last printable character)

  • Multiple consecutive internal spaces (these are taken as 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