From owner-freebsd-questions Sun Jan 19 10:06:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA12386 for questions-outgoing; Sun, 19 Jan 1997 10:06:12 -0800 (PST) Received: from obie.softweyr.ml.org ([199.104.124.49]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA12381 for ; Sun, 19 Jan 1997 10:06:06 -0800 (PST) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id LAA04211; Sun, 19 Jan 1997 11:05:14 -0700 (MST) Date: Sun, 19 Jan 1997 11:05:14 -0700 (MST) Message-Id: <199701191805.LAA04211@obie.softweyr.ml.org> From: Wes Peters To: Pbl , pzwf0@wwscso.amdahl.com CC: questions@freebsd.org Subject: Re: ypclient talking to sun nis slave? In-Reply-To: <32DFDC0E.41C67EA6@dorotech.fr> References: <199701171617.QAA02208@suntsg04.eur.amdahl.com> <32DFDC0E.41C67EA6@dorotech.fr> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk pzwf0@wwscso.amdahl.com wrote: % I have been trying to get my bsd 2.2-beta system to act as a yp % client to a ypserver running on solaris 2.5.1 fritz!pbl@dorotech.fr writes: > I have the same problem on a FreeBSD 2.1.5 Release box... > > ... I have to modify the crypt() function in libscrypt to obtain the > correct and shorter local password. These modifications are not clean > and I wonder why this difference exists between Solaris NIS password > encoding and FreeBSD password encoding ??? Because FreeBSD by default uses an MD5 digest of the password rather than a DES encryption of the password. GENERAL RULE ALERT: IF YOU WANT TO USE NIS (aka Yellow Pages) BETWEEN FREEBSD AND OTHER UNIX SYSTEMS YOU *MUST* INSTALL THE DES DISTRIBUTION. If you don't FreeBSD will continue to try to use a completely different encrypted password format, and it will *never* work. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com