Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 14:41:03 +0800 (CST)
From:      wkwu@csie.nctu.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/22284: Change (SunOS) NIS passwd error
Message-ID:  <200010250641.e9P6f3h62620@magpie.csie.nctu.edu.tw>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010250641.e9P6f3h62620>