05-11-2007
Quote:
Originally Posted by blowtorch
We have a table named hosts under org_dir. Try searching for something like that. Then you can use 'niscat hosts.org_dir'
I think that maybe synonamous with the above getent hosts becasue the command is also looking in the hosts map. NIS clients do not need to be listed in the hosts file to join a domain. Unless the joining of the client to the domain appends the client name to the hosts map.
Can anyone confirm or deny this?
Thanks,
Michael
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've set up a NIS domain with unix as master-server, slave server and clients.
right now i wish to add linux client to the NIS domain. the linux client has got username and password in it.
how do i go about it? :confused: (1 Reply)
Discussion started by: legato
1 Replies
2. Solaris
All,
I have changed my machine name from A202 to B205. All I modified was /etc/hosts, /etc/nodename, hostname.ce0, /etc/net/<stuff needed to change>. But for some reason now NIS does not work. This is not the NIS server. When I telnet in I get "No directory! Logging in with home=/" when I... (4 Replies)
Discussion started by: kjbaumann
4 Replies
3. Ubuntu
Hi guys,
i am having a problem :confused:actually i never did this before,so please help me to join nis domain to an ubuntu workstation.
As i have configured and running NIS Server on RedHat 4.0 in my network and want to set an ubuntu workstation as client.
please tell all steps......looking for... (2 Replies)
Discussion started by: daya.pandit
2 Replies
4. UNIX for Dummies Questions & Answers
When I connect to any IRC server, it's usually my ISP IP address/hostname. I own a domain, but I'm not using it for anything (no web hosting service or server). Is it possible for me to use my domain as my IRC hostname instead of my regular ISP hostname? (0 Replies)
Discussion started by: guitarscn
0 Replies
5. Shell Programming and Scripting
I'm working on a rather large script atm (it already takes 9 arguments). As such, I need to obtain both a server name and domain from the FQDN. From this, I want to both populate the hostname of the server, as well as the domain line in the /etc/resolv.conf file.
Obviously, this isn't working. I... (10 Replies)
Discussion started by: msarro
10 Replies
6. Shell Programming and Scripting
I have done a fair amount of searching the threads, but I have not been able to cobble together a solution to my challenge. What I am trying to do is to line edit a file that will leave behind only the domain and tld of a long list of urls. The list looks something like this:
www.google.com... (3 Replies)
Discussion started by: chamb1
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I'm having issues with sendmail when I try to send host to host mail. I've had to change the "my official domain name" line to mycompany.com to get the mails through the external spam filter, when a mail was sent with hostname.mycompany.com it was blocked. I had to change the Dj macro... (0 Replies)
Discussion started by: elcounto
0 Replies
8. UNIX for Dummies Questions & Answers
I have a RHEL server where I want to create a mail server so I can send myself alerts whenever X process have problems.
Disclaimer:
Im a programmer thats been forced to do IT. So I'm trying my best here.
The problem:
While configuring Postfix it asks for $myhostname which apparently must be... (2 Replies)
Discussion started by: RedSpyder
2 Replies
9. Red Hat
Hi
Need to list all gid for particular domain user.
Actually in database getting error like one of the gid that user belongs is invalid.
please suggest.
thanks
Paul (1 Reply)
Discussion started by: Mathew_paul
1 Replies
10. Solaris
How to list physical CPU on primary domain? Sparc SPARC T5-4
psrinfo -p
1
in ILOM I see
Processors:
4 / 4 (2 Replies)
Discussion started by: thomasj
2 Replies
nisls(1) User Commands nisls(1)
NAME
nisls - list the contents of a NIS+ directory
SYNOPSIS
nisls [-dglLmMR] [name...]
DESCRIPTION
For each name that is a NIS+ directory, nisls lists the contents of the directory. For each name that is a NIS+ object other than a direc-
tory, nisls simply echos the name. If no name is specified, the first directory in the search path is listed. See nisdefaults(1).
OPTIONS
The following options are supported:
-d Treat NIS+ directories like other NIS+ objects, rather than listing their contents.
-g Display group owner instead of owner when listing in long format.
-l List in long format. This option displays additional information about the objects such as their type, creation time, owner, and
access rights.
The access rights are listed in the following order in long mode: nobody, owner, group owner, and world.
-L This option specifies that links are to be followed. If name actually points to a link, it is followed to the linked object.
-m Display modification time instead of creation time when listing in long format.
-M Master only. This specifies that information is to be returned from the master server of the named object. This guarantees that
the most up to date information is seen at the possible expense that the master server may be busy.
-R List directories recursively. This option will reiterate the list for each subdirectory found in the process of listing each name.
ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ name is not fully qualified, each directory specified will be searched until
the object is found. See nisdefaults(1).
EXIT STATUS
The following exit values are returned:
0 Successful operation.
1 Operation failed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
nisdefaults(1), nisgrpadm(1), nismatch(1), nistbladm(1), nis_objects(3NSL), attributes(5)
NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are
available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html.
SunOS 5.10 10 Dec 2001 nisls(1)