How to configure a NIS client bound to the NIS server in another subnet?


 
Thread Tools Search this Thread
Operating Systems Solaris How to configure a NIS client bound to the NIS server in another subnet?
# 1  
Old 12-14-2007
MySQL 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。
# 2  
Old 12-17-2007
Hi,
is it possible to post the nsswitch.conf
Thanks joerg
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

User authentication failed while log in Solaris 8 client on Linux NIS server.

Based on the NIS migration tests I did and another question I posted earlier on. https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html I tried to downgrade NIS linux encryption to DES to support solaris connection. So I modified /etc/pam.d/system-auth as below, password... (0 Replies)
Discussion started by: bestard
0 Replies

2. Shell Programming and Scripting

unable to configure NIS client server

Dear all, I am using solaris 10 OS. I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error. Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Discussion started by: bhargav90
2 Replies

3. UNIX for Dummies Questions & Answers

Help with NIS client

Hi All, I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory. ... (3 Replies)
Discussion started by: samnyc
3 Replies

4. Shell Programming and Scripting

Validating that the NIS and NIS+ services are disabled

I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies

5. Solaris

How to Configure NIS Client for Solaris7 x86

HI Unix Gurus i am new to Solaris OS, i want to configure NIS CLient for Solaris 7 x86 Machine. i need what are the step and how to configure it in that machine.. please let me know Thanks in Advance Regards ..kiruba.. (2 Replies)
Discussion started by: nkkirubakaran
2 Replies

6. Solaris

How to configure NIS in sun 10

Hi...., I'm having two intel system.both the system i installed sun sol 10.now i wan't to configure NIS .Pls tell me step by step configuration for server and client.pls Help me any body......... :mad: Rgds, Jay (4 Replies)
Discussion started by: rjay.com
4 Replies

7. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

8. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

9. Linux

configure NIS in RedHat 9.0

Hi All i want to configure NIS on RedHat 9.0. pls help me i need the configure file pls mail this configure files with regards sudeendra (0 Replies)
Discussion started by: sudeendra
0 Replies

10. Red Hat

How to configure a Redhat 9.0 as NIS+ client

I would like to know how to configure a Redhat 9.0 as NIS+ client. I have seen the post of larry, but it is not enough information for me to do the configuration. Could anyone tell me how to do it? Please help! Thank you! (3 Replies)
Discussion started by: alexhon
3 Replies
Login or Register to Ask a Question