PDA

View Full Version : [SOLVED] (K)ubuntu 16.04 NIS client does not work after installing



Henk_Bos
April 25th, 2016, 08:44 AM
With a clean install of (K)ubuntu 16.04 i am not able to login through NIS.
When I install NIS client yptest gives the richt resluts. How ever when I reboot the login screen does not revert tot de NIS client login.
After login with de local user I noticed that yptest does not work, it gives the error 'can not connect to ypbind'.
I have the impression that the required NIS services are not properly started through systemd at boot.

doherty
April 26th, 2016, 09:45 PM
I was having the same issue. Take a look at https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/1558196

The solution is to configure systemd to invoke rpcbind rather than allowing nis.service to do it: sudo /bin/systemctl add-wants multi-user.target rpcbind.service

Henk_Bos
April 27th, 2016, 12:23 PM
doherty,
thank you very much, this simple command does the trick!