From owner-freebsd-questions Mon Jun 3 08:08:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA22215 for questions-outgoing; Mon, 3 Jun 1996 08:08:48 -0700 (PDT) Received: from mail.rwth-aachen.de (mail.RWTH-Aachen.DE [137.226.144.9]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA22193 for ; Mon, 3 Jun 1996 08:08:44 -0700 (PDT) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de) by mail.rwth-aachen.de (PMDF V5.0-4 #13110) id <01I5H8XYVG34000QQT@mail.rwth-aachen.de>; Mon, 03 Jun 1996 16:40:24 +0100 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id QAA05809; Mon, 03 Jun 1996 16:45:51 +0200 Date: Mon, 03 Jun 1996 16:45:50 +0200 (MET DST) From: "Christoph P. Kukulies" Subject: Re: Problems with NIS and LINUX In-reply-to: <9606031338.AA17292@trem.cnt.org.br> To: ormonde@trem.cnt.org.br (Rodrigo Ormonde) Cc: questions@freebsd.org Reply-to: Christoph Kukulies Message-id: <199606031445.QAA05809@gilberto.physik.rwth-aachen.de> MIME-version: 1.0 X-Mailer: ELM [version 2.4ME+ PL16 (25)] Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi. > > I've configured NIS in my 2.1R FreeBSD. It'll be the NIS server for a small > network of 5 Linux machines. > I've made the maps, started the daemons on the server and on the clients and > everythink is ok. The clients can get the maps correctly, but there is a big > problem: the password encription algorithms for Linux and FreeBSB are completely > different. Linux uses the standard crypt based on the DES while FreeBSD uses > crypt based on the MD5. Because of that, Linux can't verify the passwords in > the NIS passwd map and thus nobody can log in. > > Does anybody knows any solution/workaround for this problem ? > > (I don't want to install FreeBSD on the client machines because they have > only 4Mbytes of memory and a small hardisk. In this conditions, Linux runs > better. Also, I'd like to run FreeBSD on the server because it has a better > NFS implementation and is more stable than Linux) I have exactly (not quite since there is not Linux but other OSes around, OSF/1, HP-UX, Ultrix) the same problem. A solution is to compile 'the world' using DES encryption. (internat.freebsd.org) and link /usr/lib/libcrypt.so.* -> /usr/lib/libdescrypt.so.* (BTW, though I did the above I'm not yet seeing any DES encrypted passwds in my master.passwd file). Maybe I have to reboot or even built a new kernel? > > Thanks in advance. > > -- > Rodrigo de La Rocque Ormonde > Confederacao Nacional do Transporte > e-mail: ormonde@cnt.org.br > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de