Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 7 Oct 2005 17:31:54 +0200
From: Lionel Cons <lionel.cons@...n.ch>
To: "Heiko Schulz" <heiko@...hematik.uni-stuttgart.de>
CC: john-users@...ts.openwall.com
Subject: Re: problem with unafs

Heiko Schulz writes:
 > I tried to use unafs to convert my kaserver.DB0 file, but it failed.
 > It works very well on an old kaserver.DB0 from Transarc AFS 3.4; so
 > I believe unafs is unable to handle newer openafs databases. Who can
 > help me? I tried the debian version 1.6.37 and john-1.6.39 from source.

Heiko,

I've made some tests on my side and it seems that some kaserver.DB0
files created by OpenAFS contain incorrect header information.

Try the following patch, it works for me.

Cheers,

Lionel

--- unafs.c~    2002-04-10 16:13:25.000000000 +0200
+++ unafs.c     2005-10-07 17:29:49.000000000 +0200
@@ -41,6 +41,7 @@
        size =
                ((long)buffer[6] << 8) +
                (long)buffer[7];
+       if (size == 0) size = 64;
        if (fseek(file, size, SEEK_SET)) pexit("fseek");
 
        if (fread(buffer, 8, 1, file) != 1) return 1;

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