[1205] in linux-net channel archive
login can't cope with NYS ?!
daemon@ATHENA.MIT.EDU (sneumann@TechFak.Uni-Bielefeld.DE)
Thu Oct 12 01:41:34 1995
From: sneumann@TechFak.Uni-Bielefeld.DE
Date: Wed, 11 Oct 1995 18:16:14 +0100
To: linux-admin@vger.rutgers.edu
Cc: linux-net@vger.rutgers.edu
Hi!
We have the followin problem with NYS:
No User can login on our lab machines. That's bad.
But NYS works otherwise:
If root logs in (root passwd in /etc/passwd) a ls -l maps all
UIDs (from the NFS mounted homedirs) to usernames correctly.
A ypcat passwd returns everything fine.
/bin/login seems to be NYS aware:
If we start ypserv with -d it shows that during a login on a lab machine
a yp request returns the password (log at the end of this mail).
Our Setup:
Server: Slackware 2.3, ypserv is 0.13.1
Client: Slackware 3.0.0 ypbind
Client and Server are in different ethernet segments and different DNS
domains. Does this matter ? Shouldn't.
Has the passwd encryption changed ? Shouldn't.
ypcat passwd | grep sn
shows same entry on both machines.
Of course the different slackware are a thing to check first, but since
both use ypserv 0.13.1 They should be able to cooperate.
In what direction should we point our investigations ? Thanx,
Steffen
Steffen Neumann Computer science is the dangerous
sneumann@techfak.uni-bielefeld.de attempt to overcome human intelligence
Attachment:
This is an excerpt of ypserv -d output:
===============================================
telnet sowifs (client)
login:sneumann
ypserver reports:
ypproc_match(): [From: 129.70.30.246:831]
domainname = "on"
mapname = "passwd.byname"
keydat = "sn"
open_database("on", "passwd.byname")
->Returning OK!
read_database(), gdbm_nextkey()
-> Value = "sn:F.a9.L5gHK4n.:1014:300:Steffen Neumann:/homes/sn:/bin/bash"
and login fails
same from the ypserver (which is its own client, with just a bare /etc/passwd:)
telnet mathfs
login> sneumann
ypproc_match(): [From: 129.70.27.71:642]
domainname = "on"
mapname = "passwd.byname"
keydat = "sn"
open_database("on", "passwd.byname")
->Returning OK!
read_database(), gdbm_nextkey()
-> Value = "sn:F.a9.L5gHK4n.:1014:300:Steffen Neumann:/homes/sn:/bin/bash"