RedHat EL4 NIS server, Solaris 10 Client - login & automount problems
Good day,
I'm a NIS newbie (catching the train better late than never, I guess) and have configured my X4100 with RedHat EL4 as my NIS server. I don't have any slaves yet, but I've configured a Solaris 10 box as a cllient. I essentially only want to share passwd, group, alias and auto_home information.
To make thiis brief, I can ssh onto the client with a uname/passwd only defined on the server and can log in successfully, but my /home never gets auto mounted. In fact the client box complains:
mapomme:~ jfilla$ ssh nisuser@stagec1
Password:
Last login: Thu Jan 18 17:36:17 2007 from 10.10.50.36
Could not chdir to home directory /home/nisuser: Permission denied
Sun Microsystems Inc.SunOS 5.10Generic January 2005
-bash: /home/nisuser/.bash_profile: Permission denied
and on top of that my NIS server box complains:
Jan 18 16:55:36 germany ypserv[21474]: refused connect from 10.10.10.110:35420 to procedure ypproc_match (NISDOM,user_attr;-4)
Jan 18 16:55:36 germany ypserv[21474]: refused connect from 10.10.10.110:35423 to procedure ypproc_match (NISDOM,publickey.byname;-4)
Jan 18 16:55:40 germany ypserv[21474]: refused connect from 10.10.10.100:36153 to procedure ypproc_match (NISDOM,publickey.byname;-4)
Jan 18 16:57:18 germany ypserv[21474]: refused connect from 10.10.10.100:32807 to procedure ypproc_match (NISDOM,user_attr;-4)
Jan 18 16:57:21 germany ypserv[21474]: refused connect from 10.10.10.100:36158 to procedure ypproc_match (NISDOM,project.byname;-4)
Jan 18 17:00:40 germany ypserv[21474]: refused connect from 10.10.10.100:36160 to procedure ypproc_match (NISDOM,publickey.byname;-4)
Jan 18 17:02:32 germany ypserv[21474]: refused connect from 10.10.10.110:35735 to procedure ypproc_match (NISDOM,publickey.byname;-4)
Jan 18 17:05:10 germany ypserv[21474]: refused connect from 10.10.10.100:32807 to procedure ypproc_match (NISDOM,user_attr;-4)
Jan 18 17:05:13 germany ypserv[21474]: refused connect from 10.10.10.100:36168 to procedure ypproc_match (NISDOM,project.byname;-4)
Here is my nsswitch.conf on my Sol10 client:
# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd:files nis
group:files nis
# consult /etc "files" only if nis is down.
hosts:files dns
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:files dns
networks:files
protocols: files
rpc:files
ethers:files
netmasks:files
bootparams: files
publickey: files
netgroup:files nis
automount: files nis
aliases:files nis
# for efficient getservbyname() avoid nis
services:files nis
printers:user files nis
auth_attr: files
prof_attr: files
project:files
Is it realistic to have a RH NIS server and a Sol10 client? It seems the Sol10 client wants info from maps never generated by (user_attr etc.) RedHat. What do i need to do to make this work.
Thanks folks,
Joe

