When compiling an RPC server
(tsp_stub_server from TSP [https://savannah.nongnu.org/projects/tsp])
on a Fedora 7 box I end-up having the following error
Cannot register service: RPC: Authentication error; why = Client credential too weak
I should start rpcbind using -i "Insecure" mode
in order to be able to start my rpc server.
(or I may run the server as root user, but I don't want that)
the fact is this behavior is not compatible with
older rpc portmapper.
You may consult sibling bug on
https://savannah.nongnu.org/bugs/index.php?20936
Part of the problem seems to be that the documentation is inaccurate. Not only does the communication need to be over the loopback address, but the source port must be a "reserved" port, which is causing some confusion. I'm not sure if the documentation or the code is incorrect (i.e. what is the real desired behavior). But it is a big restriction not to allow non-root programs to register a service.