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.
Please let me know what could be the issue.
hello,
after couple days trying to configure SMC to work with NIS on Solaris 8, i gave up...have any of you have done it before? what change did you make when you edited the toolbox? also, when you create a new toolbox, they ask for server and domain, what do you have to fill into these two... (0 Replies)
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)
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 (4 Replies)
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)
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)
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)
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)
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)
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
LEARN ABOUT OSF1
nis_intro
nis_intro(7) Miscellaneous Information Manual nis_intro(7)NAME
nis_intro - Network Information Service (NIS) introductory information
DESCRIPTION
The Network Information Service (NIS) is a distributed name service that allows participating hosts to share access to a common set of sys-
tem and network files. NIS allows the system administrator to manage these shared files on a single system.
NIS is intended for use in a secure environment only, where gateways do not allow outside Internet access to the NIS protocol.
NIS Maps
Information distributed by NIS is stored in database files called maps. Most of the NIS maps represent files that were traditionally
stored in the /etc directory. These files include the following: aliases group hosts netgroups networks passwd protocols rpc services
In a secure environment, you can run NIS in a secure mode, thereby creating secure and nonsecure versions of the NIS maps. See the Secu-
rity guide for more information.
You can also use NIS to distribute files used by Automount or AutoFS, or to distribute other user-defined files.
Each NIS map contains a set of keys and associated values. For example, as keys, the hosts map contains all host names on a network, and
as values, the corresponding Internet addresses. Each NIS map has a map name, used by programs to access data in the map.
NIS Domains
A named set of NIS maps is called a domain. A system's "domain name" or "NIS domain" corresponds to the set of NIS maps that the system
can access. You can think of an NIS domain as a set of systems that share the same set of NIS maps.
A system's domain name is set at the time the system is booted by the /sbin/init.d/nis script using an entry in the /etc/rc.config.common
file. System administrators can use the nissetup script to place entries in this file. The nissetup script is described in the Network
Administration manual.
You can determine your system's NIS domain using the domainname command. Refer to domainname(1). A domain name is required for retrieving
data from an NIS database.
NIS Client-Server Model
NIS follows the client-server model of distributed services. There are two types of NIS servers - master and slave. The master server
stores the master copy of the NIS maps for its domain; these are the only NIS maps that can be modified. Each domain has only one master
server.
Slave servers store copies of the master server's NIS maps. NIS slave servers can be spread throughout a network. Whenever an NIS map is
updated on the master server, the master propagates the changes to each slave server in its domain. If the master is unavailable for any
reason, the slave servers continue to make the NIS maps available to the NIS clients.
Clients are all of the systems that can access NIS maps. When a client requires NIS information, it makes a remote procedure call (RPC) to
one of the NIS servers to obtain the information.
NIS Data Storage
The data in NIS maps is stored as databases in dbm/ndbm, btree, or hash format.
For example, the NIS map for the /etc/hosts file in the domain market might be stored in these dbm/ndbm files: /var/yp/mar-
ket/hosts.byaddr.dir
/var/yp/market/hosts.byaddr.pag
/var/yp/market/hosts.byname.dir
/var/yp/market/hosts.byname.pag
The makedbm command takes an ASCII file such as /etc/hosts and converts it into dbm/ndbm files suitable for use by NIS. However, system
administrators use the Makefile script in the /var/yp directory to create NIS map files and specify file format. The Makefile script then
calls makedbm.
Refer to the Network Administration manual for details on the Makefile script, specifying different formats, and other NIS management
information.
RELATED INFORMATION
Commands: domainname(1), svcsetup(8), ypbind(8), yppasswdd(8), ypserv(8), ypxfr(8)
Files: svc.conf(4)
Network Administration delim off
nis_intro(7)