Solaris 10 NIS Client

Hi all,

Recently i have implemented NIS functionality in solaris 10 and i have created server and client with user in server side by giving

useradd -d /export/home/user1 -m -s /bin/sh user1

after that I went to /var/yp dir and give /usr/ccs/bin/make so that it will refelect to client machine.

1.problem

Now when i try to login with this user1 i can login but whenever i tried to careate any dir or file i get

bash-3.00$ mkdir a
mkdir: Failed to make directory "a"; Permission denied

i dnt why it is happening .

2.Problem

Also i can directly login the user but whenever i tried to login with su then i get

bash-3.00$ su - user3
Password:
su: No directory!
bash-3.00$
bash-3.00$

It is not able to find the dir . here is my auto_home file in server as well client where SS09 is server name

more /etc/auto_home
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_home 1.6 03/04/28 SMI"
#
# Home directory map for automounter
#
+auto_home

  • SS09:/export/home/&

any help or suggestion will be appreciated.
regards
esungoe

It looks like the Solaris 10 machines aren't mapping the userIDs
correctly. All machines belong to the same NIS domain. I suspect NFSv4,
but can't be sure. Are you doing something wrong here?

Make sure you're NFSv4 mapid domain matches (client and server).

Eric Kustarz's Weblog

You can override the default in /etc/default/nfs, and can check what
your current one is /var/run/nfs4_domain.

Both the client and server have same domain name .So domainname problem should nt be exist