07-10-2021, 01:40 PM
(07-03-2021, 02:16 PM)KC9UDX Wrote: Does anyone know how to get Linux (Debian, Manjaro, etc.) to cooperate with a NetBSD NIS server?
The only thing that doesn't work is user passwords. Linux clients recognise NIS users but will not authenticate them. I do not have this problem with NetBSD or Solaris clients. Nobody else seems to run into this.
Hello,
Have you check on the servers (primary and secondary) the security options :
- 'securenets' to have the address of you subnetwork to serve ?
- 'Makefile' with 'MINUID' and 'MINGID' because you could have some users with UID or GID below this values that block the authentication ?
- in the 'Makefile', that the 'passwd' map is really exported (I'm suppose 'yes' ) ?
- '/etc/yp.conf' where the domain must be present and the NIS servers declared using the Ip address NO the 'hostname'. With the 'hostname', it could work, but it's very dependent of the network, the client's configuration, etc., believe me : use the Ip address;
- '/etc/ypserv.conf' that never I have modified;
- '/etc/ypserv.securenets' that never I have modified;
- '/etc/idmapd.conf' that must contain something like 'Domain = <your domain's name>', without that there is no authentication.
I hope that could help because, it's the most common troubles.