freebsd-dev/include/rpcsvc
Bill Paul 74e4b87eb6 There are a few small additions to the protocol to make it
easier to use in mixed environments:

- Add three new members to the request structure:

  - a filename specification
  - a database type specification
  - a system byte prder specification

  These allow the client to ask the server for a particular type of
  database (Berkeley DB hash/btree/recno, GNU GDBM, dbm, ndbm, etc...)
  and get back a meaningful error if the server doesn't support it.
  The byte order spec is needed if the database type is byte order
  sensntive. You don't, for example, want to read an ndbm database
  from a big endian machine on a little endian machine (the ndbm code
  will explode). The filename spec lets the client handle things like
  ndbm which uses two seperate files per database (foo.dir and foo.pag).
  The client can ask for each half, one at a time.

- Add a list of database types and byte order values. Each list has
  a wildcard 'ANY' entry which lets the client ask for whatever the
  server supports. (XFR_ENDIAN_ANY is useful with the Berkeley DB hash
  method for instance, since it isn't byte order sensitive.)

- Add two newserver failure codes: XFR_DB_TYPE_MISMATCH and
  XFR_DB_ENDIAN_MISMATCH. The server uses these to tell the client
  that it doesn't support the requested type/byte order.

These changes were made at the suggestion of Thorsten Kukuk, the
current maintainer of the Linux ypserv distribution. This allows
Linux and FreeBSD NIS servers to use the same ypxfrd protocol and
avoid accidentally exchanging incompatible map files.
1996-07-04 02:08:17 +00:00
..
bootparam_prot.x Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
klm_prot.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
Makefile Now that Peter has been nice enough to bail me out of my last little 1996-06-05 03:47:18 +00:00
mount.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
nfs_prot.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
nlm_prot.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
rex.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
rnusers.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
rquota.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
rstat.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
rwall.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
sm_inter.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
spray.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
yp_prot.h Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
yp.x Add structure and procedure definitions for NIS v1. (This information 1996-02-26 02:22:53 +00:00
ypclnt.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
yppasswd.x Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
ypxfrd.x There are a few small additions to the protocol to make it 1996-07-04 02:08:17 +00:00