From owner-freebsd-bugs Tue Oct 24 23:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6308637B4C5 for ; Tue, 24 Oct 2000 23:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA90817; Tue, 24 Oct 2000 23:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from magpie.csie.nctu.edu.tw (magpie.csie.nctu.edu.tw [140.113.209.21]) by hub.freebsd.org (Postfix) with ESMTP id 9CD8037B479 for ; Tue, 24 Oct 2000 23:42:57 -0700 (PDT) Received: (from wkwu@localhost) by magpie.csie.nctu.edu.tw (8.11.0/8.9.1) id e9P6f3h62620; Wed, 25 Oct 2000 14:41:03 +0800 (CST) Message-Id: <200010250641.e9P6f3h62620@magpie.csie.nctu.edu.tw> Date: Wed, 25 Oct 2000 14:41:03 +0800 (CST) From: wkwu@csie.nctu.edu.tw Reply-To: wkwu@csie.nctu.edu.tw To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/22284: Change (SunOS) NIS passwd error Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22284 >Category: misc >Synopsis: Change (SunOS) NIS passwd error >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 24 23:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Wei-Kai Wu >Release: FreeBSD 4.1.1-STABLE i386 >Organization: Kavalan >Environment: yp_server: SunOS-4.1.3 sun4m client: FreeBSD 4.1.1-STABLE i386 >Description: We have to using SunOS-4.1.3 yp_server. patch for /usr/src/usr.bin/passwd/yp_passwd.c line: 83 - pw = (struct passwd *)&yp_password; + pw = getpwuid(uid); It worked well before. Now when changing passwd: Changing NIS password for wkwu on nis-server. Old Password: New password: Retype new password: passwd: failed to change NIS password: RPC: Server can't decode arguments I have traced some source. But no idea ... >How-To-Repeat: Using FreeBSD as yp_client to bind SunOS-4.1.3 yp_server. >Fix: No idea. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message