OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: postmap can't always find keys

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Mon Nov 26 2007 - 15:32:31 CST


On Montag, 26. November 2007, Kirk Strauser wrote:

> > Check with db_dump what the difference of these databases is. db_dump is
> > a tool from the Berkeley-Utilities. Maybe already installed on your
> > system.
>
> Here it is:
>
> $ db_dump-4.4 virtual.db
> VERSION=3
> format=bytevalue
> type=hash
> h_nelem=4150
> db_pagesize=4096
> HEADER=END
> [lots of hex]

"db_dump -p" will print ascii-Data.

> DATA=END
>
> $ db_dump-4.4 sasldb2
> Password:
> VERSION=3
> format=bytevalue
> type=hash
> h_nelem=47
> db_pagesize=4096
> HEADER=END
> [lots of hex]
> DATA=END
>
> Other than h_nelem (number of elements?), they look similar.

--
        Andreas