[newbie] nis not working

2004-11-01 Thread Russell W. Behne
I've been trying to get nis working on my home network. I'm to the point
where both hosts can mount /home and other directories from the server,
but users still can't log in.  In
http://rampex.ihep.su/Linux/linux_howto/html/tutorials/NIS-HOWTO-9.html
it says that If everything is fine (as it should be), you should be able
to verify your installation with a few simple commands. Assuming, for
example, your passwd file is being supplied by NIS, the command ``ypcat
passwd'' should give you the contents of your NIS passwd file. But wwhen 
I tried it here's what I got:

# ypcat passwd
No such map passwd.byname. Reason: Internal NIS error


Irritably, the howto doesn't say what to do when ypcat passwd doesn't
work. Other things I've tried (and the ressults):

# /etc/init.d/ypserv status
ypserv (pid 11126) is running...

# rpcinfo -p localhost
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp823  status
1000241   tcp826  status
3910022   tcp  32788  sgi_fam
142   udp704  ypserv
141   udp704  ypserv
142   tcp707  ypserv
141   tcp707  ypserv
132   udp   2049  nfs
133   udp   2049  nfs
134   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs
134   tcp   2049  nfs
1000211   udp  33004  nlockmgr
1000213   udp  33004  nlockmgr
1000214   udp  33004  nlockmgr
1000211   tcp  33504  nlockmgr
1000213   tcp  33504  nlockmgr
1000214   tcp  33504  nlockmgr
151   udp804  mountd
151   tcp850  mountd
152   udp804  mountd
152   tcp850  mountd
153   udp804  mountd
153   tcp850  mountd

# rpcinfo -u localhost ypbind
program 17 version 1 ready and waiting
program 17 version 2 ready and waiting

# domainname
fleabite

# ps auwwx|grep yp
root 11126  0.0  0.1  1968  712 ?   S  Nov01   0:00 ypserv
root 12493  0.0  0.1 18392  864 ?   S  00:31   0:00 ypbind

I found this line in the log:
ypserv[11126]: refused connect from 67.21.58.221:33083 to
procedure ypproc_domain_nonack (fleabite,;0)

Note that 67.21.58.221 is the dynamic IP assigned by my ISP. Is there a
way to get the server to use it's static IP, 192.168.18.1? Is this part 
of the problem? I don't know. 

The 2 hosts are 192.168.18.11 and 192.168.18.12, and I can ping them,
they can ping the server, and I can telnet into them from the server
wiith no problem (I set up 1 user account just for this) and then su to
root. 

From the server:
# ypcat passwd
No such map passwd.byname. Reason: Internal NIS error
 
From either of the hosts:
# ypcat passwd
No such map passwd.byname. Reason: Can't bind to server which
serves this domain

I'm getting too burned out to think. Can someone help?

-- 
Mit freundlichen Gren,
Russ.

Sick of democrat and republican lies?
http://badnarik.org/whybadnarik.php
What is freedom, really? See this great flash presentation:
   http://www.isil.org/resources/introduction.swf

 The Muses love the Morning.

 Against Disease here, the strongest Fence,
 Is the defensive Virtue, Abstinence.
 If thou dost ill, the joy fades, not the pains;
 If well, the pain doth fade, the joy remains.

http://www.TruthAboutWar.org
Visit my nursery:
   http://www.angelfire.com/linux/behnesnursery/
The Behne Family Genealogy Project:
http://www.usgenealogy.net/members/rwbehne/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] nis password change doesnt work

2002-09-04 Thread Mike Barnard


I have a network that has a samba serving as the pdc, manages my windows logins, roaming profiles and all.
I have recently finished configuring nfs/nis over mandrake 8.1 as the server and SuSE linux 7.2 on the client side. all my exports are working fine and nothing could be better, except that i cant change the passwords over nis.
whenever i try to using "yppasswd" i get the reply as

Changing NIS account information for mKwatampora on tech.mak.ac.ug.
Please enter old password:
Sorry.
mkwatampora@tech:~>

the password information isnt changed. when i change the password in linuxconf, i can login only when using a windows machine, but cant login with the new password on any linux machine. the troublesome bit comes in because on the linux machines, i can login with the old password that i have just changed over linuxconf.

I have tried to merge the smbpasswd and passwd files but some daemons dont take of when i do this. i have tried creating a new password list to work from but still no hope. Is there anything i am missing? are there any bugs with these two distributions because im thinking of kicking on of the two out.

I have the latest version of ypserv, ypbind and yptools and nfs-utils. i really dont know why it doesnt work. help anybody. 
Thanks Mike

___Be Unique! Get your personalized email address at www.NamePlanet.com

[newbie] Nis on Linux

2002-06-19 Thread Srinivasa Raghavan

Hello All,

