- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How do we find the domain name on a linux mach...
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-27-2007 06:23 PM
тАО05-27-2007 06:23 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 06:32 PM
тАО05-27-2007 06:32 PM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 07:16 PM
тАО05-27-2007 07:16 PM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 08:26 PM
тАО05-27-2007 08:26 PM
Solutionhttp://baheyeldin.com/linux/how-to-setup-nis-for-a-linux-network.html
It's not mentioned in the link but should be done:
start the yppasswdd service on NIS master server:
service yppasswdd start
all required service should start by default:
chkconfig ypserv on
chkconfig yppasswdd on
chkconfig ypbind on # on the client
You didn't assign points for answers you received so far. Please take the time and assign points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 12:38 AM
тАО05-29-2007 12:38 AM
Re: How do we find the domain name on a linux machine.
.I installed the server software on my machine and also follwed the client procedure.But how to test it now without deleting the user.or how to know tht every thing is set up properly.whn i startup the events its gettin started.whn i log on to another machine via ssh and thru tht whn i try to log on to my machine by that users name and password i cant logon.So hw to abt it.
hey and abt the point s u had told i have assigned it in my lat 2 previous post.thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 01:10 AM
тАО05-29-2007 01:10 AM
Re: How do we find the domain name on a linux machine.
`ypcat passwd`
You should see a list of all users added to the server.
A quick command to configure a station to be a NIS client:
authconfig --enablenis --nisdomain
And thanks for the points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 07:28 PM
тАО05-29-2007 07:28 PM
Re: How do we find the domain name on a linux machine.
And i have edited thethe /etc/yp.conf and have entered the follwing in tht file
domain localhost.nisdomain server localhost.nisdomain
but whn i do ypbind start on client it says it failed .so wht might be the problem and how to go about it.thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 07:34 PM
тАО05-29-2007 07:34 PM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 08:19 PM
тАО05-29-2007 08:19 PM
Re: How do we find the domain name on a linux machine.
localhost is resolved to 127.0.0.1, So the client tries to connect to itself instead of server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 09:17 PM
тАО05-29-2007 09:17 PM
Re: How do we find the domain name on a linux machine.
On server the yp.conf is edited and ypserver 127.0.0.1 is added.But on client i have added it has domain localhost.nisdomain server 12.0.0.13 which is server(my machine s)ip.and restarted all the services on the server.so whn i say ypbind start on client it says failed.I am not sure how to figure out the problem.Also ypiniy -m i have added the localhost.nisdomain .I have give u the entire scenario.do help me out here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 09:52 PM
тАО05-29-2007 09:52 PM
Re: How do we find the domain name on a linux machine.
From the above scenario can u tel me wht shd be edited on yp.conf on client side assume tht hostname on client side is linux and domain is localhost.nis domain. i.e,what shd be added to the following syntax in yp.conf file whn the server ip is 12.0.0.13
domain somedomain server somehost
and on server side is the domainname is localhost.nisdomain and the host name is server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 10:19 PM
тАО05-29-2007 10:19 PM
Re: How do we find the domain name on a linux machine.
A quick command to configure a station to be a NIS client:
authconfig --enablenis --nisdomain
It will edit the /etc/yp.conf file and restart the appropriate services.
Make sure that the firewall service isn't blocking the rpc communication. Run `service iptables stop` (at least just for the test).
The portmapper service must be running(service portmap start).
What's the output from `rpcinfo -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 11:30 PM
тАО05-29-2007 11:30 PM
Re: How do we find the domain name on a linux machine.
what should we give in place of
authconfig --enablenis --nisdomain
mydomainname(server):localhost.nisdomain
hostname=nav.com
on client domainname=localhost.nisdomain
HOSTNAME=shy.com
when i run `rpcinfo -p nav.com` it gives the following error:
rpcinfo: can't contact portmapper: RPC: Remote system error - Network is unreachable
but whn i give the ip address it gives the following:whereas the ipgiven hereis a server ip ,(executed on the client)
rpcinfo -p 12.0.0.13
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32769 status
100007 2 udp 837 ypbind
100007 1 udp 837 ypbind
100007 2 tcp 840 ypbind
100007 1 tcp 840 ypbind
100009 1 udp 742 yppasswdd
100004 2 udp 757 ypserv
100004 1 udp 757 ypserv
100004 2 tcp 760 ypserv
100004 1 tcp 760 ypserv
600100069 1 udp 771 fypxfrd
600100069 1 tcp 773 fypxfrd
i think the problem is with yp.conf .I am not sure how to give the following in yp.conf provided i have given u all the info
server ip:12.0.0.13
client ip:12.0.0.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 12:15 AM
тАО05-30-2007 12:15 AM
Re: How do we find the domain name on a linux machine.
It will replace the lines in /etc/yp.conf file. You don't need to edit it once you use authconfig.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 12:17 AM
тАО05-30-2007 12:17 AM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 01:49 AM
тАО05-30-2007 01:49 AM
Re: How do we find the domain name on a linux machine.
authconfig --enablenis --nisdomain
The command must be executed on a station that will act as the client. You can also make your NIS server a client of the NIS domain it serves.
You only need to replace:
and
Let us know if it helps.
Points assignment will be appreciated of course.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 05:43 PM
тАО06-03-2007 05:43 PM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 06:26 PM
тАО06-03-2007 06:26 PM
Re: How do we find the domain name on a linux machine.
make -C /var/yp
This will update the NIS maps and you will see the user account from the client...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 06:33 PM
тАО06-03-2007 06:33 PM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 08:26 PM
тАО06-03-2007 08:26 PM
Re: How do we find the domain name on a linux machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 02:57 PM
тАО03-02-2011 02:57 PM