pam doesn't see nis

2003-08-20 Thread Peter Nome

I've been running into a problem with NIS on Debian -- everything looks like it 
should be working, but logins fail with pam saying "user unknown".

Here's an example -- I can change the password, so clearly NIS is working, yet 
at the end the login fails:

[EMAIL PROTECTED]:~# yppasswd student
Changing NIS account information for student on graywhale.
Please enter root password:
Changing NIS password for student on graywhale.
Please enter new password:
Please retype new password:

The NIS password has been changed on graywhale.

[EMAIL PROTECTED]:~# su student
su: Authentication service cannot retrieve authentication info.
(Ignored)
[EMAIL PROTECTED]:/root$

Here's what my auth.log says when I try ssh jellyfish -l student:

Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: check pass; user unknown
Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: authentication failure; 
logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=graywhale

I saw someone post the identical problem to debian-users (and receive no 
reply), so I guess it affects a number of people.

Oh, and I should mention: I had this working! Late July, after the last nis 
upgrade. I did some other upgrade, no idea what, and got the problem. ypcat 
passwd and all kinds of other NIS map commands work fine. 

This is an updated Debian sid running nis 3.9-6.3. I'm setting this up for a 
high school lab (remotely), and we're all ready to go aside from this.

Please cc me -- any suggestions much appreciated! I'm happy to suppy more 
information.

Cheers,
Peter



pam doesn't see nis

2003-08-20 Thread Peter Nome

I've been running into a problem with NIS on Debian -- everything looks like it should 
be working, but logins fail with pam saying "user unknown".

Here's an example -- I can change the password, so clearly NIS is working, yet at the 
end the login fails:

[EMAIL PROTECTED]:~# yppasswd student
Changing NIS account information for student on graywhale.
Please enter root password:
Changing NIS password for student on graywhale.
Please enter new password:
Please retype new password:

The NIS password has been changed on graywhale.

[EMAIL PROTECTED]:~# su student
su: Authentication service cannot retrieve authentication info.
(Ignored)
[EMAIL PROTECTED]:/root$

Here's what my auth.log says when I try ssh jellyfish -l student:

Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: check pass; user unknown
Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: authentication failure; logname= uid=0 
euid=0 tty=NODEVssh ruser= rhost=graywhale

I saw someone post the identical problem to debian-users (and receive no reply), so I 
guess it affects a number of people.

Oh, and I should mention: I had this working! Late July, after the last nis upgrade. I 
did some other upgrade, no idea what, and got the problem. ypcat passwd and all kinds 
of other NIS map commands work fine. 

This is an updated Debian sid running nis 3.9-6.3. I'm setting this up for a high 
school lab (remotely), and we're all ready to go aside from this.

Please cc me -- any suggestions much appreciated! I'm happy to suppy more information.

Cheers,
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pam doesn't see nis

2003-08-20 Thread Jamie Heilman
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204711



Re: pam doesn't see nis

2003-08-20 Thread Huegesh Marimuthu
I guess you just have to add +:: in /etc/passwd; + in
/etc/shadow and it will be okay.

Your sincerely,
Huegesh Marimuthu

On Wed, 20 Aug 2003, Peter Nome wrote:

> 
> I've been running into a problem with NIS on Debian -- everything looks like 
> it should be working, but logins fail with pam saying "user unknown".
> 
> Here's an example -- I can change the password, so clearly NIS is working, 
> yet at the end the login fails:
> 
> [EMAIL PROTECTED]:~# yppasswd student
> Changing NIS account information for student on graywhale.
> Please enter root password:
> Changing NIS password for student on graywhale.
> Please enter new password:
> Please retype new password:
> 
> The NIS password has been changed on graywhale.
> 
> [EMAIL PROTECTED]:~# su student
> su: Authentication service cannot retrieve authentication info.
> (Ignored)
> [EMAIL PROTECTED]:/root$
> 
> Here's what my auth.log says when I try ssh jellyfish -l student:
> 
> Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: check pass; user unknown
> Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: authentication failure; 
> logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=graywhale
> 
> I saw someone post the identical problem to debian-users (and receive no 
> reply), so I guess it affects a number of people.
> 
> Oh, and I should mention: I had this working! Late July, after the last nis 
> upgrade. I did some other upgrade, no idea what, and got the problem. ypcat 
> passwd and all kinds of other NIS map commands work fine. 
> 
> This is an updated Debian sid running nis 3.9-6.3. I'm setting this up for a 
> high school lab (remotely), and we're all ready to go aside from this.
> 
> Please cc me -- any suggestions much appreciated! I'm happy to suppy more 
> information.
> 
> Cheers,
> Peter
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



