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

Re: hprop failure




"Henry B. Hotz" <hotz@jpl.nasa.gov> writes:

>> /usr/heimdal/libexec/hprop --source=heimdal
>> --v5-realm=INT-AFS.JPL.NASA.GOV --encrypt --master-key=/key --stdout
>> |  /usr/heimdal/libexec/hpropd --stdin
>> hprop: hdb_foreach: write: Broken pipe
>
> And from kdc.log:
>> 2005-02-16T18:13:53 db_store: Unknown error
>
> Any thoughts?
>
> After doing the self-encryption I have the same number of principals
> as  before, even with this error.  Is it safe to believe the problem
> has  something to do with mis-handling end-of-file on a pipe and isn't
> important?

Just to make sure, I would patch the line in hpropd.c the prints db_store
to also print the error code of you have a chance of figuring out what went
wrong.

   396                  } else if(ret) 
   397                      krb5_err(context, 1, ret, "db_store");
   398                  else
   399                      nprincs++;


Love


PGP signature