RPC: Authentication error; why = Client credential too weak
OS: RHEL 6.2 , 2.6.32-220.el6.i686
I created a service using RPC and is compiled using rpcgen and gcc.
When I try to run the service I get the following Error :
Cannot register service: RPC: Authentication error; why = Client credential too weak
I restarted rpcbind with argument -i. Now able to register the RPC process.
man page shows that -i meaning insecure mode. Do I need to rewrite the program to have secure registration? If so any example please.
what causes insecure mode?
Last edited by harig; 03-20-2013 at 01:20 AM.
|