LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2000, 06:57 PM   #1
ltd
LQ Newbie
 
Registered: Sep 2000
Location: austin, tx
Posts: 14

Rep: Reputation: 0

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.



 
Old 11-21-2000, 12:14 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Did you create a domain? The syntax is
Code:
domainname nameyouwant
 
Old 11-21-2000, 01:28 PM   #3
ltd
LQ Newbie
 
Registered: Sep 2000
Location: austin, tx
Posts: 14

Original Poster
Rep: Reputation: 0
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]
 
Old 02-28-2001, 11:00 AM   #4
ltd
LQ Newbie
 
Registered: Sep 2000
Location: austin, tx
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS-Problem - search for NIS-Guru or SuSE Profesional krischeu MEPIS 0 06-16-2005 07:21 AM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration