From owner-freebsd-questions  Wed Mar 19 10:39:48 2003
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D291937B401
	for <freebsd-questions@freebsd.org>; Wed, 19 Mar 2003 10:39:46 -0800 (PST)
Received: from btcips73x6.cip.uni-bayreuth.de (btcips73x6.cip.uni-bayreuth.de [132.180.237.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 25A0C43F85
	for <freebsd-questions@freebsd.org>; Wed, 19 Mar 2003 10:39:46 -0800 (PST)
	(envelope-from kellner.robert@gmx.net)
Received: from localhost
	([127.0.0.1] helo=btcips73x6 ident=foobar)
	by btcips73x6.cip.uni-bayreuth.de with smtp (Exim 3.36 #1 (Debian))
	id 18viTO-0002bD-00; Wed, 19 Mar 2003 19:39:34 +0100
Date: Wed, 19 Mar 2003 19:39:33 +0100
From: Robert Kellner <kellner.robert@gmx.net>
To: Dan Nelson <dnelson@allantgroup.com>
Cc: freebsd-mailinglist <freebsd-questions@freebsd.org>
Subject: Re: noone can change password with yppasswd
Message-Id: <20030319193933.59466ec6.kellner.robert@gmx.net>
In-Reply-To: <20030319173656.GH91803@dan.emsphone.com>
References: <20030318172040.3491700f.kellner.robert@gmx.net>
	<20030318164358.GB2054@dan.emsphone.com>
	<20030319162257.319d7ff5.kellner.robert@gmx.net>
	<20030319153947.GF91803@dan.emsphone.com>
	<20030319175851.323cb9d6.kellner.robert@gmx.net>
	<20030319173656.GH91803@dan.emsphone.com>
Organization: Universitaet Bayreuth, Department of Physics
X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-debian-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

Ok, now I can change passwords from another machine.
This should work for me, thanks a lot!
If anyone figures out why root cannot change passwords 
local on the nis-master, please let me know!

Again, Thanks a lot!

Robert

On Wed, 19 Mar 2003 11:36:56 -0600
Dan Nelson <dnelson@allantgroup.com> wrote:

> In the last episode (Mar 19), Robert Kellner said:
> > I am not using /etc/master.passwd as NIS passwd, I have a sepearte
> > master.passwd in /var/yp I commented out the daemon(0,0) call and I
> > got the following (as root):
> > 
> > from yppasswd:bash-2.05b# yppasswd testuser
> > Changing NIS password for testuser
> > Old Password:
> > New Password:
> > Retype New Password:
> > yppasswd: pam_chauthtok(): error in service module
> > 
> > /var/log/messages:Mar 19 16:58:03 btcips73x1 yppasswd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: btcips73x1.cip.uni-bayreuth.de: RPC: Program not registered
> 
> My patch doesn't address your first problem (the failure to change
> passwords on the local machine), only the second (pwd_mkdb() failing
> because it shouldn't even be run).  Try it from another machine and see
> what happens.
> 
> -- 
> 	Dan Nelson
> 	dnelson@allantgroup.com
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message