From owner-freebsd-current Mon Mar 18 02:40:03 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA14956 for current-outgoing; Mon, 18 Mar 1996 02:40:03 -0800 (PST) Received: from phoenix.csie.nctu.edu.tw (root@phoenix.csie.nctu.edu.tw [140.113.17.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA14905 for ; Mon, 18 Mar 1996 02:40:00 -0800 (PST) Received: from FreeBSD.csie.NCTU.edu.tw (root@freebsd.csie.nctu.edu.tw [140.113.235.250]) by phoenix.csie.nctu.edu.tw (8.6.11/8.6.4) with ESMTP id SAA00483 for ; Mon, 18 Mar 1996 18:40:13 +0800 Received: (from jdli@localhost) by FreeBSD.csie.NCTU.edu.tw (8.7.3/8.7.3) id SAA01078 for freebsd-current@FreeBSD.ORG; Mon, 18 Mar 1996 18:40:04 +0800 (CST) From: Jian-Da Li Message-Id: <199603181040.SAA01078@FreeBSD.csie.NCTU.edu.tw> Subject: YP/NIS Problem To: freebsd-current@FreeBSD.ORG Date: Mon, 18 Mar 1996 18:40:04 +0800 (CST) X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi : I am setting up a self-nis client/server. (ie. the host runs both ypbind and ypserv) I am running a CURRENT at 96/02/10, and have these problems : 1. "ypcat SOMETHING" reports correct info, but will complain "No such map XXX.byXXX. Reason: No more records in map database" in the final line. But those files are in /vay/yp/NIS_DOMAIN/ 2. NIS is out of work in chroot environment. When I chroot someone, he can't resolve NIS anymore. ypwhich works, but not others. id, passwd, ypcat die. But I am sure that $CHROOT/etc/*passwd are set correctly. 3. root change yp-user's password needs OLD password. (I remembered that this has been fixed) 4. Should I upgrade my NIS-related files to the most recently current ?! If yes, which files I should compile ?! (yp*, libc ?!, passwd ?) Thanks for your help. -- 李 建 達 (Jian-Da Li) 交大資工 E-Mail : jdli@csie.nctu.edu.tw