10 More Discussions You Might Find Interesting
1. Solaris
I'd like to share some experiences and what I found for NIS migration from Solaris 8 NIS to Linux platform.
I'm not an expert for both platforms, it's just when I tested both systems and found something really tricky. That might takes a lot of time for you to find the root cause. So, I think I can... (11 Replies)
Discussion started by: bestard
11 Replies
2. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
3. Shell Programming and Scripting
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
4. UNIX for Dummies Questions & Answers
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
5. Solaris
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
6. Solaris
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. UNIX for Advanced & Expert Users
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
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. IP Networking
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
10. UNIX for Advanced & Expert Users
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
YPXFR(8) NIS Reference Manual YPXFR(8)
NAME
ypxfr - transfer NIS database from remote server to local host
SYNOPSIS
/usr/lib/yp/ypxfr [-f] [-c] [-d target domain] [-h source host] [-s source domain] [-C taskid program-number ipaddr port] [-p yp_path]
mapname...
DESCRIPTION
ypxfr copies an NIS database from one NIS server to the local host by using the NIS service. ypxfr is generally invoked by ypinit or by
ypserv, when ypserv receives a map transfer request from yppush. It creates a temporary map in the directory /var/yp/domain (this
directory must already exist; domain is the default domainname for the local host), fills it by getting the map's entries and fetches the
map parameters (master and order number). If the transfer was successful, the old version of the map will be deleted and the temporary copy
will be moved into its place. Then, ypxfr will attempt to send a "clear current map" request to the local ypserv.
If run interactively, ypxfr writes its output to stderr. However, if it is invoked without a controlling terminal, it will log the output
to syslog.
ypxfr is used primarily in environments where several NIS servers are in use. For all maps, you have a NIS master server, which maintains a
canonical copy of the NIS map, and all the other servers, the NIS slaves, copy the new version of the map from the master whenever a update
was made. Normally, you have one NIS master for all maps.
In order to maintain consistency across all NIS servers, ypxfr can be run periodically in a cron job. Maps which change infrequently need
only be updated once a day (preferably late at night when system usage is lowest), where those with frequent changes (such as passwd.byname
and passwd.byuid ) should be updated perhaps once every hour. Examples are in /usr/lib/yp: ypxfr_1perday, ypxfr_2perday, and
ypxfr_1perhour. They can serve as reasonable first cuts.
Normally all updates should be propagated by yppush when /var/yp/Makefile is run on the NIS master server, however it is a good practice on
large networks where possible outages could cause NIS slaves to fall out of sync with the master.
OPTIONS
The following options are supported:
-f
Force a map transfer. Normally, ypxfr will not transfer a map if it determines that the NIS master's copy is not newer than the
existing copy already on the local host. This flag forces a transfer regardless of which server's version is more recent.
-c
Do not send a "clear current map" request to the ypserv process running on the local host. This flag is normally used when invoking
ypxfr by ypinit or if ypserv is not running locally at the time you are running ypxfr. Otherwise, ypxfr will complain that it cannot
talk to the local ypserv, and the transfer will fail.
-d domain
Specify a domain other than the default NIS domain.
-h source host
Get the map from host, regardless of what the map says the master is. If host is not specified, ypxfr asks the NIS service for the name
of the master, and tries to get the map from there. This option is used to insure that ypxfr only copies maps from the NIS master
server.
-s source domain
Specify a source domain from which to transfer a map that should be the same across domains.
-C taskid progam-number ipaddr port
This option is only for use by ypserv . When ypserv invokes ypxfr, it specifies that ypxfr should call back a yppush process at the
host with IP address ipaddr, registered as program number progam-number, listening on port port, and waiting for a response to
transaction taskid.
-p yp_path
Change the directory for the maps to yp_path/[domainname]/, the default is /var/yp/[domainname].
mapname
One or more names of the map to transfer.
FILES
/var/yp/[domainname]/[maps]
SEE ALSO
ypserv(8), yppush(8), ypinit(8), cron(8), crontab(5)
AUTHOR
Thorsten Kukuk <kukuk@linux-nis.org>
NIS Reference Manual 04/02/2009 YPXFR(8)