03-27-2009
ypcat hosts works on my master
but does not work on my client
and my client is in the my hosts files both local and in my NIS directory specified by the Makefile
I was talking to a co-worker and they were telling me that the ypwhich command does not mean that I have connectivity with my master server, yet my master server can do all NIS commands.
I want to continue my learning, but this problem is holding me back :P
Any more thoughts Tony? I'll have some more time this weekend so I will post all the config information I can possible
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
How can I unregistered a nis+ client. I want it works without nis+.
Bests regards (2 Replies)
Discussion started by: omainfroy
2 Replies
2. AIX
Hi everyone.
Has anyone here used AIX as a NIS client to a Linux server?
If have configured this setup and cant get it to work. I have verifyed that the NIS server is working since other machines are able to connect to it and users to log in on other clients.
On the AIX machine the users are... (0 Replies)
Discussion started by: sprellari
0 Replies
3. AIX
All,
I have just started using AIX (Solaris admin here) and I need to setup my new AIX box as an NIS client. Where would I do this?
Thanks for the help!
-Kevin (2 Replies)
Discussion started by: kjbaumann
2 Replies
4. 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
5. Solaris
Friends n Gurus
I am creating an NIS farm(Solaris only) in my office. I have successfully configured the NIS master and slave servers and a few NIS clients.
However i am not able to log into a few of my NIS clients. The commands "ypcat passwd" is displaying the NIS user. However when i try to... (5 Replies)
Discussion started by: Renjesh
5 Replies
6. AIX
Hi,
I have a trouble with configure NIS Client on AIX, my NIS server is on a Linux machine.
After configure, some old NIS account could login normally. However, after I create new account from NIS server, I could not login with the new account, but could only su to that account. And I could view... (20 Replies)
Discussion started by: aloneattack
20 Replies
7. Solaris
Hi all,
Recently i have implemented NIS functionality in solaris 10 and i have created server and client with user in server side by giving
useradd -d /export/home/user1 -m -s /bin/sh user1
after that I went to /var/yp dir and give /usr/ccs/bin/make so that it will refelect to client... (2 Replies)
Discussion started by: esungoe
2 Replies
8. Solaris
Hi All,
In my network infra, there is a NIS master server and many more NIS slave servers. Now, I want every client to set with master server and one possible slave server so that if master goes down, client could still get info from slave server. The servers will be listed on... (0 Replies)
Discussion started by: naw_deepak
0 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory.
... (3 Replies)
Discussion started by: samnyc
3 Replies
10. 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
LEARN ABOUT DEBIAN
ypwhich
ypwhich(1) General Commands Manual ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSYS
ypwhich [ -d domain ] [ -Vn ] [ hostname ]
ypwhich [ -d domain ] [ -t ] -m [ mname ]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS services to a NIS client, or which is the master for a map. If invoked
without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out which NIS
master it is using.
OPTIONS
-d domain
Specify a domain other than the default domain.
-t This option inhibits map nickname translation.
-m mname
Find the master NIS server for a map. No hostname can be specified with the -m option. mname can be a mapname or nickname for a
map. If mname is omitted, ypwhich will produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind(8), V2 is default.
FILES
/var/yp/nicknames
map nickname translation table.
SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), ypmatch(1), yppoll(8), ypserv(8), yset(8)
AUTHOR
ypwhich is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
YP Tools 2.9 May 1998 ypwhich(1)