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
8 More Discussions You Might Find Interesting
1. IP Networking
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
2. IP Networking
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
3. Red Hat
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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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
6. IP Networking
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
7. Solaris
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
8. IP Networking
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
LEARN ABOUT POSIX
ypwhich
ypwhich(1) User Commands ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name 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.
Refer to ypfiles(4) for an overview of the NIS name services.
OPTIONS
-d domain Use domain instead of 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 -m. mname can be a mapname, or a nickname for a
map. When mname is omitted, produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind, V3 is default.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypfiles(4), attributes(5)
SunOS 5.10 7 Apr 1995 ypwhich(1)