The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Configure NIS Client for Solaris7 x86 nkkirubakaran SUN Solaris 2 12-14-2007 01:29 AM
configure DNS server on solaris asafwat SUN Solaris 8 01-08-2007 06:17 AM
configure client for internet ! alamlinux SCO 2 08-10-2006 09:41 PM
How to configure a Redhat 9.0 as NIS+ client alexhon Linux 3 04-20-2005 05:09 AM
Howto configure AIX DHCP Client ? zumbi IP Networking 3 10-26-2001 10:08 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-14-2007
Registered User
 

Join Date: Dec 2007
Posts: 2
Thumbs up How to configure a NIS client bound to the NIS server in another subnet?

Hi, all.

I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,

1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01

2) execute `domainname` to set local NIS domain to the domain of the NIS server.

3) edit /etc/defaultdomain to set local NIS domain to the domain of the NIS server.

4) initialize the system, ypint -c , select nserver01 as the NIS master server,

5) cp /etc/nsswitch.nis to /etc/nsswitch.conf

6) run /usr/lib/netsvc/ypstart

after these steps,
run ypwhich on the client, output shows that it binds to nserver01 already.

However, when run command ypwhich -m, output shows all maps not found as "no such maps in servers' domain".

bash-2.05$ ypwhich
nserver01
bash-2.05$ ps -ef | grep yp
root 28314 1 0 16:37:09 ? 0:00 /usr/lib/netsvc/yp/ypbind
fdsun 2894 2788 0 16:59:22 pts/2 0:00 grep yp
bash-2.05$ ypwhich -m
mail.byaddr ????????
ypwhich: Can't find the master of mail.byaddr. Reason: no such map in server's
domain.
mail.aliases ????????
ypwhich: Can't find the master of mail.aliases. Reason: no such map in server'
s domain.
auto_direct ????????
ypwhich: Can't find the master of auto_direct. Reason: no such map in server's
domain.
auto.home ????????
ypwhich: Can't find the master of auto.home. Reason: no such map in server's d
omain.
auto.master ????????
ypwhich: Can't find the master of auto.master. Reason: no such map in server's
domain.
timezone.byname ????????

.....

Can anybody have any suggestions on this ?

Thanks。
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-17-2007
joerg's Avatar
Registered User
 

Join Date: Jan 2002
Location: Germany
Posts: 167
Hi,
is it possible to post the nsswitch.conf
Thanks joerg
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0