FTAM/9000 Programmer's Guide

80 Chapter 3
HP FTAM/9000 Data Structures
Directory Services Data Structures
Figure 3-6 attr_id Structure
attr_id The attr_id is an attribute type identifier that is of type
struct Object_id. You must set attr_id in one of these two
ways.
Set the first three fields to 2, 5, and 4. Set the fourth
field to the directory entry identification number. You
must use these numbers since they define a standard
attribute type for the protocol.
2 = joint_iso_ccitt
5 = attribute syntax
4 = protocol Object_id
n = attr_id or directory entry identification
number
Set only the directory entry identification number
attr_value The attr_value is of type struct Octet_string. Set
attr_value to the name of the country in the Directory
Services entry. Set the length equivalent to the number
of characters contained in the attr_value pointer.
length = 4
length
element
attr_id
Directory Entry Identification Number
254n
OR
length = 1
length
element
attr_id
Directory Entry Identification Number
n