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

Re: dump/load bug (again)



Leif Johansson wrote:
> There _must_ be a bug in dump/load of databases. This is
> what i did, in this order (on a linux-box this time):
> 
> - created a realm with just the default principals and myself
> - kadmin -l dump /tmp/kdc.dump
> - edited kdc.dump: created and deleted an empty line, just to
>   change the dates on the file.
> - stopped the kdc
> - kadmin -l load /tmp/kdc.dump
> - started the kdc
> 
> - failed to kinit myself! The kdc log reports the same message
>   as I reported last time; failed to decrypt PA_ENC data.

Are you using Berkeley DB and master key? I reported that bug.
One command (if I remember it correctly it was dump) is not decrypting 
keys with master-key. 

                                  Miroslav Ruda
-- 

+--------------------------------------+------------------------------------+
| Miroslav Ruda, system administrator  | Institute of Computer Science      |
| Phone: +420 5 41512258               | Masaryk University                 |
| Fax:   +420 5 41212747               | Botanicka 68a                      |
| E-mail: ruda@ics.muni.cz             | 602 00 Brno                        |
| WWW: http://www.fi.muni.cz/~ruda     | Czech Republic                     |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~