Enhanced Set NS Information 0x2222 89 25

Sets the specified name space information.

NetWare Servers:6.5 SP2

Request Format

Offset

Content

Type

Request header

6

FunctionCode (89)

byte

7

SubFunction (25)

byte

8

SrcNameSpace

byte

9

DstNameSpace

byte

10

VolumeNumber

byte

11

DirectoryBase

long (Lo-Hi)

15

NSInfoBitMask

long (Lo-Hi)

19

DataTypeFlag

byte

20

NSSpecificInfo[512]

byte

Return Values

Decimal

Hex

Description

0

0x00

Successful

139

0x898B

No Rename Privileges

Remarks

Enhanced Set NS Information is passed to the name space NLM. It is an expensive time user on the server.

DataTypeFlag indicates what format the file name in the NewFileName field is in:

If the data format is UTF8 and the mask indicates that the name is returned, the length-preceding field is a WORD (two bytes) in Lo-Hi order. Otherwise, the length-preceding field is a byte.

NSSpecificInfo is defined as:

  BYTE   FileName&LengthByte[13]:
  LONG   FileAttributes; (Lo-Hi)
  WORD   CreateDate; (Lo-Hi)
  WORD   CreateTime; (Lo-Hi)
  LONG   OwnerID; (Hi-Lo)
  WORD   ArchiveDate; (Lo-Hi)
  WORD   ArchiveTime; (Lo-Hi)
  LONG   ArchiveID; (Hi-Lo)
  WORD   ModifyDate; (Lo-Hi)
  WORD   ModifyTime; (Lo-Hi)
  LONG   ModifyID; (Hi-Lo)
  WORD   LastAccessDate; (Lo-Hi)
  LONG   InheritedRightsMask; (Lo-Hi)
  LONG   MaximumSpace; (Lo-Hi)
  

Parameters

srcNameSpace

(Request) Specifies the source name space used to parse path information.

dstNameSpace

(Request) Specifies the name space for the returned directory base and volume number information if dstNSIndicator is set to Jn; otherwise, this parameter is ignored.

If dstNSIndicator is set to Jn, Generate Directory Base and Volume Number returns a directory base for the name space specified by dstNameSpace.

dstNSIndicator

(Request) Specifies to return the directory base and volume number in the name space specified by dstNameSpace if this parameter is set to Jn; otherwise, the directory base and volume number information are returned in the name space specified by srcNameSpace.