How to discover what naming services are available


 
Thread Tools Search this Thread
Operating Systems Linux How to discover what naming services are available
# 1  
Old 10-08-2004
How to discover what naming services are available

Hello All,

A number of UNIX platforms currently bundle clients for the NIS, NIS+, and LDAP services.

I'd like to know how to discover what naming services are available.

E.g., results :
=============================
URL:
service:naming-directory:nis://192.168.1.100/eng.wiz.com
Attributes:
naming-context=eng.wiz.com
organization=flat
dynamic-updates=false
jndi-sp-available=true
master=true

URL:
service:naming-directory:nis://192.168.1.200/eng.wiz.com

Attributes:
naming-context=eng.wiz.com
organization=flat
dynamic-updates=false
jndi-sp-available=true
master=false
===================================

Thanks a lot!
LY
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. IP Networking

Discover Windows machines in other network

I have my Windows computer in network 192.168.1.0/24 plugged into one interface of my router. I have another port on the router as network 192.168.168.0/24 where my nas is plugged in. Now Windows doesn't discover my NAS automatically, of course. Anyone know what would be the most elegant way to... (2 Replies)
Discussion started by: awayand
2 Replies

2. Solaris

Sunos 5.10 discover new luns and configure

Hello; experienced with HPUX/Linux, but new to Solaris, in particular my newly inherited SunOS 5.10 and is in a san environment I have access to a 20gb lun, how do I discover it (and is a reboot required) when discovered how do I configure it as a whole disk mount point (1 Reply)
Discussion started by: Ikenewtosolaris
1 Replies

3. IP Networking

Average pps and how to discover cause

How many pps (packets per second) roughly can average server user maximum use? I mean if its normal to have like 100 000 pps a few VPS users there have around 100,000 - 900,000pps there has been bans for DoS. PS: how pps value can be discovered and how tracked to causing process? thx (0 Replies)
Discussion started by: postcd
0 Replies

4. Shell Programming and Scripting

Discover unique names and organize

I'm attempting to write a script that will look into a directory, discover all unique names, create directories for their prefix names and place the files inside. I do this now one by one with a simple script but I'd like to automate the process. The directory would contain something like: ... (6 Replies)
Discussion started by: scribling
6 Replies

5. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

6. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

7. IP Networking

Naming services + Automounter

Hi gurus, I am trying to understand the enviroment which we are using. The fact that I am asking is that this is production enviroment and I cannot change anything to experiment. Following servers are somehow related to each other, please help me figure out if my conclusions are correct. -... (0 Replies)
Discussion started by: wakatana
0 Replies

8. IP Networking

DHCP server discover

I need a script to scan the surrounding DHCP servers. I want to know how many dhcp servers are there on my connected etnernet. (2 Replies)
Discussion started by: getrue
2 Replies
Login or Register to Ask a Question
ypwhich(1)						      General Commands Manual							ypwhich(1)

NAME
ypwhich - determine which host is the current NIS server or map master. SYNOPSIS
ypwhich [-d domain] [-V1] [-V2] [hostname] ypwhich [-d domain] [-m[mname]] [-t[mapname]] ypwhich -x OPTIONS
Identifies which server is serving v.1 NIS protocol-speaking client processes. Identifies which server is serving v.2 NIS protocol-speak- ing client processes. If neither version is specified, ypwhich attempts to locate the server that supplies the current v.2 services. If there is no v.2 server currently bound, ypwhich attempts to locate the server supplying the v.1 services. Since NIS servers and NIS clients are both backward compatible, the user need seldom be concerned about which version is currently in use. Uses domain instead of the current domain. Finds the master NIS server for a map. No hostname can be specified with -m. The mname argument can be a mapname, or a nickname for a map. When mname is omitted, ypwhich provides a list of available maps. Inhibits nickname translation and is useful if there is a mapname identical to a nickname. Displays the map nickname table. This option lists the nicknames (mnames) that the command knows of, and indicates the mapname associated with each nickname. DESCRIPTION
The ypwhich command identifies the Network Information Service (NIS) server that currently supplies NIS services to an NIS client. It also identifies which NIS server is the master for a map. If invoked without arguments, ypwhich returns the host name of the NIS server for the local machine. If hostname is specified, ypwhich checks that machine to find out which NIS master it is using. Refer to ypfiles(4) and ypserv(8) for an overview of NIS. SEE ALSO
ypfiles(4), rpcinfo(8), ypserv(8), ypset(8) ypwhich(1)