Unix Authentification
Unix-Style Authentication
Unix style authentication has been added to the first very simple
RPC hello world program. Remember that this form of RPC authentication
is very weak and easily spoofed, but it does provide a means for at
least passing as data who the caller is.
Sample Procedures
The client stub and the server stub are identical to those created
by RPCGEN for the initial hello world program. Below I am only
including the client main program and the server procedure since
they are the only one's that are different.
Makefile - used to compile and link client
and server.
firstmain.c - client main program.
firstsrvr.c - the server procedure
that returns "Hello world". The server was generated with the
"-DDEBUG" flag turned on during compile, so debugging output goes
to the screen.