Web lists-archives.com

Re: [Samba] ldbreader.c example doesnt work




On Sat, 22 Sep 2018 01:48:16 +0200
Oliver Rath via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Hi list,
> 
> ive compiles the ldbreader example in samba-4.9 context and tested it
> with sam.ldb as database (and other). Always I get an error message:
> 
> ./ldbreader
> Aborted (core dumped)
> 
> In git I see, the code is from 2011, so it is probabably not useable
> anymore. Is there another working example in a non-python context for
> searching in ldb database?
> 

What's wrong with ldbsearch ?

If you are trying to write your own version, then have a look at:

lib/ldb/tools/ldbsearch.c

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba