Stream

Is used for login scripts and other stream attributes.

Syntax ID

#define SYN_STREAM 21

LDAP Name

Binary

ASN.1 ID

1.3.6.1.4.1.1466.115.121.1.5

API Data Structure

typedef Octet_String_T   Stream_T;

Transfer Format

uint32    Length = N 
BYTE[N]   Content 

LDAP Format

BER-encoded

Matching Rules

Remarks

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

Streams are files of information. The data stored in a stream file has no syntax enforcement of any kind. It is purely arbitrary data, defined by the application that created and uses it.

Any attribute defined with this syntax is single-valued. When you try to read an attribute of this type or search on it, the value behaves like an empty string. That is, when you return from read or search, it returns an empty octet string. When you try to add a value, the request is ignored.

You must read or write attributes of this syntax by calling the NWDSOpenStream function, followed by calling standard file Read and Write functions.

Used In