[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heimdal 0.6.4 KDC v4 support broken?

On Fri, 2005-05-27 at 13:50 -0400, Brandon S. Allbery KF8NH wrote:
> 	if(ret != HDB_ERR_NOENTRY || 
> 	   (ret == HDB_ERR_NOENTRY && strcmp(ad.prealm, v4_realm) == 0)) {

> This seems a bit wrong; it loses with "Client not found in database:
> (krb4) ... : Error 0" for valid clients.  (And the second condition
> seems even more wrong.)

Okay, never mind that last; I figured out it's saying "not found and not
supposed to be referred elsewhere" or something like that.  The actual
fix is to wrap the whole thing in if (ret) { ... } .

brandon s. allbery   [linux,solaris,freebsd,perl]      allbery@kf8nh.com
system administrator      [WAY too many hats]        allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon univ.         KF8NH