Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-20-2000, 07:57 PM
|
#1
|
LQ Newbie
Registered: Sep 2000
Location: austin, tx
Posts: 14
Rep:
|
okay i am halfway thru my sair cert. and i want to setup nis before i go for the networking test, so any help would be very appreciated. read the howto's for nis, believe i setup everything but for now i am getting an error "domain not bound when i type ypwhich on the server. can you be a server and host? i have rpc.portmap, ypserv and ypbind running on a slackware 7.1 nfs, samba server. i have edited all the files in the howto and will list them below.
hosts.conf:
multi on
order files, nis
passwd:
+phil::::::
yp.conf:
ypserver <nis.linux>
nsswitch.conf:
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis
hosts: files nisplus nis dns
services: nisplus [NOTFOUND=return] files
networks: nisplus [NOTFOUND=return] files
protocols: nisplus [NOTFOUND=return] files
rpc: nisplus [NOTFOUND=return] files
ethers: nisplus [NOTFOUND=return] files
netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
i've run the rpcinfo -u localhost ypserv command and got the following:
program 100004 version 1 ready and waiting
program 100004 version 2 ready and waiting
i've run the /usr/lib/yp/ypinit -m command to make the database and everything seem to go fine.
let me know if this is too much or not enough info. hope this is any easy one.
|
|
|
11-21-2000, 01:14 PM
|
#2
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,617
|
Did you create a domain? The syntax is
Code:
domainname nameyouwant
|
|
|
11-21-2000, 02:28 PM
|
#3
|
LQ Newbie
Registered: Sep 2000
Location: austin, tx
Posts: 14
Original Poster
Rep:
|
yes i did that also. the exact error i get is(from the ypwhich command).
YBINDPROC_DOMAIN: domain not bound
ypwhich: host nis.linux unknown
[Edited by ltd on 11-21-2000 at 09:53 PM]
|
|
|
02-28-2001, 12:00 PM
|
#4
|
LQ Newbie
Registered: Sep 2000
Location: austin, tx
Posts: 14
Original Poster
Rep:
|
nis
here's what i finally got to work. in this order
on nis server:
add users you want to login
type ypserv
type domainname whatever.com
cd /yp vi makefile find the ALL: line and change to
ALL: ypservers passwd group hosts hosts shadow
type make
cd /usr/lib/yp type ./ypinit -m (it will stop at a question, do a ctr d to end)
on nis client:
cd /etc vi passwd, line after halt, add +:::::: and delete all lines after
type domainname whatever.com (same as on server)
type ypbind
logout and login at login prompt
this worked for me in that order, but then i couldn't get xwindows to work on the client, probably have to edit the Xauthority file
incase you didn't know nis is very insecure and rarely used. but if your like me and just like to play it's kind of cool. just replace your passwd file with passwd.old to go back to local login.
|
|
|
All times are GMT -5. The time now is 11:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|