Sponsored Content
Operating Systems Solaris How to bind from a NIS slave server Post 302352070 by rhfrommn on Thursday 10th of September 2009 10:13:17 AM
Old 09-10-2009
Run ypinit -c then reboot will let you specify new NIS servers.

See this link for more details.
NIS FAQ
 

10 More Discussions You Might Find Interesting

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

2. UNIX for Advanced & Expert Users

NIS master / slave problems

Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master. Frank (2 Replies)
Discussion started by: frankkahle
2 Replies

3. Linux

slave bind name resolution inquiry

hi. i configured a master and slave bind server on my vmware test network. i used nslookup to the slave name server to lookup a fake entry for network.com that the master dns set, however, the slave is resolving the real ip of www.network.com, instead of what the master dns server set. i checked... (2 Replies)
Discussion started by: marcpascual
2 Replies

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

5. UNIX for Advanced & Expert Users

Automount on NIS slave

I am setting up the NIS slave server to automount the home directory just like its master server on suse linux (SLES 10). Since the master will be the first to mount the /home on the client. I have not been able to mount the /home on the on the slave when the master NIS server is unavailable. How... (0 Replies)
Discussion started by: ibroxy
0 Replies

6. SuSE

Automount on NIS slave

I am setting up the NIS slave server to automount the home directory just like its master server on suse linux (SLES 10). Since the master will be the first to mount the /home on the client. I have not been able to mount the /home on the on the slave when the master NIS server is unavailable.... (1 Reply)
Discussion started by: ibroxy
1 Replies

7. AIX

Slave NIS server configuration change

Hello Everybody, I have a question regarding SLAVE NIS SERVER in aix. We are using NIS master of Sun Solaris 9.0 which is on different subnet i.e. 10.197.93.0. And Our slave server is having AIX 5.3 installed which is on 10.207.13.0 subnet. I have a query regarding its name and ip address... (0 Replies)
Discussion started by: jit15975
0 Replies

8. Solaris

NIS slave unable to copy the data bases

Hi, I'm learning for my Solaris 10 sys-admin part 2. I'm now trying to get nis working because for the exercise. I run in to a problem. Setup: Three Systems solaris101 (client) Nothing wrong here havent made any config changes yet. solaris102 (master server) Interfaces ... (1 Reply)
Discussion started by: jld
1 Replies

9. UNIX for Advanced & Expert Users

NIS setup: Mastr on AIX and slave on Solaris?

Hello - This could be a stupid question. But can we configure NIS with different flavors of UNIX. Like Master on AIX and slave on Solaris? ---------- Post updated 09-06-11 at 04:17 AM ---------- Previous update was 09-05-11 at 06:34 AM ---------- Hi - Can anyone please answer this? (1 Reply)
Discussion started by: manju--
1 Replies

10. Solaris

Testing NIS slave server

Hi guys, In my Sol-10 i setup NIS server following the oracle doc and setup a Linux as NIS client all went ok. I added another Sol-10 and configure it as a NIS slave server following the oracle doc again. and added the server on the yp.conf on my NIS client How do i test if my NIS slave... (3 Replies)
Discussion started by: batas
3 Replies
ypinit(1M)						  System Administration Commands						ypinit(1M)

NAME
ypinit - set up NIS client SYNOPSIS
/usr/sbin/ypinit [-c] [-m] [-s master_server] DESCRIPTION
ypinit can be used to set up an NIS client system. You must be the superuser to run this command. This script need not be used at all if ypbind(1M) is started with the -broadcast option (it is invoked with this option from the svc:/network/nis/client:default service). Normally, ypinit is run only once after installing the system. It may be run whenever a new NIS server is added to the network or an exist- ing one is decommissioned. ypinit prompts for a list of NIS servers to bind the client to; this list should be ordered from the closest to the furthest server. It is recommended that you list each of these NIS servers by name and numeric IP address in /etc/hosts. Though the practice is not recommended, NIS allows you to list servers by numeric address only, bypassing /etc/hosts. In such a configuration, ypwhich(1) returns a numeric address instead of a name. ypinit stores the list of servers to which a client can bind in the file /var/yp/binding/domain/ypservers. This file is used by ypbind when run without the -broadcast option. OPTIONS
-c Set up a ypclient system. -m Build a master ypserver data base. -s master_server Slave data base. master_server must be the same master configured in the YP maps and returned by the ypwhich -m command. FILES
/etc/hosts File in which it is recommended that NIS servers be listed. /var/yp/binding/domain/ypservers Lists the servers to which the NIS client is allowed to bind. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), ypwhich(1), svcadm(1M), ypbind(1M), sysinfo(2), hosts(4), attributes(5), smf(5) NOTES
The NIS client service is managed by the service management facility, smf(5), under the service identifier: svc:/network/nis/client:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. BUGS
ypinit sets up the list of NIS servers only for the current domain on the system when it is run, that is, the domain returned by the SI_SRPC_DOMAIN command to sysinfo(2). Care should be taken to ensure that this is the same as the desired domain for NIS client processes. SunOS 5.11 20 Dec 2007 ypinit(1M)
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy