On Fri, Nov 16, 2001 at 10:33:18PM +0100, Turbo Fredriksson wrote:
> >>>>> "Nicolas" == Nicolas Williams <[EMAIL PROTECTED]> writes:
> 
>     Nicolas> On Fri, Nov 16, 2001 at 04:22:01PM +0100, Turbo
>     Nicolas> Fredriksson wrote:
> 
>     >> >>>>> "Nicolas" == Nicolas Williams <[EMAIL PROTECTED]>
>     >> writes:
> 
> So... Since I actually remembers the K/M principal password (have it in my
> Palm, encrypted with strip), I can risk loosing the stash file... ?
> I can just create a new when/if I need it?

Right.

>     >> I know where the stash file is, but the actual database? Could
>     >> these be it?
>     >> 
>     >> ----- s n i p ----- [papadoc.root]# pwd /var/lib/krb5kdc
>     >> [papadoc.root]# ll total 1068 -rw------- 1 root root 40960 Nov
>     >> 14 12:37 principal
> 
>     Nicolas> ^^^^ This is the database.
> 
> Oki, so 'kdb5_util dump /var/lib/krb5kdc/principal' would do it...
> 
> Nope, that trashed my complete KDC... Dang!

This is why I said RTFM. So you know, RTFM means "Read The Fine Manual".

It just so happens that kdb5_util knows where the KDC database is the
same way that the krb5kdc process knows: that information is in
/etc/kdc.conf, NOT on the command line.

> What's that principal.kadm5 file then? Any chance I can restore the db now?
> 
> 
> -- 
>  Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
>  ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
>          / / | | '_ \| | | \ \/ /   Debian Certified Linux Developer  
>   _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson   [EMAIL PROTECTED]
>   \\\/  \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden
> 

Cheers,

Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Reply via email to