The rpc map is the the abbreviated name for the rpc.bynumber map. The derived maps are rpc.byname and rpc.bynumber. In most cases, the rpc map is created from the /etc/rpc file. A typical line looks like this:

rpc_name port_number alias1 alias2 ... # comment

For example:

portmapper 100000  portmap  sunrpc
rpcbind    100001

For the rpc.byname map, entries are defined like this:

  • Key is the rpc name or alias, so there would be separate entries for: portmapper, portmap, sunrpc, and rpcbind.
  • Value for each of the portmapper, portmap, and sunrpc key entries would be the same: portmapper 100000 portmap sunrpc

For the protocols.bynumber map, entries are defined like this:

  • Key is the rpc number: 100000
  • Value is the rpc name, number, and aliases: portmapper 100000 portmap sunrpc

If you create a rpc map in Active Directory, you must include the key as part of the value. For example:

  • Key: portmapper
  • Value: portmapper 100000 portmap sunrpc
  • Comment: portmap and sunrpc are aliases for portmapper