Subject: Re: Kerberos 5 passwd/kpasswd & /etc/services?
To: Hans-Christian Becker <hcb@phc.chalmers.se>
From: Johan Danielsson <joda@pdc.kth.se>
List: tech-security
Date: 07/06/2000 17:24:45
  by mail.netbsd.org with SMTP; 6 Jul 2000 15:24:54 -0000
	id 13ADWA-0003Sp-00; Thu, 06 Jul 2000 17:24:46 +0200
To: Hans-Christian Becker <hcb@phc.chalmers.se>
Cc: tech-crypto@netbsd.org,  tech-security@netbsd.org
Subject: Re: Kerberos 5 passwd/kpasswd & /etc/services?
References: <p04320400b58a43d13377@[129.16.97.50]>
From: joda@pdc.kth.se (Johan Danielsson)
Date: 06 Jul 2000 17:24:45 +0200
In-Reply-To: Hans-Christian Becker's message of "Thu, 6 Jul 2000 16:12:35 +0200"
Message-ID: <xofd7krp9he.fsf@blubb.pdc.kth.se>
Lines: 33
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hans-Christian Becker <hcb@phc.chalmers.se> writes:

> login in free(): warning: chunk is already free.
> login in free(): warning: chunk is already free.
> login in free(): warning: chunk is already free.

Don't know about this, can you do

ln -s A /etc/malloc.conf

and try login again. This should cause it do dump core (remember to
remove that symlink).

> More frustrating is that I cannot change my password:

> passwd: krb5_change_password: Bad file descriptor

It would be interesting to know where it gets that error. It's
probably too much work to recompile with debug, but you could run
ktrace on passwd. Are you running a kpasswdd?

> If I add the lines above to /etc/services, only
> passwd: krb5_change_password: Bad file descriptor
> remains.

The warning is just that, it should work anyway.

> * /usr/sbin/kerberos
> * /usr/libexec/registerd

These are krb4 services, that should go away.

/Johan