- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Searching a NIS server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:02 AM
тАО05-13-2002 03:02 AM
Is there a way which I can search for a NIS server in a domain which I do have access to? I do not know the name/IP address of the NIS server in this particular site.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:16 AM
тАО05-13-2002 03:16 AM
Re: Searching a NIS server
ypwhich for the domain master
and ypwhich -x for the maps it controls.
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:18 AM
тАО05-13-2002 03:18 AM
Re: Searching a NIS server
I can't find a file on a client that lists the nis servers.
ypwhich will tell you which server you are talking to.
ypwhich -m will tell you which maps are coming from where.
These 3 lines in /etc/rc.config.d/namesvrs will tell you what each server is :-
NIS_MASTER_SERVER=1
NIS_SLAVE_SERVER=0
NIS_CLIENT=1
HTH,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:31 AM
тАО05-13-2002 03:31 AM
Re: Searching a NIS server
I tried doing ypwhich hostname to obtain the NIS server of that host. Unfortunately, the NIS server obtain does not contain the passwd or group files. Instead, the NIS server is in another machine, in which I already know its name without using ypwhich, but through a colleagues words!!
How do I obtain the central NIS server within a domain, not just as in the same subnets?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:38 AM
тАО05-13-2002 03:38 AM
Re: Searching a NIS server
ypwhich -d domain.name.here
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:43 AM
тАО05-13-2002 03:43 AM
Re: Searching a NIS server
following files should lead you to the nis server.
/etc/resolv.conf
/.rhosts
Mahima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 05:36 AM
тАО05-13-2002 05:36 AM
Re: Searching a NIS server
To "ping" all the NIS Servers on your subnet you can use rpcinfo -b 100004 1
However, to find on other subnets if your routers won't forward the RPC broadcast, you'd have to run the command locally on those subnets.
Hope this helps,
-> Brian Hackley
p.s. I moved your posting over to the "Networking" area.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 11:45 PM
тАО05-13-2002 11:45 PM
Re: Searching a NIS server
Let's try and explain this , the reason you cannot easily get a list of NIS servers from a client that isn't bound already is that it doesn't hold one , NIS is different from for instance DNS in a way that it querries for a server on the network using something like a broadcast for it's specific domain and acquires the first server to respond for it's given domain , it doesn't have a specific server IP to look for , the only way to get a list of the server would be like stated before to go looking for machines running the NIS socket port and doing RPC calls to identifying them with all disadvantages attached to that (as explained in the previous post) , if you know of a client that has already bound to a server ypwhich will tell you what server it is bound to. That can be either the master NIS server or a slave server , the only way to control this is to specify the server you want to use with the ypset option .. you can read about that in the man pages on YPSERV (nis server daemon)