Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* NIS problem on Alpha Linux
@ 1999-10-28  4:00 Fran L-G
  1999-10-28  4:00 ` Albrecht Jacobs
  0 siblings, 1 reply; 4+ messages in thread
From: Fran L-G @ 1999-10-28  4:00 UTC (permalink / raw)


Hello,

We are having a problem implementing NIS on some Compaq Alpha
machines running Linux 2.2.5-22 & RedHat 5.2.  Other background
info:

(One alpha machine is a slave server, the master is on a
non-alpha machine running linux)

$ypserv -v
ypserv - NYS YP Server version 1.3.7 (with tcp wrapper)

$ypbind -v
ypbind version 3.3-glibc5

$rpm -qa | grep glibc
glibc-2.1.1-7


I have been able to implement ypserv (for the slave) & ypbind
on all these machines, and am able to successfully mount
NIS-defined automount maps.

However, on these alpha machines only, a user is not able to
login with userid/password via remote login or on the console
when defined in the NIS password & shadow map.  These same NIS
userid & shadow password maps work well on the other non-alpha
Linux machines in this same NIS domain;
these non-alpha machines are running Linux 2.2.5-22 and RedHat 6.0,
and the same versions of ypserv & ypbind as on the alpha machines.
glibc-2.1.1-6 is installed on these non-alpha machines, whereas
the alphas are at glibc-2.1.1-7.

I have tried adding "+::::::" to the end of /etc/passwd, tried
the PAM changes as suggested per Thorsten's NIS HOWTO (section 6.8.3),
but nothing seems to work.  Error messages seen in the logs:

FAILED LOGIN 1 FROM ... FOR ..., Authentication failure


Please, anyone have any advice to get this working?

Please also reply directly to my email address, as I do not
frequent this newsgroup very often.


Fran Lawas-Grodek
(remove "**" to reply)

________________________________________________________________

Frances J. Lawas-Grodek       |     phone: (216) 433-5052
NASA Glenn Research Center    |     fax  : (216) 433-8000
21000 Brookpark Rd, MS 142-2  |     email: fran@grc.nasa.gov
Cleveland, Ohio  44135        |  ** office hours until noon **
________________________________________________________________





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NIS problem on Alpha Linux
  1999-10-28  4:00 Fran L-G
@ 1999-10-28  4:00 ` Albrecht Jacobs
  0 siblings, 0 replies; 4+ messages in thread
From: Albrecht Jacobs @ 1999-10-28  4:00 UTC (permalink / raw)



Have a look at /etc/nsswitch.conf

--
+-------------------------------------------------------------------------+
| cand. aer. Albrecht Jacobs                            CAAD-Labor des
SI |
| Systembetreuung                                  Universit"at
Stuttgart |
|                                                                        
|
| Liegeradgruppe
Stuttgart                                                | 
|  O__           
http://www.architektur.uni-stuttgart.de/users/aj/lieger |
| 
\\_/\-o                                                                |
| (+)   O              
Albrecht.Jacobs@klee.architektur.uni-stuttgart.de |
+-------------------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NIS problem on Alpha Linux
@ 1999-10-29  4:00 Fran L-G
  0 siblings, 0 replies; 4+ messages in thread
From: Fran L-G @ 1999-10-29  4:00 UTC (permalink / raw)



/etc/nsswitch.conf already has already been modified :

passwd:     files nis
shadow:     files nis
group:      files nis

But NIS-defined userid/password still does not work.

Anything else I may check?


Fran Lawas-Grodek
(remove "**" to reply)
--
________________________________________________________________

Frances J. Lawas-Grodek       |     phone: (216) 433-5052
NASA Glenn Research Center    |     fax  : (216) 433-8000
21000 Brookpark Rd, MS 142-2  |     email: fran@grc.nasa.gov
Cleveland, Ohio  44135        |  ** office hours until noon **
________________________________________________________________





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NIS problem on Alpha Linux
@ 1999-11-02  5:00 Fran L-G
  0 siblings, 0 replies; 4+ messages in thread
From: Fran L-G @ 1999-11-02  5:00 UTC (permalink / raw)



I think I have the problem fixed now.

Originally when I was investigating this, our alpha machines were
all at RedHat 5.2 (glibc 2.0.7, ypbind version 3.3-glibc3).  Since
posting my first query in this newsgroup, I then went back to the 
NIS HOWTO, re-read section 6.8.3 on PAM, and re-implemented all 
the changes for exchanging pam_pwdb with the corresponding pam_unix_* 
module throughout all the PAM files. NIS worked this time!  Perhaps 
in my earlier testing I only changed the rlogin PAM file, thinking
to just make minimal changes enough to let the NIS password be
accepted  -- changing *all* the PAM files wherever pam_pwdb appeared
let NIS ids & shadow passwords to be accepted.  So, the solution
was already outlined in the NIS HOWTO, I just didn't follow it
correctly.

To further test the needed PAM changes & RedHat 5.2, we ended up
upgrading one machine to RedHat 6.0, and now NIS & shadow passwords
work without the pam_pwdb/pam_unix_* substitution (PAM changes are not
needed under RedHat 6.0).

Thanks everyone for their time,

Fran Lawas-Grodek

--
________________________________________________________________

Frances J. Lawas-Grodek       |     phone: (216) 433-5052
NASA Glenn Research Center    |     fax  : (216) 433-8000
21000 Brookpark Rd, MS 142-2  |     email: fran@grc.nasa.gov
Cleveland, Ohio  44135        |  ** office hours until noon **
________________________________________________________________





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-11-02  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-02  5:00 NIS problem on Alpha Linux Fran L-G
  -- strict thread matches above, loose matches on Subject: below --
1999-10-29  4:00 Fran L-G
1999-10-28  4:00 Fran L-G
1999-10-28  4:00 ` Albrecht Jacobs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox