NIS Client does not bind to NIS enabled IdM

Latest response

Here is my situation:
- I've setup an IdM on top of a RHEL 7.1 Server, following the "Red Hat Enterprise Linux 6
Identity Management Guide" so that it is NIS enabled ;
- I've created a new RHEL 7.1 Workstation, with a local user, and added a network authentication through NIS, using the IdM IP address.

The goal is to validate a path to migrating a very old NIS server (with 40 RHEL workstations authenticating to it) into a brand new IdM.

The workstation does not bind.

/etc/yp.conf :

domain WORKGROUP server ***.***.***.214

when I try :

#service ypbind start

I get:

Redirecting to /bin/systemctl start  ypbind.service
Job for ypbind.service failed. See 'systemctl status ypbind.service' and 'journalctl -xn' for details.

then :

#systemctl status ypbind.service
ypbind.service - NIS/YP (Network Information Service) Clients to NIS Domain Binder
   Loaded: loaded (/usr/lib/systemd/system/ypbind.service; enabled)
   Active: failed (Result: exit-code) since jeu. 2015-12-10 12:08:05 CET; 4min 8s ago
  Process: 3954 ExecStartPost=/usr/libexec/ypbind-post-waitbind (code=exited, status=1/FAILURE)
  Process: 3949 ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS (code=exited, status=0/SUCCESS)
  Process: 3946 ExecStartPre=/usr/sbin/setsebool allow_ypbind=1 (code=exited, status=0/SUCCESS)
  Process: 3942 ExecStartPre=/usr/libexec/ypbind-pre-setdomain (code=exited, status=0/SUCCESS)
 Main PID: 3949 (code=exited, status=0/SUCCESS)
   Status: "Processing requests..."

déc. 10 12:07:19 TESTING-MACHINE systemd[1]: Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder...
déc. 10 12:07:19 TESTING-MACHINE setsebool[3946]: The allow_ypbind policy boolean was changed to 1 by root
déc. 10 12:08:05 TESTING-MACHINE systemd[1]: ypbind.service: control process exited, code=exited status=1
déc. 10 12:08:05 TESTING-MACHINE systemd[1]: Failed to start NIS/YP (Network Information Service) Clients to NIS Domain Binder.
déc. 10 12:08:05 TESTING-MACHINE systemd[1]: Unit ypbind.service entered failed state.

Any pointer on how to get this thing working would greatly appreciated.



Hi Yves,

NOTE: this may or may not help you...

Did you have the /etc/yp.conf and /etc/sysconfig/network directives set?

/etc/yp.conf excerpt: see man page, but I see you are using the IP address.

domain [nis_name] server [nameof_nis_master]

And /etc/sysconfig/network see


see the remainder of the steps in see

I'm hoping this helps...

Also, check the log files for any clues. Did you also set firewalld to allow access?

Just curious, can the system see DNS? see James' comments at that discussion.

Thanks much - it was indeed helpful (looks like RHEL7 has trouble when IP is used - perhaps trying to resolve and timing out) - using the DNS FQDN in /etc/yp.conf seems to have helped.

BTW, is not accessible to me. Not sure why?

(Mine was not related to IDM though)

even i am facing same issue

Hi Rajesh,

As a beginning step, try the suggestion I offered to the original poster of this thread, please let us know how it goes. Examine this specific discussion and go through what everyone mentioned and the things I mentioned. We don't have any idea at the moment the specifics behind your example of this issue