description Matt Castellain 12/15/2008 01:58:13 UTC
Problem description:I can't login to my machine with NIS, it gives me "unable to help authenticate" again - for some reason I can't login as kernel either, but I can ssh into Box as root where I find : "No such map passwd.byname. Reason: NIS internal error"I've tried a lot of things, thought about it, and then looked through all the forum posts I could find, but I'm still having trouble logging in.
comment 1 Vitezslav Chronek 12/15/2008 12:59:28 UTC
Hello,Have you checked if your NIS is configured correctly? ssh to the device as root and check if ypbind is running /etc/sysconfig/network (the value of the NISDOMAIN variable), the output of the domain name command (should be the same as NISDOMAIN) /etc/yp.conf (again, the same domain value and start the appropriate server). Try the commandypwhat (you really depend on the server from yp.conf, surely the server is running ypserv?). Check these firewall settings on the client and computer connected to the Internet (try to disable them for a reasonable amount of time).it's hard to tell what's wrong, i want to try the above and let me see the details.
comment 2 Matt Castellain 2008-12-15 13:57:12 UTC
(In response to comment #1)> Hello,>> Have you checked if your NIS is configured correctly? ssh as root on the learning device> and obviously check if ypbind /etc/sysconfig/network is running (NISDOMAIN value> variables), domain name command output (should end with NISDOMAIN) /etc/yp.conf> set up the same (domain value and restore server again). Try yp what command you (are> Or rather connected to the server from yp.conf, is it possible to run ypserv on the server?).> Also check the firewall configuration on the client and the machine (try temporarily disabling it).>> It's hard to say what's wrong, please try the above and find out more about me.[[email protected]~]# Plan statusypbind ypbind (pid 2392) works...[[email protected] ~]# chat /etc/sysconfig/networkNETWORK=yesHOSTNAME=phoenix.coldnuke.dyndns.orgNISDOMAIN=cold nuclear bomb[[email protected]~]#hamster /etc/yp.conf# generated by /sbin/dhclient-scriptColdnuke domain hosting 192.168.1.4[[email protected]~]# ypwhat192.168.1.4[[email protected] ~]# iptables status specialistTable: FilterINPUT chain (ACCEPT policy)destination number variant variant source destinationNEXT string (ACCEPT policy)target num prot opt source targetEXIT chain (ACCEPT policy)target num prot opt source slot[[email protected]~]# ip6tables list statusip6tables: Firewall is down.[[email protected] ~]# password ypcatThere is no such map passwd.byname. Reason: NIS internal error.I still can't login.On server:[[email protected] etc]# ypserv solution statusypserv (pid 21083) should work...The server's firewall is set to allow everything on the small town network, and turning them off at the same time had no effect.