









                             Token Mapping Service
                              TSIG-TNFS-006.01.01


                                  Fran Fadden

                         Digital Equipment Corporation
                            ULTRIX Engineering Group


                                    ABSTRACT

                    This proposal defines a simple ONC RPC  based
               service  which supports the token mapping needs of
               Trusted NFS (TNFS).  The ToKen Mapper (TKM) proto-
               col  describes  the  interface to expand tokenized
               attributes into a format  understood  by  a  given
               application.



          1.  Overview

          The TKM supports the security attributes  specified  in  the
          Trusted  NFS document (i.e., ACLs; sensitivity, information,
          integrity labels; file and  process  privileges).   The  TKM
          identifies an attribute by its owner, type, and format.  The
          owner is the TKM that knows the mapping between an attribute
          and token.  The type field describes what security attribute
          the  mapping  represents  (e.g.,  ACL,  IL).    The   format
          describes  the  canonical  representation  of  an  attribute
          (e.g., GENERIC format, VEND1 format).

          An application uses the TKM whenever it needs to  convert  a
          tokenized  representation  of  an  attribute  into  a format
          understood by the application.  For  example,  a  TNFS  file
          server  would  call  the TKM to expand the attributes in the
          clients credential and a TNFS client would call the  TKM  to
          expand returned file attributes.

          It is expected that a given TKM has the capability  to  call
          other  services  to  obtain the token to attribute mappings.
          For example, implementations that support local static  map-
          pings could use library/syscall interfaces to expand a given
          token.  Likewise, implementations that support  global  map-
          pings (i.e., mapping shared by a group of hosts) could use a
          common network database (e.g., ONC NIS, DCE CDS)  to  handle
          the mappings.






                                 April 26, 1992





                                     - 2 -


          2.  Protocol

          The TKM and its protocol operations are described as  a  new
          ONC RPC service:

                  program TKM_PROGRAM {
                      version TKM_VERSION {
                          void          TKMPROC_NULL(void)          = 0;
                          tkminit_res   TKMPROC_INIT(tkminit_args)  = 1;
                          tkmctl_res    TKMPROC_CTL(tkmctl_args)    = 2;
                          tkmttoa_res   TKMPROC_TTOA(tkmttoa_args)  = 3;
                          tkmtaot_res   TKMPROC_ATOT(tkmatot_args)  = 4;
                      } = 1;
                  } = 390087;

          The authentication flavor used by  the  TKM  service  should
          provide  some  form  of authentication between a TKM and the
          calling  application.   For  this  reason,  in  addition  to
          AUTH_UNIX,  the  TKM service will support either AUTH_DES or
          AUTH_KERB authentication flavors [1].

          The TKM should  be  reachable  by  both  connectionless  and
          connection-oriented transports.  To accomplish this, the TKM
          is required to register its address with its local  ONC  RPC
          binding  process  (i.e.,  the  ONC  RPC service with program
          number 100000 (decimal)).

          2.1.  Data Types and Constants


          2.1.1.  Status


                  enum tk_status_t {
                              TKM_OK,
                              TKM_BAD
                  };

          This type defines the reply status for each protocol  opera-
          tion.

          2.1.2.  Attribute Types






          _________________________
          2.   AUTH_MLS is not used, since it would either result
          in  recursion  or it would need to make use of constant
          "well known" (and consequently not very  useful)  token
          values.




                                 April 26, 1992





                                     - 3 -



                  typedef u_long tk_attr_mask_t;

                  const   TKATTR_ACL      = 0x01;  /* access control list */
                  const   TKATTR_PPRIV    = 0x02;  /* process (cred) privilege */
                  const   TKATTR_FPRIV    = 0x04;  /* file privileges */
                  const   TKATTR_SENL     = 0x08;  /* sensitivity label */
                  const   TKATTR_INFL     = 0x10;  /* information label */
                  const   TKATTR_INTL     = 0x20;  /* integrity label */
                  const   TKATTR_VEND     = 0x40;  /* reserved for vendor use */
                  const   TK_ATTR_MAX     = 7;     /* number of supported attributes */

          This type is a mask selecting a set of attributes; the  con-
          stants  define  the  bit positions for each of the supported
          attributes, and implicitly define the index onto an array of
          attributes, tokens, etc.  For example, the information label
          mask bit is 0x10 (the fourth bit) and consequently an infor-
          mation  label  token would be the fourth element in an array
          of tokens or attributes.

          2.1.3.  Token


                  const   TK_TOKEN_SIZE   =  4;
                  typedef opaque tk_token_t[TK_TOKEN_SIZE];

          This type is an opaque identifier used to represent a token-
          ized  attribute.   It is only meaningful in the context of a
          specific host and with respect to a specific attribute type.

          2.1.4.  Format


                  typedef string tk_format_t<>;

          This type is used for the  format  of  an  attribute.   Each
          attribute  type has its own format, and a given TKM can sup-
          port multiple attribute formats for each attribute type,  as
          described for the TKMPROC_INIT protocol operation.

          2.1.5.  Attribute


                  typedef opaque  tk_attr_t<>;

          This type is used to  describe  the  canonical  form  of  an
          attribute.  It is only meaningful in the context of a previ-
          ously agreed upon attribute format, and with  respect  to  a
          specific attribute type.

          2.1.6.  Cookie






                                 April 26, 1992





                                     - 4 -



                  const   TK_COOKIE_SIZE  =  4;
                  typedef opaque tk_cookie_t[TK_COOKIE_SIZE];

          This type is used to define the instantiation of  the  token
          map in use for a given host.

          2.1.7.  Owner


                  typedef u_long tk_ipaddr_t;
                  typedef struct {
                          tk_ipaddr_t own_host;
                          u_long own_service;
                          u_long own_version;
                          } tk_owner_t;

          This type describes the owner of the attribute maps.

          2.2.  Protocol Operations


          2.2.1.  Null


                  void TKMPROC_NULL(void) = 0;

          TKMPROC_NULL is a NOOP used for  testing  the  communication
          path between the client and server.

          2.2.2.  Initialize


























                                 April 26, 1992





                                     - 5 -



                  struct  tkminit_args {
                          tk_cookie_t     ia_cookie;
                          tm_attr_mask_t  ia_which;
                          tk_owner_t      ia_owners[TK_ATTR_MAX];
                          tk_format_t     ia_formats[TK_ATTR_MAX];

                  };

                  struct  tkinit_ok_res {
                          tm_attr_mask_t  irok_which;
                          tk_format_t     irok_formats[TK_ATTR_MAX];
                  };

                  struct  tkinit_bad_res {
                          tm_attr_mask_t  irbad_which;
                  };

                  union  tkminit_res switch (tk_status_t ir_result) {
                  case TKM_OK:
                          tkinit_ok_res   ir_ok_u;
                  case TKM_BAD:
                          tkinit_bad_res  ir_bad_u;
                  default:
                          void;
                  };

                  tkminit_res TKMPROC_INIT(tkminit_args) = 1;

          TKMPROC_INIT  provides  the  means  for  an  application  to
          describe  itself  to a TKM.  The arguments specify an opaque
          cookie, (ia_cookie) which defines this instantiation of  the
          token/attribute  binding,  a  mask  of  supported attributes
          types (ia_which), a  list  of  supported  formats  for  each
          attribute  type  (ia_formats), and the TKM owning the attri-
          bute mapping for each attribute type (ia_owners).

          If the value of ia_cookie is different from  the  previously
          saved  value  of  ia_cookie  for that same TKM, the receiver
          will flush any cached mappings that it was saving  for  that
          TKM.

          The ia_formats field is an array of  NUL  terminated,  comma
          (',')  separated  format  strings;  one string per attribute
          type.  The order of  the  formats  in  each  string  is  the
          sender's preferred order.

          A successful reply to the call will specify the list of sup-
          ported  attributes  of the called TKM, and the chosen format
          of each attribute type. Failure cases arise  if  the  caller
          fails  authentication  or  the called TKM does not support a
          given attribute type or any of the offered  formats  for  an
          attribute  type.   In the latter case the reason for failure
          is  returned  as  a  mask  of  the   unsupported   attribute



                                 April 26, 1992





                                     - 6 -


          types/formats.

          The use of TKMPROC_INIT is mandatory.  It  is  available  to
          allow  two  token mappers to agree on the type and format of
          the attributes to be used in a given session, and  to  allow
          recovery   from   cache  corruption  or  other  catastrophic
          failure.  A TKM that receives a  TKMPROC_INIT  operation  is
          required  to  then  generate one as well, in order to ensure
          that the peers  are  mutually  (re)initialized.   This  will
          ensure  that the peers do not have different versions of the
          same token (with possibly different meanings).  Note that an
          init  sequence  between a pair of hosts does not necessarily
          imply that either host must generate an init  to  any  other
          host  that it may be communicating with.  If such an init is
          required, the fact will be discovered when the  two  try  to
          perform  a mapping exchange, and the init will occur at that
          time.

          The ia_owners field is used when the sender wishes to desig-
          nate a third party as the entity that will provide the token
          translations.  This is useful, for example, when the  sender
          is  a diskless client, and wishes tokens to be translated by
          the diskless server.

          This operation obviates the need for associating  generation
          numbers with attribute map requests or having the generation
          number implicit in the tokens.  For a TKM that  generates  a
          new  binding  between  attribute and token each time it res-
          tarted, the ia_cookie could be the time of last restart.   A
          TKM  that  maintained  the  binding  in stable backing store
          could use the time that that binding was  last  created.   A
          TKM for whom the binding was constant (e.g., for SL, first 8
          bits classification, remaining 24 bits categories) could use
          a  constant  value for ia_cookie (perhaps a software version
          number).

          2.2.3.  Control




















                                 April 26, 1992





                                     - 7 -



                  const   TKCTL_WHO   = 0x00000001;
                  struct tkmctl_args {
                                  u_long  ca_flags;
                                  opaque  ca_data<>;
                  };

                  struct tkmctl_ok_res {
                                  opaque  cr_data<>;
                  };

                  union tkmctl_res switch (tk_status_t cr_status) {
                  case TKM_OK:
                                  tkmctl_ok_res   mr_ok_u;
                  default:
                                  void;
                  };

                  tkmctl_res TKMPROC_CTL(tkmctl_args) = 2;

          The TKMPROC_CTL operation is used to pass  control  informa-
          tion to a TKM or to get status information from a TKM [3].

          2.2.4.  Mapping Tokens to Attributes


                  struct tkmttoa_args {
                          tk_token_t      ta_tokens[TK_ATTR_MAX];
                  };

                  struct tkmttoa_ok_res {
                          tk_attr_t       trok_attrs[TK_ATTR_MAX];
                  };

                  struct  tkmttoa_bad_res {
                          tk_attr_mask_t  trbad_which;
                  };

                  union tkmttoa_res switch (tk_status_t tr_status) {
                  case TKM_OK:
                          tkmttoa_ok_res  tr_ok_u;
                  case TKM_BAD:
                          tkmttoa_bad_res tr_bad_u;
                  default:
                          void;
                  };

                  tkmttoa_res TKMPROC_TTOA(tkmttoa_args) = 3;
          _________________________
          4.   Currently the only operation defined is  for  get-
          ting the identity of the token mapper.  Additional ven-
          dor specific operations could be defined  depending  on
          the token mapper's identity.




                                 April 26, 1992





                                     - 8 -


          The TKMPROC_TTOA operation is called with a list  of  tokens
          (ta_tokens)  to be mapped.  On a successful reply, a list of
          expanded attributes of the appropriate format are  returned.
          Failure  cases  are  due  to  unknown  tokens or unsupported
          attribute  types;  the  reply  will  indicate  which  tokens
          (attribute types) were at fault.

          2.2.5.  Mapping Attributes to Tokens


                  struct tkmatot_args {
                          tk_attr_t       aa_attrs[TK_ATTR_MAX];
                  };

                  struct tkmatot_ok_res {
                          tk_token_t      arok_tokens[TK_ATTR_MAX];
                  };

                  struct  tkmatot_bad_res {
                          tk_attr_mask_t  arbad_which;
                  };

                  union tkmatot_res switch (tk_status_t ar_status) {
                  case TKM_OK:
                          tkmatot_ok_res  ar_ok_u;
                  case TKM_BAD:
                          tkmatot_bad_res ar_bad_u;
                  default:
                          void;
                  };

                  tkmatot_res TKMPROC_ATOT(tkmatot_args) = 4;

          The TKMPROC_ATOT operation is called with a list  of  attri-
          butes  (aa_attrs)  to  be mapped, in the appropriate format.
          On a successful  reply,  a  list  of  tokens  are  returned.
          Failure  cases  are due to unknown attributes or unsupported
          attribute types; the reply will  indicate  which  attributes
          (attribute types) were at fault.

          3.  Attribute Formats

          A generic interchange format  for  attributes  is  described
          here;  the  name  of  this format for purposes of the format
          string (tk_format_t) is "GENERIC".  All attribute  represen-
          tations  are NUL terminated ASCII strings.  A generic format
          for each of sensitivity labels, information  labels,  access
          control  lists, and file and process privileges is described
          below.  Generic formats for integrity labels and nationality
          caveats  are not provided, as their definition is still in a
          state of flux; however, systems that  implement  a  mutually
          agreed  upon  integrity or nationality caveat format will be
          able to exchange tokens.




                                 April 26, 1992





                                     - 9 -


          Note that the format specifications in this section are  not
          intended  to  replace or otherwise circumvent any current or
          future work in any formal standards body; rather,  they  are
          intended  to foster the minimum level of agreement necessary
          to enable secure interoperability.  Also, although  each  of
          the  formats described below is ASCII, there is nothing that
          precludes a new format from being a  binary  data  structure
          (with agreed upon byte order and word size).

          3.1.  Sensitivity and Information Labels

          The attribute representation  for  both  sensitivity  labels
          (TKATTR_SENL)  and  information  labels (TKATTR_INFL) is the
          ASCII encoding format produced by the MITRE label  encodings
          software.   Either  the short form or the long form shall be
          accepted.  This format and software was originally developed
          by  MITRE  for  the CMW project, but it is applicable to any
          B1-style mandatory access control policy.  Any  two  systems
          that  implement  this format will be able to exchange labels
          as long  as  the  actual  encodings  files  are  compatible,
          regardless of the underlying MAC policy implementation.  The
          format    is    extensively    described     in[Woodward90a]
          and[Woodward89a] and will not be further described here.

          3.2.  Access Control Lists

          The representation for an access control  list  is  a  space
          separated  list  of ACL entries, each of which consists of a
          user or group specifier, a colon (':'), and a set of  access
          permissions.   The  user  or group specifier can be either a
          name or number, followed by a dot and a star (".*") in which
          case  the  ACL  entry represents the permissions allowed for
          the specific user, or it is a star and dot  ("*.")  followed
          by  a name or number, in which case the entry represents the
          permissions allowed for any user  in  the  specified  group.
          The  set of access permissions consists of, 'r' or '-', fol-
          lowed by 'w' or '-', followed by 'x'  or  '-',  representing
          read  (no  read),  write  (no  write) and execute/search (no
          execute/search) permission respectively.   The  minus  signs
          ('-')  are  optional, so that "r-x" and "rx" are equivalent.
          Note that this protocol specifies the form, but not the com-
          plete  semantics,  of an ACL, so that it is system dependent
          what access is granted in the case where  different  entries
          grant different access rights to a particular user by virtue
          of his membership in one or more groups.   For  this  reason
          ACLs  are  only truly deterministic for the cases where each
          entry that grants any access represents a specific user,  or
          where  each entry specifies a group where no two groups have
          overlapping membership.   This  is  a  shortcoming  that  is
          currently being addressed by other standards organizations.

          Examples of ACLs would be:





                                 April 26, 1992





                                     - 10 -



                  "root.*:rwx jack.*:r jill.*:rw"
                  "*.system:rw *.operator:r"


          3.3.  Privileges

          Because of varying levels  of  granularity  among  different
          implementations, privileges are the attribute least amenable
          to specification in a generic form.  Because of  that,  most
          TKM implementations will probably support not only a generic
          format and a format specific to the host, but  also  formats
          specific  to  several  other  vendor offerings.  Each vendor
          will loose some amount of information  in  translating  from
          native  to  generic  format,  and it may be that translating
          directly from native to vendor X will result  in  a  smaller
          loss  of  information.  In any event, as long as each system
          supports the required generic format, interoperability  will
          be assured.  This generic representation is based on a draft
          of the POSIX  1003.6  privilege  mechanism,  with  additions
          where  necessary  to  encompass  capabilityes of many common
          implementations (e.g., mount and mknod operations).

          The different POSIX process privilege sets are  all  ignored
          except  for  the effective privilege set, because the others
          all deal with propagation  of  privileges  which  should  be
          dealt  with on the process's host system.  Both of the POSIX
          file privilege sets are supported.  The "GENERIC" format for
          a privilege attribute is either the string "EFFECTIVE=" fol-
          lowed by a comma separated list of privilege names for  pro-
          cess  privileges, or one of "FORCED=" or "ALLOWED=" followed
          by a comma separated list of privilege names, followed by  a
          slash  ('/') and the other of "FORCED=" or "ALLOWED=", again
          followed by a comma separated list of  privilege  names  for
          file privilege sets.

          Examples of privileges would be:

                  EFFECTIVE=DAC_READ_SEARCH,INF_NOFLOAT_SUBJECT,LIMIT
                  FORCED=MAC_READ,LIMIT/ALLOWED=MAC_READ,LIMIT,DAC_OVERRIDE

          The following privilege names are defined:

          ADMINallow  create/delete  of  hard  links  to  directories;
               bypass other system integrity/denial of service protec-
               tions (NOT MAC or DAC).

          CHOWNallow file user id to be changed; allow file  group  id
               to  be  changed  to  other  than  one  of the process's
               groups.

          FOWNERallows access normally restricted to file owner except
               access described under FSETID.




                                 April 26, 1992





                                     - 11 -


          KILL allow process to send a signal to another process  with
               different real/effective user id.

          SETFPRIV
               allow file privileges to be set.

          SETGIDallow process to change its real group id.

          FSETIDbypass the three conditions: 1) effective user id must
               match  file owner to change set-user-id or set-group-id
               mode bits, 2) effective group  id  or  a  supplementary
               group  id  must  match  the  file group to set the set-
               group-id mode bit, and 3) set-user-id and  set-group-id
               bits are cleared by a successful chown operation.

          SETUIDallow process to change its real user id or its  saved
               user id.

          DAC_READ_SEARCH
               allow DAC read or (for directories) search permission.

          DAC_OVERRIDE
               allow all DAC access (NOT file ownership, etc.)

          MAC_UPGRADE
               allow process to change an object sensitivity label  if
               and only if the new label dominates the existing label.

          MAC_DOWNGRADE
               allow process to  change an object sensitivity label if
               and  only if the new label is dominated by the existing
               label.

          MAC_LOCK
               bypass requirement that process have write access to  a
               file to set or release file record locks.

          MAC_READ
               allow MAC read access to an object.

          MAC_WRITE
               allow MAC write access to an object.

          MAC_RELABEL_SUBJ
               allow process to modify its own sensitivity label.

          INF_RELABEL_SUBJ
               allow information label change of a process.

          INF_RELABEL_OBJ
               allow information label change of an object.

          INF_NOFLOAT_SUBJ
               bypass automatic float of a process information label.



                                 April 26, 1992





                                     - 12 -


          INF_NOFLOAT_OBJ
               bypass automatic float os an object information label.

          AUDITallow write to audit trail

          AUDIT_CONTROL
               allow process to turn on/off auditing for itself;  also
               allow process to change its audit id.

          AUDIT_SET_EVENTS
               allow process to  change  its  list  of  events  to  be
               audited.

          ACCT allow system accounting changes

          LIMITallow resource limits to be exceeded.

          LOCK allow process parts to be locked in memory.

          MKNODallow a process to make special files  (character  spe-
               cial, block special, etc.)

          MOUNTallow a process to mount filesystems.

          CHROOTallow the change root operation.

          SHUTDOWN
               allow shutdown, reboot, etc.


          4.  Usage Example

          The following is one example of the use of the  TKM  service
          by  the  TNFS protocol.  This example is provided for illus-
          tration only, and does not constitute part of  the  protocol
          specification.   For  the  sake  of this example, the client
          machine supports file ACLs and file/process  privileges  for
          which  it  locally  provides  static mappings for the attri-
          butes.  Since its mappings are static, the  cookie  used  in
          the initialization request is constant across reboots (e.g.,
          0).  Both the client and server  implementations  route  all
          TKM  requests through a local TKM.  The client will initiate
          a TNFS filesystem  mount  and  issue  a  NFSPROC_STATFS  and
          NFSPROC_GETATTR call to the server [5].

          The client executes a mount system call to  mount  a  remote
          filesystem from the server.  During the set up for the mount
          request, the client  requests  its  local  TKM  to  issue  a
          TKMPROC_INIT  call  to  the  server's TKM.  In the call, the
          client  requests  service  for  ACLs   "VEND1,GENERIC"   and
          _________________________
          6.   Note these are standard  NFS  protocol  operations
          used for the sake of this example.




                                 April 26, 1992





                                     - 13 -


          FPRIVs/PPRIVs "VEND1,GENERIC" both owned by the client and a
          cookie  set  to  zero. The server replies with ACLs "VEND1",
          and FPRIVs/PPRIVs "VEND1"; from this reply the client  knows
          that each of the desired attributes are supported and can be
          transferred in format VEND1.  In this  example,  the  server
          sets  up  a  client handle describing the client, its attri-
          butes, and the attributes owner and format; this information
          is used to determine how to map attributes and to keep track
          of the cached mappings for the  client.  In  processing  the
          client init request, the server notes that this is the first
          request from the client so it requests its local TKM to make
          a TKM_INIT call to the client's TKM (zero cookie, FPRIVs and
          PPRIVs  "VEND1,GENERIC",  ACLs  "VEND1,GENERIC",  server  as
          owner).   The server's TKM sends the request to the owner of
          the attributes (in  this  case  the  client's  TKM)  setting
          itself  up with the remote TKM (FPRIVs/PPRIVs "VEND1",  ACLs
          "VEND1").

          Processing of the mount request continues  with  the  client
          issuing  a  NFSPROC_STATFS.  The client sets up its AUTH_SEC
          credential including a  tokenized  privilege  set.   If  the
          server  had  been rebooted by this point, it would recognize
          this as the first communication with this  client  and  ini-
          tiate  a  TKM_INIT  exchange.  In any event, the server next
          requests the canonical form of the PPRIV  "VEND1"  attribute
          from its local TKM.  The TKM contacts the owner of the PPRIV
          attribute getting a successful return of the expanded attri-
          bute.    The   server   then   can   finish  processing  the
          NFSPROC_STATFS call and reply  to  the  client.  The  client
          needs to perform no expanding of attributes in the response.

          The client then makes a NFSPROC_GETATTR call to the  server.
          Again  the server needs to expand the clients privileges; in
          this example the mapping has been cached,  so  there  is  no
          need  of  over-the-wire  service  from the remote TKM.  Upon
          receipt of the reply, the client needs to expand the ACL and
          FPRIV  attributes  in the returned attrstat.  This is accom-
          plished with a single TKMPROC_TTOA request to  the  server's
          TKM.

          In this scenario, if either the client  or  server  reboots,
          they will discover the constant value for the initialization
          cookie during the subsequent initialization exchange,  which
          will  allow  the peer TKM to preserve any state knowledge of
          the client (e.g., cached attribute mappings).  If,  however,
          either  host  did  not  have  static  attribute  mapping the
          (changed) cookie would force the flushing of the peer  TKM's
          knowledge of the remote host.

          Note that a TKM is free to age and  discard  token/attribute
          bindings that it has received from a remote TKM without ini-
          tiating a TKMPROC_INIT exchange, since it can  just  reissue
          an appropriate TKMPROC_TTOA request if it needs that partic-
          ular token/attribute binding again in  the  future.   A  TKM



                                 April 26, 1992





                                     - 14 -


          cannot, however discard any of its own token/attribute bind-
          ings that it has distributed to a remote TKM without  ensur-
          ing  that  it  generates a TKMPROC_INIT request prior to the
          next communication that involves sending a token.

          If the client goes down,  after  reboot  it  would  need  to
          remount the filesystem.  This act, depending on the value of
          the initialization cookie, results in a clean slate for  the
          client.   If  the  server goes down, the next client request
          will force an initialization from the server to  the  client
          and consequently from the client to the server.

          5.  Some Rationale and Comments

          Note, this section is not strictly part of the protocol, but
          is provided to help avoid the need to recreate the arguments
          for particular design choices.  Unfortunately  this  section
          was added after much of the discussion was lost to history.

          There was some discussion as to whether the sender  (of  the
          tokenized  attribute)  should send the local token and allow
          the receiver to do the mapping, or whether the sender should
          do  the  mapping  first,  and then send the receiver's token
          instead.  For purposes of this protocol,  the  sender  shall
          always send the local token, and leave it up to the receiver
          to perform the mapping.

          An attribute-to-token map operation  is  supported  for  the
          specific  case in which a system allows another system to be
          the map owner, and furthermore does not know  the  map  con-
          tents  itself.   This  scenario could arise, for example, in
          the case of a diskless client that receives  a  dynamic  map
          from the server.  In this case, the sender would contact the
          map owner to find out the sender's token for a given  attri-
          bute  (which may well be used for more than network communi-
          cation), and then send that token on to the receiver as nor-
          mal.   The  receiver  would  perform the normal operation of
          mapping the token to an attribute with the map owner.

          There is a need for each TKM to "remember"  which  peers  it
          has  communicated with, so as to avoid unnecessary initiali-
          zation exchanges.  This memory, however,  need  not  persist
          across  reboots,  and  if  a TKM has not communicated with a
          particular peer in "a long time" it could choose to "forget"
          that  peer.   Doing  so would imply the need to have an ini-
          tialization phase the next time the two attempted to commun-
          icate again.

          6.  Acknowledgments

          I would like to acknowledge the contributions of  Dave  Sum-
          mers, who collaborated extensively on early versions of this
          document.  I would also like to acknowledge the  significant
          contributions   made   by   members  of  the  IETF/TSIG  NFS



                                 April 26, 1992





                                     - 15 -


          Subcommittee; their significant efforts are reflected in the
          document in its current form.

          References


          Woodward90a.
               John P. L. Woodward,  "Compartmented  Mode  Workstation
               Labeling:  Encodings Format,"  (DDS-2600-6216-90), DIA,
               August 1990.  Also known as MITRE labeling format

          Woodward89a.
               John P. L. Woodward,  "Compartmented  Mode  Workstation
               Labeling:  Source Code and User Interface Guidelines,"
               (DDS-2600-6215-89), DIA, August 1989.   Also  known  as
               MITRE labeling software









































                                 April 26, 1992



