Path

Is used for attributes that represent a file system path.

Syntax ID

#define SYN_PATH 15

LDAP Name

Tagged Name And String

ASN.1 ID

2.16.840.1.113719.1.1.5.1.15

API Data Structure

typedef struct 
{
   nuint32   nameSpaceType;
   pnstr8    volumeName;
   pnstr8    path;
} Path_T;

Transfer Format

uint32    Length
uint32    Name Space
unicode   Volume
Align4 
unicode   Path

LDAP Format

String

taggedNameAndString = distinguishedname "#" uint32string "#"
   dstring

Binary

taggedNameAndString :: = SEQUENCE {
   objectName   LDAPDN,
   number       uint32,
   string       LDAPString
}

Matching Rules

Remarks

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

Attributes using this syntax can set size limits.

The string represented by the path field is compared for equality using the same rules that Case Exact String uses. That is, two Paths match for equality when their lengths and corresponding characters, including case, are identical.

In comparing two Paths, the following white space (spaces, tabs, etc.) is 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.

The volumeName field must refer to a distinguished name of an object that exists in the eDirectory tree. eDirectory verifies that this field refers to an existing object, but does not ensure that the object is a volume object. Thus, this syntax can be used to refer to any type of object in the eDirectory tree.

When this syntax is used to specify a path to a file system object, the volumeName field must refer to a volume object that already exists in the eDirectory tree. In searches and comparisons, the path field can specify a path, or you can set the path to “*” to match any path on the volume.

For information about the fields in the structure, see the Path_T structure (NDK: Novell eDirectory Core Services).

Used In