Subject: Re: poppassd build failure
To: None <tech-pkg@NetBSD.org>
From: Takahiro Kambe <taca@back-street.net>
List: tech-pkg
Date: 06/15/2005 10:51:42
hi,

In message <Pine.NEB.4.62.0506142052100.25081@p130.piuha.net>
	on Tue, 14 Jun 2005 21:01:43 +0300 (EEST),
	Martti Kuparinen <martti.kuparinen@iki.fi> wrote:
> Taken directy from MESSAGE, i.e.
> 
> poppass stream tcp nowait root /usr/pkg/libexec/poppassd poppassd
> poppass stream tcp6 nowait root /usr/pkg/libexec/poppassd poppassd
I see.

> > Or you could use "-t" option to check what's going on.
> 
> I added -d -t /tmp/logfile and tried again:
Did you wrote whole content of /tmp/logfile?

> Jun 14 20:56:13.095 2005 [26553] ...changing standard password
> Jun 14 20:56:13.095 2005 
> Jun 14 20:56:13.106 2005 [13964] ...read: (13) 'Old Password:'
> Jun 14 20:56:13.106 2005 
> Jun 14 20:56:13.106 2005 [13964] match; str=(14)'Old Password:\n'; pat=(44)'chan
> ging local password for *\nold password: '
> Jun 14 20:56:13.106 2005 
> Jun 14 20:56:13.106 2005 [13964] ...returning 0
> Jun 14 20:56:13.106 2005 
> Jun 14 20:56:13.106 2005 [13964] match; str=(14)'Old Password:\n'; pat=(38)'chan
> ging password for *\nold password: '
It seems something wrong with conversation to passwd(1) via pty.
Can you change your password from command line?  And output is same as below?

% passwd 
Changing local password for taca.
Old password:
New password:
Retype new password:
% 

> The password (nor Samba password) was changed.
The password wasn't changed?  Samba password should not changed unless
you had specify "-S" option.

Cheers.

-- 
Takahiro Kambe <taca@back-street.net>