From owner-freebsd-stable Sat Sep 18 5:26:51 1999 Delivered-To: freebsd-stable@freebsd.org Received: from abc.123.org (123.org [195.244.241.123]) by hub.freebsd.org (Postfix) with ESMTP id D503A14F20 for ; Sat, 18 Sep 1999 05:26:45 -0700 (PDT) (envelope-from k@abc.123.org) Received: (from k@localhost) by abc.123.org (8.9.3/8.9.3) id OAA10605 for freebsd-stable@freebsd.org; Sat, 18 Sep 1999 14:26:40 +0200 (CEST) (envelope-from k) Message-ID: <19990918142639.C5986@123.org> Date: Sat, 18 Sep 1999 14:26:39 +0200 From: Kai Voigt To: freebsd-stable@freebsd.org Subject: Problems with FreeBSD as a YP client Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.93.2i Organization: 123.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Iīm having some problems with getting a fresh installed FreeBSD 3.3-RELEASE machine running as a YP/NIS client. The server is a SunOS 4.1.3 machine running ypserv. I started ypbind on the FreeBSD box and the users can login into it, but they canīt change the passwords. After entering the old password, "passwd" says "sorry" and exits. Obviously, getpwent(3) seems nasty, it returns "##username" as pw_passwd, not the encrypted password. When running "ypcat passwd", I indeed get "##username" in the password field, but "ypcat passwd.adjunct.byname" shows me the encrypted passwords. So, why isnīt getpwent(3) using the correct map? And yes, Iīm running ypbind with -s as an option. Any help would be very great, since changing passwords is essential :-) Have a nice weekend, Kai -- kai voigt hamburger chaussee 36 24113 kiel 0431-642677 http://k.123.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message