Computing.Net > Forums > Linux > Config NIS domain

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Config NIS domain

Reply to Message Icon

Name: Xinshou
Date: July 7, 2001 at 15:09:56 Pacific
Comment:

I installed NIS master server in Solaris 8 (Intel), and setup my Redhat Linux 6.2 as a NIS client. But I have problem with setup NIS domain name in my linux box.
I do something like this:
# domainname
# Show nothing
# domainname my_nis_domain
# domainname
# my_nis_domain

I edit /etc/sysconfig/network file and add:
NIS_DOMAIN=my_nis_domain

After I reboot my linux box, it has the same problem, no domain name.

Nay idea ?

Thanks in advance.




Sponsored Link
Ads by Google

Response Number 1
Name: Andy Hibbins
Date: July 8, 2001 at 02:14:31 Pacific
Reply:

Have you checked that the ypbind service has started on the redhat machine and that ypserv is running on he solaris machine.

Also can you see what result you get after entering the following from the redhat client:

ypcat hosts.byname


Andy Hibbins :)


0

Response Number 2
Name: Xinshou
Date: July 10, 2001 at 06:09:57 Pacific
Reply:

Thanks, Andy. I may mislead you. ypbind will start if I assign my_nis_domain to the Linux box. The problem is how can I set the domain name for the redhat machine permanently? Any file will store the information ? or any command will set this ?


0

Response Number 3
Name: Mr. Anderson
Date: February 24, 2002 at 09:47:52 Pacific
Reply:

use the following line in /etc/sysconfig/network

NISDOMAIN=my_domain
that should work


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Config NIS domain

NIS client on RedHat 7.2 install. proble www.computing.net/answers/linux/nis-client-on-redhat-72-install-proble/9128.html

NIS and HOME Directory www.computing.net/answers/linux/nis-and-home-directory/15018.html

Patched kernel with binding NIS? www.computing.net/answers/linux/patched-kernel-with-binding-nis/19722.html