nsweb
07-11-2005, 05:20 PM
Hi,
I am relatively new to linux, and am working on setting up NIS. Currently I have Debian Linux installed for testing on a server and a client. I have been reading various tutorials online on how to set up NIS.
Right now, the client can connect to the server, but when I run the command ypcat passwd, I get the following error: "No such map passwd.byname. Reason: No such map in server's domain".
On the server, when ypserv is running as ypserv -d I get the following information when I run ypcat passwd on the client.
ypproc_all_2_svc(): [From: 10.0.3.5:629]
domain = "nis.ns.lan"
map = "passwd.byname"
connect from 10.0.3.5
ypdb_close_all() called
ypdb_open("nis.ns.lan", "passwd.byname")
gdbm_open: GDBM Error Code #3
-> Exit from ypproc_all without sending data.
I have run make -C /var/yp, and it produces the following output:
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/nis.ns.lan'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/yp/nis.ns.lan'
make: Leaving directory `/var/yp'
I can't figure out what I'm doing wrong.
Thanks In Advance,
Jason
I am relatively new to linux, and am working on setting up NIS. Currently I have Debian Linux installed for testing on a server and a client. I have been reading various tutorials online on how to set up NIS.
Right now, the client can connect to the server, but when I run the command ypcat passwd, I get the following error: "No such map passwd.byname. Reason: No such map in server's domain".
On the server, when ypserv is running as ypserv -d I get the following information when I run ypcat passwd on the client.
ypproc_all_2_svc(): [From: 10.0.3.5:629]
domain = "nis.ns.lan"
map = "passwd.byname"
connect from 10.0.3.5
ypdb_close_all() called
ypdb_open("nis.ns.lan", "passwd.byname")
gdbm_open: GDBM Error Code #3
-> Exit from ypproc_all without sending data.
I have run make -C /var/yp, and it produces the following output:
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/nis.ns.lan'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/yp/nis.ns.lan'
make: Leaving directory `/var/yp'
I can't figure out what I'm doing wrong.
Thanks In Advance,
Jason