Hi Simo,
On Wed, Feb 8, 2012 at 8:35 PM, Simo Sorce <simo(a)redhat.com> wrote:
On Wed, 2012-02-08 at 19:59 +0100, Marco Pizzoli wrote:
> Hi Sumit,
>
> On Wed, Feb 8, 2012 at 3:19 PM, Sumit Bose <sbose(a)redhat.com> wrote:
> On Wed, Feb 08, 2012 at 03:09:08PM +0100, Marco Pizzoli wrote:
> > Hi guys,
> > as far as I read I have recognized that ldb files are a sort
> of ldap
> > databases.
> > Can I access this data with a user tool? ldapsearch -H
> ldapi:/// or
> > similar...
> >
> > My question is motivated only by curiosity. I'm interested
> in learning
> > "hands on" the data structure.
>
>
> The tool you are looking for is called ldbsearch and can be
> found in
> ldb-tools package.
>
> HTH
>
> Yes, it helped me a lot!
> Now I'm able to browser my cache db. Are you aware of a graphical tool
> (similar to PhpLdapAdmin or LdapAccountManager) which supports tdb
> databases?
No, at most you can use ldbedit, but be very careful.
As far as I can see, ldbedit is a raw datafile editor. Indeed I find that I
can manipulate the index definitions.
In what way can this help me in having a logic/tree visualization of the
tree?
Another couple of questions on this topic:
- ldb files are concurrency safe? What if I ldbmodify a file.ldb while it
is already open by (let's say) another ldbmodify?
- *just for experimenting*: is there a native way to possibly import the
ldif produced from ldbsearch in a real LDAP server? Does native standard
ldap schemas permit me to import/ldapadd objectClasses used by sssd ldb?
Thanks again
Marco