Re: pam doesn't see nis

2003-08-20 Thread Andreas Barth
* Huegesh Marimuthu ([EMAIL PROTECTED]) [030820 13:35]:
> I guess you just have to add +:: in /etc/passwd; + in
> /etc/shadow and it will be okay.

Wrong. This was even deprecated when I started using Linux in 1996.

No, nis is just broken on sid. See e.g. http://bugs.debian.org/204682


To the original poster: If you want really working code, take woody.
Security updates are also only for woody. It is appreciated if you
help testing and bug fixing, but it is not recommended for production
use.

And please remember - sid is the boy next door who destroys toys.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C



Re: pam doesn't see nis

2003-08-20 Thread Peter Nome
Quoting Jamie Heilman <[EMAIL PROTECTED]>:

> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204711
> 

Thanks for the help on the NIS problem -- it's a known bug in sid (glibc/libc6 
most likely).

Sid sometimes gets mistaken for the boy next door who destroys toys, quite 
unfairly.
He's the guy in the choir, with a very occasional spitball.

Cheers,
Peter



Re: pam doesn't see nis

2003-08-20 Thread Jamie Heilman
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204711


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pam doesn't see nis

2003-08-20 Thread Huegesh Marimuthu
I guess you just have to add +:: in /etc/passwd; + in
/etc/shadow and it will be okay.

Your sincerely,
Huegesh Marimuthu

On Wed, 20 Aug 2003, Peter Nome wrote:

> 
> I've been running into a problem with NIS on Debian -- everything looks like it 
> should be working, but logins fail with pam saying "user unknown".
> 
> Here's an example -- I can change the password, so clearly NIS is working, yet at 
> the end the login fails:
> 
> [EMAIL PROTECTED]:~# yppasswd student
> Changing NIS account information for student on graywhale.
> Please enter root password:
> Changing NIS password for student on graywhale.
> Please enter new password:
> Please retype new password:
> 
> The NIS password has been changed on graywhale.
> 
> [EMAIL PROTECTED]:~# su student
> su: Authentication service cannot retrieve authentication info.
> (Ignored)
> [EMAIL PROTECTED]:/root$
> 
> Here's what my auth.log says when I try ssh jellyfish -l student:
> 
> Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: check pass; user unknown
> Aug 20 01:02:51 jellyfish ssh(pam_unix)[21143]: authentication failure; logname= 
> uid=0 euid=0 tty=NODEVssh ruser= rhost=graywhale
> 
> I saw someone post the identical problem to debian-users (and receive no reply), so 
> I guess it affects a number of people.
> 
> Oh, and I should mention: I had this working! Late July, after the last nis upgrade. 
> I did some other upgrade, no idea what, and got the problem. ypcat passwd and all 
> kinds of other NIS map commands work fine. 
> 
> This is an updated Debian sid running nis 3.9-6.3. I'm setting this up for a high 
> school lab (remotely), and we're all ready to go aside from this.
> 
> Please cc me -- any suggestions much appreciated! I'm happy to suppy more 
> information.
> 
> Cheers,
> Peter
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pam doesn't see nis

2003-08-20 Thread Andreas Barth
* Huegesh Marimuthu ([EMAIL PROTECTED]) [030820 13:35]:
> I guess you just have to add +:: in /etc/passwd; + in
> /etc/shadow and it will be okay.

Wrong. This was even deprecated when I started using Linux in 1996.

No, nis is just broken on sid. See e.g. http://bugs.debian.org/204682


To the original poster: If you want really working code, take woody.
Security updates are also only for woody. It is appreciated if you
help testing and bug fixing, but it is not recommended for production
use.

And please remember - sid is the boy next door who destroys toys.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pam doesn't see nis

2003-08-20 Thread Peter Nome
Quoting Jamie Heilman <[EMAIL PROTECTED]>:

> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204711
> 

Thanks for the help on the NIS problem -- it's a known bug in sid (glibc/libc6 most 
likely).

Sid sometimes gets mistaken for the boy next door who destroys toys, quite unfairly.
He's the guy in the choir, with a very occasional spitball.

Cheers,
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]