tdbexport (was Re: Working on LDAP support in HEAD)

Jeremy Allison jeremy at valinux.com
Wed May 17 00:34:15 GMT 2000


Tim Potter wrote:

> I've been thinking about this - currently there's no way to
> determine the type of some data stored in a tdb.  So I think it
> is therefore impossible to write a tdb exporter that can handle
> byte-ordering dependencies as this information is not stored in
> the tdb!
>

There are tricks to deal with this - store a 2 byte int
of a known value, extract it and then check the ordering.

So long as you know the type of the data stored in a tdb
(and you must do or you couldn't interpret it on extract)
then it should be ok.

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list