From owner-freebsd-questions Wed Jul 9 13:43:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA07268 for questions-outgoing; Wed, 9 Jul 1997 13:43:41 -0700 (PDT) Received: from FreeBSD.csie.NCTU.edu.tw (jason@freebsd.csie.nctu.edu.tw [140.113.235.250]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA07253 for ; Wed, 9 Jul 1997 13:43:31 -0700 (PDT) Received: (from jason@localhost) by FreeBSD.csie.NCTU.edu.tw (8.8.6/8.8.5) id EAA04578; Thu, 10 Jul 1997 04:42:19 +0800 (CST) From: CQ CQ de Jason Message-Id: <199707092042.EAA04578@FreeBSD.csie.NCTU.edu.tw> Subject: YP client to a Sun YP server To: questions@FreeBSD.ORG, wpaul@skynet.ctr.columbia.edu Date: Thu, 10 Jul 1997 04:42:19 +0800 (CST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I have 2 machines: FreeBSD 2.2-970625-RELENG (YP client) (using DES) SunOS 4.1.4 (YP server) The passwd configuration of FreeBSD should be right, master.passwd: +::::::::: The Sun has run C2conv, that is the encrypted password field is shadowed. Problem now, although ypcat works normally, I just can't do a login. Then I write a little program using getpwnam, the pw_passwd returned is always ##user instead of the encrypted string. I think this is the reason why I can't login. If I run ypcat passwd.adjunct.byname with root, then I can get the encrypted password string. Is it possible for a FreeBSD to ypbind a Sun running C2(passwd shadow)? What else configuration did I miss? in my /etc/sysconfig nis_clientflags="-s -S +my_yp_domain,ypserv.my.domain" nis_ypsetflags="NO" nis_serverflags="NO" ypxfrdflags="NO" yppasswddflags="NO" Jason Chang jason@csie.nctu.edu.tw