LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   YPBIND, YPSERV and /var/lib/securenets (https://www.linuxquestions.org/questions/linux-server-73/ypbind-ypserv-and-var-lib-securenets-4175430478/)

satishbedi 10-04-2012 08:34 AM

YPBIND, YPSERV and /var/lib/securenets
 
The error coming from ypserv after adding the following line in /var/yp/securenets and rebooting Fedora 16.

255.255.255.128 158.125.170.0

After starting YPSERV the follwoing error was in /var/log/messags:

ypserv[1740]: refused connect from "158.125.170.123" :40231 to procedure ypproc_match (co.lab,shadow.byname;-1)

ypbind would not start.

Any help would be appreciated.

Satish

Reuti 10-10-2012 09:24 AM

Maybe you need to allow in /etc/hosts.allow:
Code:

ypbind, ypserv, yppasswdd: 158.125.170.0/255.255.255.128 \
                                127.0.0.0/255.0.0.0

and in securenets another line:
Code:

255.0.0.0        127.0.0.0


All times are GMT -5. The time now is 08:59 PM.