Harman Patil (Editor)

NetWare Core Protocol

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

The NetWare Core Protocol (NCP) is a network protocol used in some products from Novell, Inc. It is usually associated with the client-server operating system Novell NetWare which originally supported primarily MS-DOS client stations, but later support for other platforms such as Microsoft Windows, the classic Mac OS, Linux, Windows NT, Mac OS X, and various flavors of Unix was added.

Contents

The NCP is used to access file, print, directory, clock synchronization, messaging, remote command execution and other network service functions. It originally took advantage of an easy network configuration and a little memory footprint of the IPX/SPX protocol stack. Since mid-1990s the TCP/IP implementation is available.

Novell eDirectory uses NCP for synchronizing data changes between the servers in a directory service tree.

Technical Information

The original IPX/SPX implementation was provided only for Novell NetWare platform and now is obsolete. The TCP/IP implementation uses TCP/UDP port 524 and relies on SLP for name resolution.

For NCP operation in IPX/SPX networks the bare IPX protocol was used with Packet Type field set to 17. On the workstation (client station) side the IPX socket number of 0x4003 was used, on the server side the socket number of 0x0451.

The NCP PDU has the following structure:

The NCP Type field determines the type of operation:

Individual requests are identified by the Sequence Number (modulo 256). The Connection Number identifies an individual client station connection on the server. Novell Netware servers of version up to 2.x supported up to 255 connections and the Connection Number occupied only 1 octet. Later it was extended to 2 octets. Task number has value 3 in requests and 1 in replies. The Data field starts with NCP Function number octet which distinguishes individual services.

The contents and the length of the rest of the Data field depends on the NCP Function.

Client-side implementations

  • Novell Client for Windows Vista from Novell.
  • Novell Client for Windows 2000/XP/2003 from Novell.
  • Novell Client for Windows 95/98 from Novell.
  • Novell Client for Linux from Novell.
  • NetWare Clients for DOS from Novell - no longer supported.
  • NetWare Client for Mac OS X from Prosoft Engineering.
  • ncpfs, an open-source NCP client implementation for Linux.
  • Client Service for NetWare from Microsoft.
  • References

    NetWare Core Protocol Wikipedia