The Netware Core Protocol

An early version of the 1996 document

Listing functions available in the Novell Netware Core Protocol.

types:
  name = [len:1, data:len]
object = [type:2, name:name]

ncp14-00  spool data to a capture file
ncp14-01  close and queue capture file
ncp14-02  set spool flags
ncp14-03  spool existing file
ncp14-04  get spool queue entry
ncp14-05  remove entry from spool queue
ncp14-06  get printer status for printer N (0-4)
      [N:1] -> [status:4]
ncp14-09  specify capture file  (h=dirhandle)
      [h:1  fn:Lstring]

ncp15-00  send broadcast message
      [N:1 connlist:N  msg:Lstring]  -> [N:1 result:N]
ncp15-01  get broadcast message
      []  -> [msg:Lstring]
ncp15-02  enable broadcast messages
ncp15-03  disable broadcast messages
ncp15-04  send personal message
      [N:1 connlist:N  msg:Lstring]  -> [N:1 result:N]
ncp15-05  get personal message
      []  -> [conn:1 msg:Lstring]
ncp15-06  open message pipe
      [N:1  connList:N]  -> [N:1 result:N]
ncp15-07  close message pipe
      [N:1  connList:N]  -> [N:1 result:N]
ncp15-08  check pipe status
      [N:1  connList:N]  -> [N:1 result:N]
ncp15-09  broadcast to console
      [msg:Lstring]

ncp16-00  set directory handle
      [src:1  dst:1  path:Lstring]
ncp16-01  get directory path
      [dirh:1] -> [path:Lstring]
ncp16-02  scan directory information
      [dirh:1  seq:2  path:Lstring]
      ->  [name:16 datetime:4 owner:4 maxrights:1 x:1 seq:2]

ncp16-03  get effective directory rights
      [dirh:1 path:Lstring]  ->  [rights:1]
ncp16-04  modify maximum rights mask
      [dirh:1 grant:1 revoke:1 path:Lstring]
ncp16-05  get volume number
      [vol:Lstring] -> [num:1]
ncp16-06  get volume name
      [num:1] -> [vol:16]
ncp16-0A  create directory
      [dirh:1  maxrights:1  path:Lstring]
ncp16-0B  delete directory
      [dirh:1  x:1  path:Lstring]
ncp16-0C  scan directory for trustees
      [dirh:1  seq:1  path:Lstring]
      ->   [dir:16 datetime:4 owner:4  trustees:4*5  rights:1*5]
ncp16-0D  add trustee to directory
      [dirh:1  trustee:4 rights:1  path:Lstring]
ncp16-0E  delete trustee from directory
      [dirh:1  trustee:4 x:1  path:Lstring]
ncp16-0F  rename directory
      [dirh:1  path:Lstring  newname:Lstring]
ncp16-10  purge erased files
      []
ncp16-11  restore erased file
      [dirh:1 volname:Lstring]  -> [orgname:15  newname:15]
ncp16-12  alloc permanent directory handle
      [dirh:1 drive:1 path:Lstring] -> [newh:1 rigths:1]
ncp16-13  alloc temporary directory haNDLE
      [dirh:1 drive:1 path:Lstring]
ncp16-14  deallocate directory handle
      [dirh:1]
ncp16-15  get volume info with handle
      [dirh:1]
      ->  [blksct:2  volblk:2  avail:2 dirslot:2 availslot:2 volname:16 rm:2]
ncp16-16  alloc special temp dir handle
ncp16-17  save directory handle
      [dirh:1]  ->  [buf:16]
ncp16-18  restore directory handle
      [buf:16]  ->  [dirh:1 rights:1]
ncp16-19  set directory information
      [dirh:1 datetime:4 owner:4 maxrights:1 path:Lstring]
ncp16-1A  get path from directory entry
      [volnr:1 direntry:2] -> [path]

ncp17-00 Login User Object
ncp17-01 Change User Password
ncp17-02 Map User To Station Set
ncp17-03 Map Object To Number
ncp17-04 Map Number To Object
ncp17-05 Get Station's Logged Information
ncp17-06  get station's root mask (obsolete)
ncp17-07  map group name to number
ncp17-08 Map Number To Group Name
ncp17-09 Get Member Set M of Group G
ncp17-0A Enter Login Area
ncp17-0B
ncp17-0C Verify Network Serial Number
ncp17-0D Log Network Message
ncp17-0E Get Disk Utilization
ncp17-0F Scan File Information
ncp17-10 Set File Information
ncp17-11 Get File Server Information
ncp17-12 Get Network Serial Number
ncp17-13 Get Internet Address
ncp17-14 Login Object
ncp17-15 Get Object Connection Numbers
ncp17-16 Get Connection Information
ncp17-17 Get Encryption Key
ncp17-18 Login Object Encrypted
ncp17- 19 -
ncp17-1a Get Internet Address
      [connid:4]
ncp17-1b Get Object Connection List
      [lastcon:4  object:object] -> [len:1 connid:4*len]
ncp17-1c Get Station Logged Info
      [connid:4]
ncp17-1d Change Connection State
ncp17-1e Set Watchdog Delay Interval
ncp17-1F Get Connection List From Object
ncp17- 20/31
ncp17-32 Create Bindery Object
      [obflg:1 obsec:1 object:object], obflg=0(static) 1(dynamic)
ncp17-33 Delete Bindery Object
      [object:object]
ncp17-34 Rename Bindery Object
      [object:object new:name]
ncp17-35 Get Bindery Object ID
      [object:object]
ncp17-36 Get Bindery Object Name
      [objid:4]