I've recently installed Linux on my system and now I want to enable NIS login through 
this. I went through the linux-nis.org -HOWTO to enable NIS. I am mentioning the steps 
followed during the process.

1) Created yp.conf file with the DNS server name and ip address
2) checked domainname and ypdomainname to be same(123.xxx.yyy.com)
3) changed /etc/nsswitch.conf to support nis 
4) created /var/yp directory
5)started ypbind
6) checked if ypbind and portmapper are running-Success

After all this, I ran ypwhich and it gave the following error:

ypwhich: yp_bind Cant find domain name !!! :(

I am clueless about this message and any help on this front will be really appreciated.

Thanks much.
Srini




-
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] NIS XFree86 login problem

2001-04-09 Thread Morrell, Mike A

For those that may come across this in the future, I have solved my own
problem as usual. Make sure that the server and client machines are using
the same user id and group id for the users files. My Debian machine had a
userid of 1000 while the Mandrake machine was using 501. Once I chown and
chgrp all the directoryies and files everything worked fine. I can't wait
for 8.0 to be released to go through this pain again. :-)

-Original Message-
From: Morrell, Mike A [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 11:52 AM
To: '[EMAIL PROTECTED]'
Subject: [newbie] NIS XFree86 login problem


Hello:
I just setup a NIS server on a Debian box and have a Mandrake 7.2 client
that I setup to login using NIS. I added +:: to the passwd file and see
all the users on the login screen, but when I try to login it looks like the
desktop is going to start but I get a grey screen and it jumps back to the
login screen. I don't get any error messages. When I login with the console
everything works fine and I can see the NFS mounted directorys just fine. So
why can't I use XFree86? I've tried Gnome, Sawfish, and KDE with the same
result. Anyone had this problem?




[newbie] NIS XFree86 login problem

2001-04-03 Thread Morrell, Mike A

Hello:
I just setup a NIS server on a Debian box and have a Mandrake 7.2 client
that I setup to login using NIS. I added +:: to the passwd file and see
all the users on the login screen, but when I try to login it looks like the
desktop is going to start but I get a grey screen and it jumps back to the
login screen. I don't get any error messages. When I login with the console
everything works fine and I can see the NFS mounted directorys just fine. So
why can't I use XFree86? I've tried Gnome, Sawfish, and KDE with the same
result. Anyone had this problem?




Re: [newbie] NIS

2000-06-10 Thread John Arkoulis

Thanks Paul. That's exactly it. Thanks again

On Thu, 08 Juan 2000, also sprach:
 On Wed, 7 Jun 2000, John Arkoulis wrote:
 
 When I boot I see a message Binding to NIS domain failed
 What is this. My box still work OK!!!
 
 During installation, did you set up a networking environment? If so,
 there's probably something wrong with it, since the system tries to
 connect to a network domain that it can't locate.
 
 What was that with the L_M hats. Can we buy them
 
 Dunno.
 
 Paul
 
 -- 
 A dream and dedication is a strong combination
 
 )0([[EMAIL PROTECTED]])0(
 http://nlpagan.net -  ICQ 147208
 Registered  Linux  User   174403
-- 
Windoze is a virus with a user interface.
This message was created with Linux




Re: [newbie] NIS

2000-06-09 Thread Paul

On Wed, 7 Jun 2000, John Arkoulis wrote:

When I boot I see a message Binding to NIS domain failed
What is this. My box still work OK!!!

During installation, did you set up a networking environment? If so,
there's probably something wrong with it, since the system tries to
connect to a network domain that it can't locate.

What was that with the L_M hats. Can we buy them

Dunno.

Paul

-- 
A dream and dedication is a strong combination

)0([[EMAIL PROTECTED]])0(
http://nlpagan.net -  ICQ 147208
Registered  Linux  User   174403




Re: [newbie] NIS

2000-06-09 Thread Mark Potochnik

Paul wrote:

 What was that with the L_M hats. Can we buy them

 Dunno.


I sent a nag email to L-M, and Denis replied that they were not
available
but they gave some away at shows (he thought)  I was just re-nagging
him
to get some available.  It would be nice marketing I think.

MarkP




[newbie] NIS

2000-06-08 Thread John Arkoulis

When I boot I see a message Binding to NIS domain failed
What is this. My box still work OK!!!

What was that with the L_M hats. Can we buy them


-- 
Windoze is a virus with a user interface.
This message was created with Linux




Re: [newbie] NIS help

1999-12-15 Thread www.nviet.net


type: setup  and then click on Authen.. and then it will show the []NIS
option which u can disable it..


On Wed, 8 Dec 1999, Kit wrote:

 somehow, upon install...I inadvertently setup a NIS 
 service...thinking I needed this to run a server.
 When I logoff...I've noticed that it doesn't shutdown...and 
 therefore, I'm thinking that maybe this is the reason my modem says 
 it's BUSY all the time...and I can't setup my modem.
 
 How do I turn off this NIS service?
 
 
 ==Kit==
 ICQ#:  7110071
 E-Mail:[EMAIL PROTECTED]
 HomePage:  http://members.xoom.com/kitgoins
 Personal Server:  http://kompukit.myip.org
 ==Kit==
 



[newbie] NIS help

1999-12-09 Thread Kit

somehow, upon install...I inadvertently setup a NIS 
service...thinking I needed this to run a server.
When I logoff...I've noticed that it doesn't shutdown...and 
therefore, I'm thinking that maybe this is the reason my modem says 
it's BUSY all the time...and I can't setup my modem.

How do I turn off this NIS service?


==Kit==
ICQ#:  7110071
E-Mail:[EMAIL PROTECTED]
HomePage:  http://members.xoom.com/kitgoins
Personal Server:  http://kompukit.myip.org
==Kit==



Re: [newbie] NIS help

1999-12-09 Thread Alan Shoemaker

Kitok.  Let's say you're at your desktop (xsession).

 1. press ctl-alt f2 to get to a console
 2. sign in as root
 3. at the console prompt type setup
 4. with the color bar highlight Authentication Configuration (**)
 5. with the tab key highlight Run Tool
 6. press the spacebar to activate Run Tool
 7. using the spacebar remove the asterisk from in front of Enable NIS
 8. using the tab key highlight OK
 9. press the spacebar to activate OK
10. using the tab key highlight Quit
11. press the spacebar to activate Quit and exit setup
12. at the console prompt type exit
13. at the console prompt press ctl-alt f7 to get back to your xsession
 
(**I oops'ed on the first answer)

Alan


Kit wrote:
 
 How do I run SETUP, exactly?  Do you mean linuxconfig?
 if so, how do I turn it off...exactly...you forgetting I'm a NEWBIE?
 LOL...hehehe
 
 On 9 Dec 99, at 7:46, Alan Shoemaker wrote:
 
  Kitrun setup as root and choose 'System Services'.
 
  Alan
 
 
  Kit wrote:
  
   somehow, upon install...I inadvertently setup a NIS
   service...thinking I needed this to run a server.
   When I logoff...I've noticed that it doesn't shutdown...and
   therefore, I'm thinking that maybe this is the reason my modem says
   it's BUSY all the time...and I can't setup my modem.
  
   How do I turn off this NIS service?
  
   ==Kit==
   ICQ#:  7110071
   E-Mail:[EMAIL PROTECTED]
   HomePage:  http://members.xoom.com/kitgoins
   Personal Server:  http://kompukit.myip.org
   ==Kit==
 
 
 ==Kit==
 ICQ#:  7110071
 E-Mail:[EMAIL PROTECTED]
 HomePage:  http://members.xoom.com/kitgoins
 Personal Server:  http://kompukit.myip.org
 ==Kit==



[newbie] NIS

1999-12-07 Thread Dan Ferris

I am attempting to set up NIS to share passwords between two Linux computers. 
When I go to make the NIS database I get the following:

failed to send 'clear' to local ypserv: RPC: Program not registeredfailed to send 
'clear' to local ypserv: RPC: Program not registeredyphelper: This program is for 
internal use from some
  ypserv scripts and should never be called
  from a terminal
failed to send 'clear' to local ypserv: RPC: Program not registeredyphelper: This 
program is for internal use from some
  ypserv scripts and should never be called
  from a terminal
failed to send 'clear' to local ypserv: RPC: Program not registered

These errors come from the password, group, and the shadow files.  I have no
idea, my book doesn't cover this particular error :-(

Any ideas, its probably obvious but I don't know.

Dan



[newbie] NIS

1999-12-07 Thread Dan Ferris

I have been trying to make an NIS database to share passwords and groups
between my two Linux computers, but I keep on getting the following errors when
I try to make the database:

failed to send 'clear' to local ypserv: RPC: Program not registeredfailed to send 
'clear' to local ypserv: RPC: Program not registeredyphelper: This program is for 
internal use from some
  ypserv scripts and should never be called
  from a terminal
failed to send 'clear' to local ypserv: RPC: Program not registeredyphelper: This 
program is for internal use from some
  ypserv scripts and should never be called
  from a terminal
failed to send 'clear' to local ypserv: RPC: Program not registered

I am trying to make a database of the password, group, and shadow files.  Any
ideas???

Dan



[newbie] nis

1999-12-03 Thread Jaswinder S. Ahluwalia

to whom it may concern,

I'm pretty much a newbie to linux but the people at my work want me to
set up a machine as a nis server. A collegue of mine sent me the
following message

 I installed the ypserv RPM
for you.  You can start at the point where you configure
/etc/ypserv.conf.

So, can someone provide me with detailed instructions as to how to do
this?
I looked at the how to and did not understand much of it.

I would greatly appreciate any help you could offer.

Thanks,
Jas