I checked the domainname and they all agree.
I tried 'su - test' on the client which *worked* to my surprise.
/var/log/auth.log on the client is such:
Jul 12 18:51:14 client login[12661]: FAILED LOGIN (1) on '/dev/pts/1' from 'localhost' FOR 'test', Authentication failure
/var/log/authlog on the server is such:
Jul 12 18:50:41 server rpcbind: connect from 192.168.0.38 to getport/addr(ypserv)
I find this very troubling; /var/log/messages on the client:
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): nameserver '192.168.0.25'
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): domain name 'test.net'
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): state changed bound -> bound
Where 'test.net' comes from and why domainname reports not 'test.net' but the correct domain name is a mystery at this point. The correct domain name is set in /etc/yp.conf
/var/log/kern.log on the client is very old and doesn't show anything related
I edited /etc/resolv.conf and changed test.net to the correct domain; NetworkManager apparently put this in there and probably will again; I'll have to investigate NetworkManager.
But since changing that, I restarted nis and rpcbind and now /var/log/auth.log gives more information:
Jul 12 19:15:44 client login[14820]: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty=/dev/pts/1 ruser= rhost=localhost user=test
Jul 12 19:15:47 client login[14820]: FAILED LOGIN (1) on '/dev/pts/1' from 'localhost' FOR 'test', Authentication failure
I tried 'su - test' on the client which *worked* to my surprise.
/var/log/auth.log on the client is such:
Jul 12 18:51:14 client login[12661]: FAILED LOGIN (1) on '/dev/pts/1' from 'localhost' FOR 'test', Authentication failure
/var/log/authlog on the server is such:
Jul 12 18:50:41 server rpcbind: connect from 192.168.0.38 to getport/addr(ypserv)
I find this very troubling; /var/log/messages on the client:
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): nameserver '192.168.0.25'
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): domain name 'test.net'
Jul 12 17:50:39 client NetworkManager[337]: <info> [1626130239.5545] dhcp4 (enp3s0): state changed bound -> bound
Where 'test.net' comes from and why domainname reports not 'test.net' but the correct domain name is a mystery at this point. The correct domain name is set in /etc/yp.conf
/var/log/kern.log on the client is very old and doesn't show anything related
I edited /etc/resolv.conf and changed test.net to the correct domain; NetworkManager apparently put this in there and probably will again; I'll have to investigate NetworkManager.
But since changing that, I restarted nis and rpcbind and now /var/log/auth.log gives more information:
Jul 12 19:15:44 client login[14820]: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty=/dev/pts/1 ruser= rhost=localhost user=test
Jul 12 19:15:47 client login[14820]: FAILED LOGIN (1) on '/dev/pts/1' from 'localhost' FOR 'test', Authentication failure