12-03-2007
Moving NIS master to new machine
I am running a DNS/NIS server on and older 2.6 system. I would like to move it to a newer system running Sol9. I have not found a good HOWTO and was looking for some advice.
Thanks in advance.
Dave
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Ubuntu
Hi All,
can anyone tell me how to mount NIS user /home/<username> directory on the client machine in Ubuntu.
Thanks (3 Replies)
Discussion started by: daya.pandit
3 Replies
3. Solaris
Hi All,
I get below error while running
cd /var/yp
/usr/sbin/ypinit -m
Error Code - 1
updated netmasks
make : warning : target all not remade because of errors
current working dir /var/yp
*** error code 1 ***
make : fatal error : command failed for target 'k'
error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies
4. Solaris
Hello All,
I just tried to create NIS master in my x86 vmware machine. I have followed the steps and created the necessary files and installed via ypinit command. Now the issue is after start the services when provide the ypwhich command showing following error. Please assist.
bash-#svcs... (1 Reply)
Discussion started by: gowthamakanthan
1 Replies
5. Solaris
Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags.
/usr/sbin/ypinit -m
In order for NIS to operate sucessfully, we have to construct a list of the
NIS servers. Please... (1 Reply)
Discussion started by: manju--
1 Replies
6. HP-UX
I have a NIS Master server and NIS Clients.
But when I started the service all the process and files that should be owne by root apper by the owner 0
This is an example
0 1709 1708 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
0 1710 1709 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
0 1708 1 0 10:06:10 ? 0:00... (2 Replies)
Discussion started by: GCSG
2 Replies
7. Red Hat
Goodmorning
i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd.
ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies
8. UNIX Desktop Questions & Answers
I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database.
For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies
9. UNIX for Advanced & Expert Users
I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in place long before I took over so was hoping someone had some insight on how to figure this out. I must... (1 Reply)
Discussion started by: dagamier
1 Replies
10. Solaris
Mostly Solaris 11 with some 10 and even fewer 8 and 9.
At the moment, NIS is used.
Looking for a better way and to get rid of NIS. (13 Replies)
Discussion started by: psychocandy
13 Replies
LEARN ABOUT NETBSD
ypserv
YPSERV(8) BSD System Manager's Manual YPSERV(8)
NAME
ypserv -- NIS server daemon
SYNOPSIS
ypserv [-dfl] [-p port]
DESCRIPTION
ypserv is a fundamental part of the network information system called NIS. This server provides information from NIS maps to the NIS clients
on the network.
A NIS map is stored on the server as a db(3) database. A number of NIS maps is grouped together in a domain. ypserv determines the domains
it serves by looking for a directory with the domain name in /var/yp.
In an effort to improve the security of NIS (which has, historically, not been very good), this ypserv has support for libwrap-based access
control. See hosts_access(5) for more information. The daemon used for access control is the name which ypserv was invoked as (typically
``ypserv''). If a host is not allowed to query this NIS server, ypserv will return the NIS result code YP_NODOM. To avoid problems with DNS
lookups causing ypserv to hang, ypserv disables DNS lookups for its client hosts_access(5) lists. The result is that ypserv can only use
address based patterns. This also means that wildcard patterns such as LOCAL or KNOWN will not work.
The process pid of the ypserv process can be found in the file /var/run/ypserv.pid.
The options are as follows:
-d Use internet Domain Name System. If a query to map hosts.byname or hosts.byaddr fails, make a DNS query and return the result if
successful.
-f Run in the foreground.
-l Enable logging of all requests.
-p port
Bind to the specified port instead of dynamically allocating one.
All messages are sent to the system log with the facility LOG_DAEMON. Error messages have the priority LOG_ERR. Refused requests are logged
with the priority LOG_WARNING. All other messages are logged with the priority LOG_INFO.
FILES
/var/run/ypserv.pid
SEE ALSO
syslog(3), hosts_access(5), nis(8), syslogd(8), ypbind(8), ypinit(8)
AUTHORS
This implementation of ypserv was originally written by Mats O Jansson <moj@stacken.kth.se>. The access control code was later re-written
from scratch by
Jason R. Thorpe <thorpej@NetBSD.org>.
BSD
May 20, 2006 BSD