ntdb: get number of records present
Rusty Russell
rusty at ozlabs.org
Sun Oct 7 23:44:00 MDT 2012
Jeremy Allison <jra at samba.org> writes:
> On Thu, Oct 04, 2012 at 11:01:34PM +0200, Bartosz Marcinkiewicz wrote:
>> Hello,
>>
>> How do I get number of records present in NTDB (without traversing whole
>> database) ?
>
> I don't think tdb keeps a record count.
No it doesn't, so you'd need a traverse.
Or keep your own, manual record count in a separate record, of course.
Cheers,
Rusty.
More information about the samba-technical
mailing list