ncp17-37 Scan Bindery Object
      [lastobjid:4 object:object], ffffffff ffff 1:'*' for all
ncp17-38 Change Bindery Object Security
      [obsec:1 object:object]
ncp17-39 Create Property
      [object:object propflg:1 propsec:1 property:name]
ncp17-3A Delete Property
      [object:object property:name]
ncp17-3B Change Property Security
      [object:object propsec:1 property:name]
ncp17-3C Scan Property
      [object:object p_seq:4 property:name], start with p_seq=ffffffff
      [prop:16 flag:1 sec:1 seq:4 val:1 more:1]
ncp17-3D Read Property Value
      [object:object v_seq:1 property:name], start with v_seq=01
ncp17-3E Write Property Value
      [object:object v_seq:1 delold:1 property:name data:128]
ncp17-3F Verify Bindery Object Password
      [object:object passwd:name]
ncp17-40 Change Bindery Object Password
      [object:object oldpw:name newpw:name]
ncp17-41 Add Bindery Object to Set
      [object:object prop:name member:object]
ncp17-42 Delete Bindery Object From Set
      [object:object prop:name member:object]
ncp17-43 Is Bindery Object In Set
      [object:object prop:name member:object]
ncp17-44 Close Bindery
ncp17-45 Open Bindery
ncp17-46 Get Bindery Access Level
ncp17-47 Scan Bindery Object Trustee Paths
      [volume:1 seq:2 objID:4]   start: seq=00
ncp17-48 Get Bindery Object Access Level
ncp17-49 Is Station A Manager
ncp17-4A Verify Bindery Object Password Encrypted
ncp17-4B Change Bindery Object Password Encrypted
ncp17-4C Get RelationOf An Object
ncp17- 4d/63
ncp17-64 Create Queue
ncp17-65 Destroy Queue
ncp17-66 Read Queue Current Status
ncp17-67 Set Queue Current Status
ncp17-68 Create Queue Job And File
ncp17-69 Close File And Start Job Queue
ncp17-6A Remove Job From Queue
ncp17-6B Get Queue Job List
ncp17-6C Read Queue Job Entry
ncp17-6D Change Queue Job Entry
ncp17-6E Change Queue Job Position
ncp17-6F Attach Queue Server To Queue
ncp17-70 Detach Queue Server From Queue
ncp17-71 Service Queue Job And Open File
ncp17-72 Finish Servicing Queue Job And File
ncp17-73 Abort Servicing Queue Job And File
ncp17-74 Change To Client Rights
ncp17-75 Restore Queue Server Rights
ncp17-76 Read Queue Server Current Status
ncp17-77 Set Queue Server Current Status
ncp17-78 Get Queue Job's File Size
ncp17- 79/95
ncp17-96 Get Account Status
ncp17-97 Submit Account Charge
ncp17-98 Submit Account Hold
ncp17-99 Submit Account Note
ncp17- 9a/c7
ncp17-C8 Check Console Privileges
ncp17-C9 Get File Server Description Strings
ncp17-CA Set File Server Date And Time
ncp17-CB Disable File Server Login
ncp17-CC Enable File Server Login
ncp17-CD Get File Server Login Status
ncp17-CE Purge All Erased Files
ncp17-CF Disable Transaction Tracking
ncp17-D0 Enable Transaction Tracking
ncp17-D1 Send Console Broadcast
ncp17-D2 Clear Connection Number
ncp17-D3 Down File Server
ncp17-D4 Get File System Statistics
ncp17-D5 TTS Get Statistics
ncp17-D6 Get Disk Cache Statistics
ncp17-D7 Get Drive Mapping Table
ncp17-D8 Get Physical Disk Statistics
ncp17-D9 Get Disk Channel Statistics
ncp17-DA Get Connection's Task Information
ncp17-DB Get Connection's Open Files
ncp17-DC Get Connections Using A File
ncp17-DD Get Physical Record Locks By Connection And File
ncp17-DE Get Physical Record Locks By File
ncp17-DF Get Logical Records By Connection
ncp17-E0 Get Logical Record Information
ncp17-E1 Get Connection's Semaphores
ncp17-E2 Get Semaphore Information
ncp17-E3 Get LAN Driver's Configuration Information
ncp17-E5 Get Connection's Usage Statistics
ncp17-E6 Get Bindery Object Disk Space Left
ncp17-E7 Get File Server LAN I/O Statistics
ncp17-E8 Get File Server Misc Information
ncp17-E9 Get Volume Information
   16-27 Add Extended Trustee to File/Dir      [dirhandle:1, objID:4, trust:2, path]
   16-0d Add Trustee to Directory              [dirhandle:1, trustID:4, trustmask:1, path]
   57-0a Add Trustee Set To File or Directory  [namespace:1, ?:0, srchatt:2, trust:2, cnt:2, ...]
   17-73 Abort Servicing Queue Job(old)        [qID:4 jobNum:2]
   17-84 Abort Servicing Queue Job(new)        [qID:4 jobNum:4]
   17-41 Add Bindery Object to Set             [set, propname, member]
   16-21 Add User Disk Space Restriction       [vol:1, objID:4, limit:4]
ncp17- ea/ff

int21ef00  get drive handle table  : 32 dirhandles
int21ef01  get drive flag table    : 32 flags: local/net, mapped/not mapped
int21ef02  get drive connection id : 32 svrConID
int21ef03  get connection table
int21ef04  get file server name table

int21f000  set preferred connection id
int21f001  get preferred connection id
int21f002  get default connection id
int21f003  get lpt capture status
int21f004  set primary connection id
int21f005  get primary connection id

int21f100  attach to file server
int21f101  dettach to file server
int21f102  logout from file server