Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 98 10:00:40 +0100
From:      Thierry.Herbelot@alcatel.fr
To:        jal@mcs.le.ac.uk
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Bug in 3-0 RELEASE?
Message-ID:  <H000057c019cadfc@MHS>
In-Reply-To: <23069.9811051514@sun2.mcs.le.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

maybe it's not a bug, but a Feature ;-))

I haven't checked it for 3.0, but 2.2 used to encode passwords via an
MD5-based encryption, whereas trditionnaly UNIX (and NIS/YP) uses DES, so
you can't directly exchange password databases (in the shadow database,
MD5-passwords begin with $1$, I think).

To get around this difficulty, you have to tell FreeBSD to encode
passwords with DES (I don't remember how .... but there must be something
in the handbook)

	TfH



> This is probably the wrong place to post this, but as I'm not on any of
the 
> mailing lists, sorry but here goes.
> 
> There appears to be a problem with 3.0-RELEASE when trying to use NIS
for user 
> login.
> I have 3.0 installed set up as a nis client.  when I try and log in
using the 
> nis account I get
> 
> Login Incorrect.
> 
> If I look at the traffic to the NIS master it is interrogating it
correctly and 
> 
> getting the correct reply.  If I log in as root and su to the user I
get the 
> users filestore.  I get the correct maps with ypcat.  Local users can
log in 
> fine.  I create a local user with the same shell and home as my remote
user, he 
> 
> can log in, put a + infront of the password entry to get it use a NIS
map and he
>  
> cannot log in.  I _KNOW_ I'm typing in the correct password.
> Any ideas?
> 
> Please mail directly to me at
> 
> jal@mcs.le.ac.uk
> 
> Many thanks
> 
> 
> 
> John Landamore			| Researchers have already cast much darkness |
> Sys. Admin.			| on the subject, and if they continue their  |
> 				| investigations we shall soon know nothing   |
> e-mail:	jal@mcs.le.ac.uk	| at all about it.			      |
> 				|		- Mark Twain -		      |
> 
> Phone: 	+44 (0)116 2523410
> Fax: 	+44 (0)116 2523604
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?H000057c019cadfc>