Hi all,
I am trying to configure Autofs, Nis, Nfs on a subnet of my network
but I encounter some problems. I have configured my network following
the document on this url
http://penguin.epfl.ch/athome/.
I have just changed some little things. I don't want to use amd nor
/etc/auto.local and /etc/auto.samba and only local log on are
authorized on the server, so SDEV01 is not configured as a NIS server
( just a NIS server ).
So, let's suppose I got one server SDEV01, one client WDEVJT01, one
user vincent and both systems are working with mandrake 9.1.
On my server, I :
- configured all my config files and
- touch /etc/ethers /etc/bootparams /etc/networks
- /usr/lib/yp/ypinit -m
- I started daemons ypserv, yppasswdd
- exportfs -r
- started daemons nfs and nfslock
On the client, I :
- choosed immediately to configure the client as a NIS client during
the setup,
so
- domainname DDEV00 ( this is well configured )
- I removed /home and all /etc/auto.home and /etc/auto.master.
- /etc/yp.conf, /etc/nsswitch.conf and /etc/sysconfig/network are
correct
- I started daemons ypbind and autofs.
So, you can find all my server config files on this url (
http://members.chello.be/cr47898/ ).
So when I do some little checks as
ypwhich
ypcat -k netgroup
ypcat -k passwd
rpcinfo -p sdev01
....
all these commands work and I can well log in BUT the problem I
encountered is I receive this error message :
no directory /home/<username>
Logging in with home ="/" .
So, if somebody could help me, I would appreciate it because I am
already searching since 3 days ...
Thanks
Vincent.