Sponsored Content
Full Discussion: NIS trouble
Top Forums UNIX for Advanced & Expert Users NIS trouble Post 11453 by wizard on Wednesday 5th of December 2001 03:17:47 PM
Old 12-05-2001
When I said re-init nisserver1, I just meant re-init the NIS environment on it. If you clear out the old maps in /var/yp/binding/DOMAIN_NAME (DOMAIN_NAME = Your NIS domain) directory on nisserver1 and run ypinit -s MASTER_SERVER_NAME where MASTER_SERVER_NAME is the name of the NIS master configured in the NIS maps. This will set the machine up as a new NIS slave server with a fresh copy of the maps from the NIS master. You have to remove the old binding dir before ypinit -s will run for a re-init.

If you don't want to re-init NIS on nisserver1, then depending on which version of UNIX you are running, it is possible to specify which NIS server to bind to. For instance, on Solaris you run ypinit -c and specify a search order the NIS servers for each client. This creates a ypservers file /var/yp/binding/DOMAIN_NAME where DOMAIN_NAME is the NIS domain name. You can edit this file to add/delete/modify NIS servers. If you remove the file completely, the ypbind daemon starts as a broadcast daemon by default.

This behaviour for NIS on most flavors of UNIX I've worked on. If for some reason the flavor of UNIX you are using doesn't support ypinit -c (SCO for instance), you must start ypbind with the -ypsetme flag and use ypset to manually assign an NIS server.

If you tell me what UNIX OS you're running, I can give you specific instructions if you need them.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

Hello all, I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies

2. IP Networking

differences nis nis+

Hello together. Is there someone who is able to explain me the differences between NIS and NIS+. thanks in advance joerg (2 Replies)
Discussion started by: joerg
2 Replies

3. 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

4. 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

5. Solaris

nis

i want to dedicate my nis client system to some perticler group users. how can it possible on solaris. (0 Replies)
Discussion started by: nag.mi2000
0 Replies

6. Solaris

nis

hai any body send me the replay please. is it necessary to configure NFS , before configuring NIS on solaris9 or solaris10. (1 Reply)
Discussion started by: nag.mi2000
1 Replies

7. Solaris

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.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

8. UNIX for Dummies Questions & Answers

Nis

Hello i have some account already defined on NIS server. I would like to use this account on my machine. What do i have to do ? Only create the home directory then use the account ?? If the user defined is using the korn shell, and i want to use bash, how can i change it ?? (2 Replies)
Discussion started by: dolphin06
2 Replies

9. 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

10. Solaris

nis

how to see the all nis user details and individual user details ? (0 Replies)
Discussion started by: tirupathi
0 Replies
YPPOLL(8)						    BSD System Manager's Manual 						 YPPOLL(8)

NAME
yppoll -- ask version of NIS map from NIS server SYNOPSIS
yppoll [-T] [-h host] [-d domain] mapname DESCRIPTION
yppoll asks a NIS server process for the order number and which host is the master server for mapname. The options are as follows: -T Use TCP protocol instead of UDP for request if the -h option is present. -h host Ask the NIS server process running on host for information about mapname. If host is not specified, the server polled is the default server returned by ypwhich(1). -d domain Use the NIS domain domain instead of the default domain as returned by domainname(1). SEE ALSO
domainname(1), ypcat(1), ypmatch(1), ypwhich(1), nis(8), ypbind(8), ypset(8) AUTHORS
Theo de Raadt and John Brezak BSD
January 25, 2008 BSD
All times are GMT -4. The time now is 08:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy