Linux vs NetBSD NIS passwords
#2
(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' ) ?
On the Linux client, check :
  • '/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.
After, try to use only the master NIS server and a Linux client, shutdown the secondary NIS server. Restart the service on the both systems. Look at the logs, 'dmesg' outputs. I've used Sun Solaris NIS server and SUN Solaris and Linux clients with success.

I hope that could help because, it's the most common troubles.
  Reply


Messages In This Thread
Linux vs NetBSD NIS passwords - by KC9UDX - 07-03-2021, 02:16 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-10-2021, 01:40 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-10-2021, 05:29 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-10-2021, 10:31 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-12-2021, 01:50 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-12-2021, 02:55 AM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-12-2021, 06:40 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-12-2021, 09:15 AM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-12-2021, 09:23 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-12-2021, 06:06 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-13-2021, 01:40 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-13-2021, 04:03 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-13-2021, 04:00 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 07-14-2021, 10:18 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 07-14-2021, 08:21 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-04-2021, 03:20 PM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-06-2021, 02:48 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 08-18-2021, 04:10 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-18-2021, 10:56 AM
RE: Linux vs NetBSD NIS passwords - by KC9UDX - 08-18-2021, 03:31 PM
RE: Linux vs NetBSD NIS passwords - by Gribouille - 08-19-2021, 02:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  xz package is severely affected with injected code in some linux distributions. zetabeta 0 396 03-29-2024, 02:57 PM
Last Post: zetabeta
  Has anyone successfully flashed an Ox64 (128Mb) from linux? slondr 3 2,276 02-12-2024, 12:50 AM
Last Post: Pavlos1
  [Article] Ox64 BL808 RISC-V SBC: Booting Linux and (maybe) Apache NuttX RTOS lupyuen 2 1,010 11-04-2023, 08:41 PM
Last Post: lupyuen
  Possible new Pine64 product - Pine Blue Ray DVD Linux tv box Omnios 5 1,819 07-24-2023, 03:21 PM
Last Post: Omnios
  [Article] Booting RISC-V Linux on Star64 JH7110 SBC lupyuen 3 1,728 07-05-2023, 02:04 AM
Last Post: balbes150
  [Article] Inspecting the RISC-V Linux Images for Star64 SBC lupyuen 3 1,558 06-29-2023, 05:09 AM
Last Post: balbes150
  Concerns about Linux future Chief 15 7,198 01-20-2023, 05:23 AM
Last Post: thaleszop
  Online Linux Terminals palak231 1 1,078 09-13-2022, 01:50 PM
Last Post: anonymous
  Linux desktop on a Snapdragon 870 phone. Vasant 0 1,338 06-23-2022, 12:40 PM
Last Post: Vasant
  Linux support for RK3588 adiboc 0 3,506 02-10-2022, 01:16 PM
Last Post: adiboc

Forum Jump:


Users browsing this thread: 3 Guest(s)