Hi there,
I am setting up a small subnet with Mandrake 7 (glibc-2.1.2, ypserv-Version:
1.3.9-2mdk and ypbind-Version: 3.3-23mdk ) and I am trying to configure
NIS.
I read the HOWTO and the part about NIS in the Network Administrator's Guide
of the Linux Documentation Project but still it doesn't work.
I set up the server,as described in the HOWTO. I do not change the
securenets
and the ypserv.conf files and in the Makefile I delete all the entries in
the
[all] section, apart from 'passwd group hosts'. Then, with make I get:
[root@esee3 yp]# make
gmake[1]: Entering directory `/var/yp/eseenis'
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
/bin/sh: @/usr/bin/gawk: No such file or directory
Updating group.bygid...
/bin/sh: @/usr/bin/gawk: No such file or directory
Updating hosts.byname...
Updating hosts.byaddr...
gmake[1]: Leaving directory `/var/yp/eseenis'
First question: What is that @/usr/bin/gawk file?
I go to the eseenis directory (eseenis: the name of the NIS domain) and the
map files are there.
In yp.conf I have the entry:
domain eseenis server esee3.cv.ic.ac.uk
Now, I restart ypbind ( I have also used ypset to set the server but didn't
work) and I get:
[root@esee3 /root]# /etc/rc.d/init.d/ypbind restart
Shutting down NIS services: [ OK ]
Binding to the NIS domain... [ OK ]
Listening for an NIS domain server: ..........can't yp_bind: Reason: Domain
not bound
[root@esee3 /root]#
Of course I get the same message with ypcat ypmatch or ypwhich.
Now rpcinfo gives me (from all the PCs around the subnet):
[root@esee3 /root]# rpcinfo -u esee3 ypserv
program 100004 version 1 ready and waiting
program 100004 version 2 ready and waiting
[root@esee3 /root]# rpcinfo -u esee3 ypbind
program 100007 version 2 ready and waiting
What am I missing here? Please help, cause I am totally lost!
Stelios